Observation

The FHIR R4 Observation resource represents measurements, test results, assessments, and other discrete clinical findings. This includes vital signs, lab results, social history, and imaging interpretations. Observations are central to longitudinal patient records and are often imported from multiple external sources in Health Gorilla's network.

Use Cases

  • View a patient’s vitals, lab results, or imaging reports
  • Monitor trends in blood pressure, glucose, or cholesterol
  • Retrieve structured result values by LOINC code
  • Link observations to encounters or diagnostic reports

Base URLs

Authentication

All requests require OAuth 2.0 authentication using a Bearer Token. Unauthorized requests return 401 Unauthorized responses.

Required Scopes

  • observation.read for GET
  • observation.write for POST, PUT, DELETE

For more information, go to: OAuth 2.0 Authentication.

Supported Methods

MethodOperationDescription
GETRead ObservationRetrieves a specific Observation record by its FHIR ID.
GETSearch ObservationSearches for Observation records for a specified patient.
POSTCreate ObservationSubmits a new Observation record to the Health Gorilla FHIR server.
PUTUpdate ObservationUpdates an existing Observation record by full resource replacement.
DELETEDelete ObservationRemoves an existing Observation record from the system by full deletion.

Search Parameters

Observation supports two search forms, and a request must satisfy one of them:

  • Search by patient: provide patient.
  • Search across patients: provide both category and _lastUpdated.
ParameterRequiredDescription
patientRequired in the patient searchThe patient whose observations you want, as Patient/{id}. You can also search by a patient identifier using patient.identifier.
categoryRequired in the cross-patient searchFilters on the observation category, for example laboratory or vital-signs.
_lastUpdatedRequired in the cross-patient searchFilters on when the record was last written in the Health Gorilla FHIR server. Accepts a comparison prefix, for example ge2025-01-01.
codeNoFilters on the observation code.
dateNoFilters on the clinical date the observation applies to, Observation.effective.
encounterNoReturns observations recorded during the given encounter, as Encounter/{id}.
_offsetNoSkips the given number of results.
_countNoLimits the number of results returned per page.
_tagNoFilters on meta.tag.
_securityNoFilters on meta.security.

The search also accepts _include=Observation:subject and _include=Observation:related-target to return referenced resources, and _revinclude=Provenance:target to return the Provenance records describing where the results came from.

Resource Attributes

AttributeDescriptionExample ValuesFHIR Data TypeRequired
idUnique FHIR ID for the observationobs-456789idYes
statusStatus of the observationfinalcodeYes
categoryBroad category of observationvital-signsCodeableConcept[]No
codeSpecific observation code55284-4 — Blood pressure panelCodeableConceptYes
subjectThe patient associated with the observationPatient/{id}Reference(Patient)Yes
effectiveDateTimeWhen the observation was made2024-03-01T08:00:00-07:00dateTimeYes
issuedTime when the observation was released2024-03-01T08:30:00-07:00instantNo
valueQuantityMeasurement result (numerical)120 mmHgQuantityNo
valueCodeableConceptMeasurement result (coded text)Negative, ReactiveCodeableConceptNo
dataAbsentReasonWhy a value is missingnot-performed, unknownCodeableConceptNo
referenceRangeNormal range associated with the result80–120 mmHgObservation.ReferenceRange[]No
interpretationClinical interpretation of the resulthigh, normal, lowCodeableConcept[]No
performerWho performed or reported the observationPractitioner/{id}, Organization/{id}Reference[]No
noteComments or annotations"Patient was fasting"Annotation[]No

Webhooks

Clients can subscribe to webhook notifications when new observations are added to a patient’s chart (e.g., lab results, vitals). Webhooks may also trigger on updates to existing records depending on client configuration.

For more information, go to: Webhooks & Polling.

Error Handling

All Observation operations follow standard Health Gorilla error handling, including use of FHIR OperationOutcome for structured responses.
For more information, go to: Error Handling.

Additional Resources

HL7 FHIR Observation