Observation
Overview
The Observation resource provides measurements and simple assertions made about a patient, device, or other subject. This includes vital signs, laboratory results, and other clinical observations that are fundamental to patient care.
Resource Schema
Key fields in the Observation resource:
{
"resourceType": "Observation",
"id": "example-observation-123",
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "2708-6",
"display": "Oxygen saturation in Arterial blood"
}
]
},
"subject": {
"reference": "Patient/123456"
},
"valueQuantity": {
"value": 98,
"unit": "%",
"system": "http://unitsofmeasure.org",
"code": "%"
}
}
Operations
The Observation resource supports Read and Search operations. Support varies by CareRecord solution.
| CareRecord / Solution | Read | Search |
|---|---|---|
| GEHRIMED | ✅ | ✅ |
| myAvatar | ✅ | ✅ |
| myEvolv | ✅ | ✅ |
| myUnity | ✅ | ✅ |
| TheraOffice | ✅ | ✅ |
Read
Retrieves a specific Observation resource by ID.
HTTP Method: GET
URL: /Observation/{id}
Examples
- Production
- Preview
curl -X GET https://fhir.netsmartcloud.com/uscore/v1/Observation/123456 \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json"
curl -X GET https://fhirtest.netsmartcloud.com/uscore/v1/Observation/123456 \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json"
Search
Retrieves Observation resources matching specified criteria.
HTTP Method: GET or POST
URL: /Observation or /Observation/_search
Search Parameters
Patient-based Search:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
patient | reference | Yes | REQUIRED The subject that the observation is about (if patient) | patient=value |
category | token | No | The classification of the type of observation | category=value |
code | token | No | The code of the observation type | code=value |
date | date | No | Obtained date/time. If the obtained element is a period, a date that falls in the period. | date=value |
encounter | reference | No | Encounter related to the observation | encounter=value |
page | string | No | Zero-based page index | page=value |
_revinclude | special | No | Include Provenance resource(s) that reference the matched search results. Allowed: "Provenance:target" | _revinclude=value |
ID-based Search:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
category | token | No | The classification of the type of observation | category=value |
code | token | No | The code of the observation type | code=value |
date | date | No | Obtained date/time. If the obtained element is a period, a date that falls in the period. | date=value |
encounter | reference | No | Encounter related to the observation | encounter=value |
page | string | No | Zero-based page index | page=value |
_revinclude | special | No | Include Provenance resource(s) that reference the matched search results. Allowed: "Provenance:target" | _revinclude=value |
Examples
POST Method (Recommended)
The POST method keeps sensitive information out of URL logs.
- Production
- Preview
curl -X POST https://fhir.netsmartcloud.com/uscore/v1/Observation/_search \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/147" \
-d "code=2708-6"
curl -X POST https://fhirtest.netsmartcloud.com/uscore/v1/Observation/_search \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/147" \
-d "code=2708-6"
GET Method
- Production
- Preview
curl -X GET "https://fhir.netsmartcloud.com/uscore/v1/Observation?patient=Patient/147&code=2708-6" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json"
curl -X GET "https://fhirtest.netsmartcloud.com/uscore/v1/Observation?patient=Patient/147&code=2708-6" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/fhir+json"
Integration Patterns
Common Workflows
- Vital Signs Retrieval - Search by patient and category for vital signs
- Lab Results - Search by patient and code for specific laboratory tests
- Trending Data - Use date ranges to track observations over time
Relationships to Other Resources
The Observation resource relates to several other resources:
- Patient - Subject of the observation
- Encounter - Healthcare encounter when observation was made
- Practitioner - Who performed or recorded the observation
- DiagnosticReport - May reference related observations
Error Handling
For common errors and troubleshooting guidance, see Common Errors.
Supported Profiles
Profiles supported by this resource (as defined in the CapabilityStatement):
- HL7 FHIR R4 Observation
- HL7 FHIR Body Height
- HL7 FHIR Body Temperature
- HL7 FHIR Body Weight
- HL7 FHIR Blood Pressure
- HL7 FHIR Heart Rate
- HL7 FHIR Respiration Rate
- US Core Head Occipital Frontal Circumference Percentile
- US Core Observation Lab
- US Core Pediatric BMI for Age
- US Core Pediatric Weight for Height
- US Core Pulse Oximetry
- US Core Smoking Status