R4 Observation
The Observation resource provides "measurements and simple assertions made about a patient, device or other subject".
Supported Profiles
This API supports the following FHIR profiles:
Operations
The Certified API Observation resource supports the following standard operations. However, support varies by the targeted CareRecord or solution.
| CareRecord / Solution | Create | Read | Update | Search |
|---|---|---|---|---|
| GEHRIMED | - | Yes | - | Yes |
| myAvatar | Yes | Yes | Yes | Yes |
| myEvolv | - | Yes | - | Yes |
| myUnity | - | Yes | - | Yes |
Search
info
Not all Netsmart solutions support Observation search. See supported operations table above and consult your target solution's documentation for more information.
This operation retrieves a list of resources by these query parameters.
Standard Parameters
info
Although marked as optional, this API requires either a category or code be provided with the search.
| Name | Type | Description |
|---|---|---|
| patient | reference | REQUIRED The subject that the observation is about (if patient) |
| category | token | The classification of the type of observation |
| code | token | The code of the observation type |
| date | date | Obtained date/time. If the obtained element is a period, a date that falls in the period. |
| encounter | reference | Encounter related to the observation |
Search Examples
Via POST
The POST method is recommended as it keeps health information out of the URL.
- Production
- Preview
Search by Patient and Code
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"
Search by Patient and Code
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"
Via GET
- Production
- Preview
Search by Patient and Code
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"
Search by Patient and Code
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"