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.
<DeviceComponent xmlns="http://hl7.org/fhir"> <id value="core-examples-DeviceComponent-example" /> <meta> <versionId value="1" /> <lastUpdated value="2016-09-08T11:58:20.381+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <contained> <Device> <id value="d1" /> <identifier> <type> <coding> <system value="http://hl7.org/fhir/identifier-type" /> <code value="SNO" /> </coding> </type> <value value="ID 13.1" /> </identifier> <identifier> <type> <text value="Global Medical Device Nomenclature" /> </type> <system value="urn:iso:std:iso:11073:10101" /> <value value="2000" /> </identifier> <type> <coding> <system value="urn:iso:std:iso:11073:10101" /> <code value="2000" /> <display value="MDC_DEV_ANALY_SAT_O2_MDS" /> </coding> </type> <manufacturer value="Center4MI" /> <model value="2-0-14" /> </Device> </contained> <type> <coding> <system value="urn:iso:std:iso:11073:10101" /> <code value="2000" /> <display value="MDC_DEV_ANALY_SAT_O2_MDS" /> </coding> </type> <identifier> <type> <text value="Handle ID" /> </type> <value value="0" /> </identifier> <lastSystemChange value="2014-10-07T14:45:00+00:00" /> <source> <reference value="#d1" /> </source> <operationalStatus> <coding> <system value="urn:iso:std:iso:11073:10101" /> <code value="0" /> <display value="disconnected" /> </coding> </operationalStatus> <languageCode> <coding> <system value="http://tools.ietf.org/html/bcp47" /> <code value="en-US" /> </coding> </languageCode> </DeviceComponent>