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.
<Practitioner xmlns="http://hl7.org/fhir"> <id value="core-examples-Practitioner-example8" /> <meta> <versionId value="5" /> <lastUpdated value="2016-09-08T12:21:52.506+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <identifier> <system value="http://www.acme.org/practitioners" /> <value value="23" /> </identifier> <name> <family value="Careful" /> <given value="Adam" /> <prefix value="Dr" /> </name> <practitionerRole> <managingOrganization> <reference value="Organization/1" /> </managingOrganization> <role> <coding> <system value="http://hl7.org/fhir/v2/0286" /> <code value="RP" /> </coding> </role> <period> <start value="2012-01-01" /> <end value="2012-03-31" /> </period> </practitionerRole> </Practitioner>