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.
<VisionPrescription xmlns="http://hl7.org/fhir"> <id value="core-examples-VisionPrescription-example" /> <meta> <versionId value="1" /> <lastUpdated value="2016-09-08T11:38:34.978+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <identifier> <system value="http://www.happysight.com/prescription" /> <value value="15013" /> </identifier> <dateWritten value="2014-06-15" /> <patient> <reference value="Patient/example" /> </patient> <prescriber> <reference value="Practitioner/example" /> </prescriber> <dispense> <product> <system value="http://hl7.org/fhir/ex-visionprescriptionproduct" /> <code value="lens" /> </product> <eye value="right" /> <sphere value="-2.00" /> <prism value="0.5" /> <base value="down" /> <add value="2.00" /> </dispense> <dispense> <product> <system value="http://hl7.org/fhir/ex-visionprescriptionproduct" /> <code value="lens" /> </product> <eye value="left" /> <sphere value="-1.00" /> <cylinder value="-0.50" /> <axis value="180" /> <prism value="0.5" /> <base value="up" /> <add value="2.00" /> </dispense> </VisionPrescription>