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="3c9d577c-5216-42fb-873c-96818b8f5e6b" /> <meta> <versionId value="1" /> <lastUpdated value="2021-03-12T10:54:04.126-05:00" /> <source value="#PYm1s7IOmQcC4MBf" /> <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" /> </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="5902-2" /> <display value="Prothrombin time (PT)" /> </coding> <text value="Prothrombin time (PT)" /> </code> <subject> <reference value="Patient/1d86bcfe-6359-4c82-add8-770fe8b14b50" /> </subject> <encounter> <reference value="Encounter/ba7f203d-7b71-4acb-a49b-673c5bfbe537" /> </encounter> <effectiveDateTime value="2020-03-17T19:34:17-04:00" /> <issued value="2020-03-17T19:34:17.901-04:00" /> <valueQuantity> <value value="11.851" /> <unit value="s" /> <system value="http://unitsofmeasure.org" /> <code value="s" /> </valueQuantity> </Observation>