FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.
<Observation xmlns="http://hl7.org/fhir"> <id value="aed6f48f-9a73-49e4-bfbe-4a6b9b67b9ef" /> <meta> <versionId value="1" /> <lastUpdated value="2021-03-12T10:53:38.611-05:00" /> <source value="#Ekl0bxZEvVDy25Sx" /> </meta> <status value="final" /> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> <code value="laboratory" /> <display value="laboratory" /> </coding> </category> <code> <coding> <system value="http://loinc.org" /> <code value="2132-9" /> <display value="Cobalamin (Vitamin B12) [Mass/volume] in Serum or Plasma" /> </coding> <text value="Cobalamin (Vitamin B12) [Mass/volume] in Serum or Plasma" /> </code> <subject> <reference value="Patient/80bdf638-377b-4bea-bbc2-0b337699e6a4" /> </subject> <encounter> <reference value="Encounter/29b2a65f-e1ca-4253-9452-17156a7d681d" /> </encounter> <effectiveDateTime value="2020-03-01T14:39:45-05:00" /> <issued value="2020-03-01T14:39:45.361-05:00" /> <valueQuantity> <value value="684.23" /> <unit value="pg/mL" /> <system value="http://unitsofmeasure.org" /> <code value="pg/mL" /> </valueQuantity> </Observation>