In FHIR STU3 standard, Observation
resource is designed as a type of event resource describing, measurements and simple assertions made about a
patient, device or other subject. For vital signs, we are using this resource.
Using Observation
resource defined in FHIR, CCDS element as Smoking Status and Vital Signs are concluded utilizing this resource.
Required or some important fields and parameters would be given in the following tables. Operations and parameters of this resource would also be listed.
Resource Element Fields
Name | Description | Type |
---|---|---|
identifier | The identifier for this specific observation | Identifier |
status | The status code | code (ObservationStatus) |
category | Classification of type of observation | CodeableConcept (Observation Category Codes) |
code | Type of observation | CodeableConcept (LOINC Codes) |
subject | Who and/or what this is about | Reference (Patient | Group | Device | Location) |
effective | Clinically relevant time/time-period for observation | effectiveDateTime: dateTime, effectivePeriod: Period |
value | The result of the observation |
valueQuantity: Quantity valueCodeableConcept: CodeableConcept valueString: string valueBoolean: boolean valueRange: Range valueRatio: Ratio valueSampledData: SampledData valueAttachment: Attachment valueTime: time valueDateTime: dateTime valuePeriod: Period |
referenceRange | Provides guide for interpretation |
low: SimpleQuantity high: SimpleQuantity type: CodeableConcept (Observation Reference Range Meaning Codes) appliesTo: CodeableConcept (Observation Reference Range Applies To Codes) age: Range text: string |
Get Vital Signs by Patient
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient={id}&category=http://hl7.org/fhir/observation-category|vital-signs
Example:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient=232&category=http://hl7.org/fhir/observation-category|vital-signs
Get Certain Type of Vital Sign
Here, all available parameter used is just the same as we would use in the previous category: Smoking Status, because they are basically derived from
one resource called Observation
.
A 'code' parameter is required to specify the type of the Vital Sign, height, for example. Its code is LOINC|8302-2
;
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient={id}&category=http://hl7.org/fhir/observation-category|vital-signs&code={code}
Example:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient=232&category=http://hl7.org/fhir/observation-category|vital-signs&code=LOINC|8302-2
Search Vital Signs on a Specific Date
The request format would be like:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient={id}&category=http://hl7.org/fhir/observation-category|vital-signs&date={dateTime}
Example:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient=66&category=http://hl7.org/fhir/observation-category|vital-signs&date=2015-07-22
Search Vital Signs in a Range of Date
The request format would be like:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient={id}&category=http://hl7.org/fhir/observation-category|vital-signs&date=>={dateTime}&date=<{dateTime (later than previous dateTime)}
Example:
GET https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?patient=66&category=http://hl7.org/fhir/observation-category|vital-signs&date=>=2015-07-21&date=<2015-08-31
{
"resourceType": "Bundle",
"id": "0d3ff344-df39-477c-87bb-4f246aaa28f3",
"meta": {
"lastUpdated": "2017-12-20T10:29:00.113-06:00"
},
"type": "searchset",
"total": 4,
"link": [
{
"relation": "self",
"url": "https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation?category=http%3A%2F%2Fhl7.org%2Ffhir%2Fobservation-category%7Cvital-signs&date=%3E%3D2015-07-21&date=%3C2015-08-31&patient=66"
}
],
"entry": [
{
"fullUrl": "https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation/80",
"resource": {
"resourceType": "Observation",
"id": "80",
"meta": {
"versionId": "1",
"lastUpdated": "2017-12-13T14:15:25.000-06:00"
},
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "LOINC",
"code": "8480-6",
"display": "Blood Pressure - Systolic"
}
]
},
"subject": {
"reference": "Patient/66"
},
"context": {
"reference": "Encounter/75"
},
"effectiveDateTime": "2015-07-22T15:10:00-04:00",
"valueQuantity": {
"value": 145,
"unit": "mm[Hg]"
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation/78",
"resource": {
"resourceType": "Observation",
"id": "78",
"meta": {
"versionId": "1",
"lastUpdated": "2017-12-13T14:15:25.000-06:00"
},
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "LOINC",
"code": "29463-7",
"display": "Weight"
}
]
},
"subject": {
"reference": "Patient/66"
},
"context": {
"reference": "Encounter/75"
},
"effectiveDateTime": "2015-07-22T15:05:00-04:00",
"valueQuantity": {
"value": 88,
"unit": "kg"
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation/77",
"resource": {
"resourceType": "Observation",
"id": "77",
"meta": {
"versionId": "1",
"lastUpdated": "2017-12-13T14:15:25.000-06:00"
},
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "LOINC",
"code": "8302-2",
"display": "Height"
}
]
},
"subject": {
"reference": "Patient/66"
},
"context": {
"reference": "Encounter/75"
},
"effectiveDateTime": "2015-07-22T15:05:00-04:00",
"valueQuantity": {
"value": 177,
"unit": "cm"
}
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://evalfhir.directmdemail.com/fhir/baseDstu3/Observation/79",
"resource": {
"resourceType": "Observation",
"id": "79",
"meta": {
"versionId": "1",
"lastUpdated": "2017-12-13T14:15:25.000-06:00"
},
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "LOINC",
"code": "8462-4",
"display": "Blood Pressure - Diastolic"
}
]
},
"subject": {
"reference": "Patient/66"
},
"context": {
"reference": "Encounter/75"
},
"effectiveDateTime": "2015-07-22T15:10:00-04:00",
"valueQuantity": {
"value": 88,
"unit": "mm[Hg]"
}
},
"search": {
"mode": "match"
}
}
]
}