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.
<Schedule xmlns="http://hl7.org/fhir"> <id value="a2aea64f-f6d7-4ce7-85e0-f7dc80c21f86" /> <meta> <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-schedule-1" /> </meta> <extension url="https://fhir.nhs.uk/StructureDefinition/extension-gpconnect-practitioner-1"> <valueReference> <reference value="Practitioner/0fe255f4-2961-498b-8af8-7fb79b63ce60" /> </valueReference> </extension> <identifier> <system value="https://fhir.nhs.uk/Id/gpconnect-schedule-identifier" /> <value value="Schedule002" /> </identifier> <type> <text value="Medical specialty--OTHER--NOT LISTED" /> </type> <actor> <reference value="Location/bc028c12-891d-4256-89c2-78bc1cfe7ea7" /> <display value="Antenatal Clinic" /> </actor> <planningHorizon> <start value="2015-09-01T08:00:00+00:00" /> <end value="2015-09-01T17:00:00+00:00" /> </planningHorizon> <comment value="This schedule is for Antenatal Clinic appointments at Charles Street Surgery." /> </Schedule>