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="BloodPressureObservation Instance Example" /> <meta> <profile value="http://hl7.org/fhir/us/bser/StructureDefinition/BloodPressureObservation" /> </meta> <status value="final" /> <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="85354-9" /> <display value="Blood pressure panel with all children optional" /> </coding> </code> <effectiveDateTime value="2018-09-28" /> <component> <code> <coding> <system value="http://loinc.org" /> <code value="8480-6" /> <display value="Systolic blood pressure" /> </coding> </code> <valueQuantity> <value value="120" /> <unit value="mmHg" /> <system value="http://unitsofmeasure.org" /> <code value="mm[Hg]" /> </valueQuantity> </component> <component> <code> <coding> <system value="http://loinc.org" /> <code value="8462-4" /> <display value="Diastolic blood pressure" /> </coding> <text value="Diastolic blood pressure" /> </code> <valueQuantity> <value value="80" /> <unit value="mmHg" /> <system value="http://unitsofmeasure.org" /> <code value="mm[Hg]" /> </valueQuantity> </component> </Observation>