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.
<DiagnosticReport xmlns="http://hl7.org/fhir"> <id value="core-examples-DiagnosticReport-example251" /> <meta> <versionId value="3" /> <lastUpdated value="2016-09-08T12:23:24.819+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <contained> <DiagnosticOrder> <id value="req" /> <subject> <reference value="Patient/139" /> </subject> <reason> <text value="89/M Collapsed, Low Bp" /> </reason> </DiagnosticOrder> </contained> <identifier> <system value="http://acme.com/lab/reports" /> <value value="12Z986883-1625846433" /> </identifier> <status value="final" /> <code> <text value="Routine Coagulation" /> </code> <subject> <reference value="Patient/139" /> </subject> <effectiveDateTime value="2012-04-05T19:24:00Z" /> <issued value="2012-04-05T19:24:00+00:00" /> <performer> <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" /> <display value="Acme Laboratory, Inc" /> </performer> <request> <reference value="#req" /> </request> </DiagnosticReport>