Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
added beta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Surya-Rnsit committed Aug 24, 2023
1 parent b577291 commit d93b806
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 22 deletions.
8 changes: 4 additions & 4 deletions content/millennium/r4/clinical/diagnostics/observation.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ _Note_:
<%= json(:R4_OBSERVATION_CREATE) %>

#### Vitals - Blood Pressure Body Example

<%= beta_tag(action: true) %>
<%= json(:R4_OBSERVATION_BP_CREATE) %>

#### Vitals - Pulse Oximetry Body Example

<%= beta_tag(action: true) %>
<%= json(:R4_OBSERVATION_PO_CREATE) %>

#### Labs Body Example
Expand Down Expand Up @@ -358,15 +358,15 @@ _Note_:
PUT https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Observation/BP-59857018-59857020

#### Vitals - Blood Pressure Body Example

<%= beta_tag(action: true) %>
<%= json(:R4_OBSERVATION_VITALS_BP_UPDATE) %>

#### Request

PUT https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Observation/VS-CV-78693473-SECT-8098

#### Vitals - Pulse Oximetry Body Example

<%= beta_tag(action: true) %>
<%= json(:R4_OBSERVATION_VITALS_PO_UPDATE) %>

#### Response
Expand Down
74 changes: 58 additions & 16 deletions lib/resources/example_json/r4_examples_observation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1472,14 +1472,14 @@ module Resources

R4_OBSERVATION_VITALS_PO_UPDATE ||= {
"resourceType": 'Observation',
"id": 'VS-197356031',
"id": 'VS-CV-83059963-SECT-8098',
"identifier": [
{
"system": 'https://fhir.cerner.com/ceuuid',
"value": 'CE87caf4b7-9397-4667-9897-702218017c9e-197356031-2021061619245900'
"system": 'https://fhir.cerner.com/cvuuid',
"value": '8344a9b7-b1b7-406e-b303-1009edd66459'
}
],
"status": 'corrected',
"status": 'amended',
"category": [
{
"coding": [
Expand All @@ -1495,22 +1495,26 @@ module Resources
"code": {
"coding": [
{
"system": 'https://fhir.cerner.com/d242a518-4074-4bd4-a3a6-adfe0c5c1c51/codeSet/72',
"code": '703558',
"display": 'Temperature Oral',
"userSelected": true
"system": 'http://loinc.org',
"code": '2708-6',
"display": 'Oxygen saturation in Arterial blood'
},
{
"system": 'http://loinc.org',
"code": '59408-5',
"display": 'Oxygen saturation in Arterial blood by Pulse oximetry'
}
],
"text": 'Temperature Oral'
"text": 'SpO2'
},
"subject": {
"reference": 'Patient/12457979'
},
"encounter": {
"reference": 'Encounter/97787491'
},
"effectiveDateTime": '2020-07-04T07:15:00.000Z',
"issued": '2021-05-06T20:07:14.000Z',
"effectiveDateTime": '2022-06-05T08:00:38.022Z',
"issued": '2022-06-05T08:00:56Z',
"performer": [
{
"extension": [
Expand All @@ -1528,15 +1532,53 @@ module Resources
"url": 'http://hl7.org/fhir/StructureDefinition/event-performerFunction'
}
],
"reference": 'Practitioner/1'
"reference": 'Practitioner/15441459'
}
],
"valueQuantity": {
"value": 123,
"unit": 'mmHg',
"value": 44,
"unit": '%',
"system": 'http://unitsofmeasure.org',
"code": 'mm[Hg]'
}
"code": '%'
},
"component": [
{
"code": {
"coding": [
{
"system": 'http://loinc.org',
"code": '3151-8',
"display": 'Inhaled oxygen flow rate'
}
],
"text": 'Oxygen Flow Rate'
},
"valueQuantity": {
"value": 55,
"unit": 'L/min',
"system": 'http://unitsofmeasure.org',
"code": 'L/min'
}
},
{
"code": {
"coding": [
{
"system": 'http://loinc.org',
"code": '3150-0',
"display": 'Inhaled oxygen concentration'
}
],
"text": 'FIO2'
},
"valueQuantity": {
"value": 66,
"unit": '%',
"system": 'http://unitsofmeasure.org',
"code": '%'
}
}
]
}.freeze

R4_OBSERVATION_REVINCLUDE_BUNDLE ||= {
Expand Down
4 changes: 2 additions & 2 deletions lib/resources/r4/observation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ fields:
</ul>
<ul>
<li> Laboratory support `valueQuantity`, `valueCodeableConcept`, `valueString` and `valueDateTime`. </li>
<li> Laboratory support `valueQuantity`, `valueCodeableConcept`, `valueString`, `valueAttachment` and `valueDateTime`. </li>
</ul>
url: https://hl7.org/fhir/R4/observation-definitions.html#Observation.value[x]

Expand Down Expand Up @@ -1107,7 +1107,7 @@ fields:
info_link: https://hl7.org/fhir/R4/valueset-data-absent-reason.html

- name: component
required: 'no'
required: 'No'
type: List of BackboneElement
description:
Some observations have multiple component observations. These component observations are expressed as separate code
Expand Down

0 comments on commit d93b806

Please sign in to comment.