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="2.16.840.1.113883.2.4.3.11.60.40.3.12.6" /> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <status value="registered" /> <category> <coding> <system value="http://hl7.org/fhir/observation-category" /> <code value="vital-signs" /> <display value="Vital Signs" /> </coding> </category> <code> <coding> <system value="http://loinc.org" /> <code value="8310-5" /> <display value="Body temperature" /> </coding> </code> <subject> <reference value="Patient" /> </subject> <effectiveDateTime value="2017-05-09T15:17:57+02:00" /> <component> <code> <coding> <system value="http://loinc.org" /> <code value="8310-5" /> </coding> </code> <valueQuantity id="NL-CM:12.6.2"> <value value="70" /> <unit value="°C" /> <system value="http://unitsofmeasure.org" /> <code value="[cel]" /> </valueQuantity> </component> </Observation>