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.
<Location xmlns="http://hl7.org/fhir"> <id value="5f469508-03b3-4c32-919c-caf177221081" /> <meta> <profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-GPC-Location-1" /> </meta> <identifier> <system value="https://fhir.nhs.uk/Id/ods-site-code" /> <value value="RJZ46" /> </identifier> <name value="Haemotology Clinics" /> <description value="Haematology Clinics of Kings College Hospital" /> <type> <coding> <system value="http://hl7.org/fhir/v3/RoleCode" /> <code value="HEM" /> <display value="Hematology clinic" /> </coding> </type> <telecom> <system value="phone" /> <value value="02032999009" /> <use value="work" /> </telecom> <telecom> <system value="fax" /> <value value="02032993445" /> <use value="work" /> </telecom> <telecom> <system value="email" /> <value value="kch-tr.OutpatientAppointments@nhs.net" /> </telecom> <address> <use value="work" /> <line value="Denmark Hill" /> <city value="London" /> <postalCode value="SE59RS" /> <country value="GBR" /> </address> <physicalType> <coding> <system value="http://snomed.info/sct" /> <code value="310390009" /> <display value="Hospital clinic" /> </coding> </physicalType> <managingOrganization> <reference value="Organization/1474506e-609d-412e-952b-4bc74d769038" /> <display value="King's College Hospital" /> </managingOrganization> </Location>