Skip to main content
Compartments are a standardized way to ask for “resources related to X”.

Overview

FHIR compartments provide a way to logically group resources around a central concept like a Patient, Encounter, or Device. TLQ FHIR implements full compartment search functionality, allowing you to search for resources that belong to a specific compartment instance.

Try it

curl -H "Accept: application/fhir+json" \
  "http://localhost:8080/fhir/Patient/123/Observation"