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.
<AuditEvent xmlns="http://hl7.org/fhir"> <id value="core-examples-AuditEvent-example7" /> <meta> <versionId value="3" /> <lastUpdated value="2016-09-08T11:58:17.03+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <event> <type> <system value="http://nema.org/dicom/dicm" /> <code value="110106" /> <display value="Export" /> </type> <subtype> <system value="urn:oid:1.3.6.1.4.1.19376.1.2" /> <code value="ITI-32" /> <display value="Distribute Document Set on Media" /> </subtype> <action value="R" /> <dateTime value="2015-08-27T23:42:24+00:00" /> <outcome value="0" /> </event> <participant> <role> <coding> <system value="http://nema.org/dicom/dicm" /> <code value="110153" /> <display value="Source Role ID" /> </coding> </role> <userId> <value value="ExportToMedia.app" /> </userId> <requestor value="false" /> </participant> <participant> <userId> <value value="95" /> </userId> <altId value="601847123" /> <name value="Grahame Grieve" /> <requestor value="true" /> </participant> <participant> <name value="Media title: Hello World" /> <requestor value="false" /> <media> <system value="http://nema.org/dicom/dicm" /> <code value="110033" /> <display value="DVD" /> </media> </participant> <source> <identifier> <value value="hl7connect.healthintersections.com.au" /> </identifier> </source> <object> <identifier> <value value="e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" /> </identifier> <type> <system value="http://hl7.org/fhir/object-type" /> <code value="1" /> <display value="Person" /> </type> <role> <system value="http://hl7.org/fhir/object-role" /> <code value="1" /> <display value="Patient" /> </role> </object> <object> <identifier> <type> <coding> <system value="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd" /> <code value="IHE XDS Metadata" /> <display value="submission set classificationNode" /> </coding> </type> <value value="e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" /> </identifier> <type> <system value="http://hl7.org/fhir/object-type" /> <code value="2" /> <display value="System Object" /> </type> <role> <system value="http://hl7.org/fhir/object-role" /> <code value="20" /> <display value="Job" /> </role> </object> <object> <reference> <reference value="DocumentManifest/example" /> </reference> <type> <system value="http://hl7.org/fhir/object-type" /> <code value="2" /> <display value="System Object" /> </type> </object> </AuditEvent>