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.
<Patient xmlns="http://hl7.org/fhir"> <id value="a5e62b33-943c-44f6-ad11-f7d068b623d6" /> <meta> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPatient" /> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationValue" /> <code value="SUBSETTED" /> </security> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" /> <code value="DEMO" /> </security> <security> <system value="http://hl7.se/fhir/ig/base/CodeSystem/SecurityLabel" /> <code value="sekretessmarkering" /> </security> <tag> <display value="Fetch Patient with protected identity" /> </tag> <tag> <display value="An instance of Patient" /> </tag> <tag> <display value="fetch-patient-example-2" /> </tag> </meta> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLPopulationRegistered"> <valueCoding> <system value="http://ehalsomyndigheten.se/fhir/CodeSystem/library" /> <code value="YES" /> </valueCoding> </extension> <identifier> <system value="http://electronichealth.se/identifier/personnummer" /> <value value="199505112384" /> </identifier> <active value="true" /> <name> <text value="Personuppgift skyddad" /> </name> <deceasedBoolean value="false" /> </Patient>