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="622" /> <meta> <profile value="http://devices.fhir.org/StructureDefinition/NumericObservation" /> </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="8867-4" /> <display value="Heart rate" /> </coding> <coding> <system value="urn:iso:std:iso:11073:10101" /> <code value="147842" /> <display value="MDC_ECG_CARD_BEAT_RATE" /> </coding> </code> <subject> <reference value="Patient/371" /> </subject> <effectiveDateTime value="2017-06-02T11:04:46+02:00" /> <valueQuantity> <value value="60" /> <unit value="bpm" /> <system value="http://unitsofmeasure.org" /> <code value="/min" /> </valueQuantity> <device> <reference value="DeviceMetric/215" /> </device> </Observation>