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.
<QuestionnaireResponse xmlns="http://hl7.org/fhir"> <meta> <lastUpdated value="2021-10-11T15:23:30.8185338+00:00" /> <profile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse" /> </meta> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason"> <valueCodeableConcept> <text value="Pre Triage Sieve Questionnaire" /> </valueCodeableConcept> </extension> <questionnaire value="https://fhir.nhs.uk/Questionnaire/PTS" /> <status value="completed" /> <subject> <reference value="Patient/41e591ab-d333-4fb8-87b4-d35f740b6bfc" /> </subject> <encounter> <reference value="Ecounter/05f85045-4627-49f6-821e-b69468356cff" /> </encounter> <authored value="2023-12-20T12:18:00+00:00" /> <author> <reference value="Practitioner/7d948662-bade-450e-b6c5-9bb6ee39cb56" /> </author> <source> <reference value="Patient/41e591ab-d333-4fb8-87b4-d35f740b6bfc" /> </source> <item> <linkId value="0" /> <text value="Is the patient breathing?" /> <answer> <valueCoding> <system value="http://snomed.info/sct" /> <code value="78064003" /> <display value="Breathing (observable entity)" /> </valueCoding> </answer> </item> <item> <linkId value="1" /> <text value="Is the patient awake (conscious)?" /> <answer> <valueCoding> <system value="http://snomed.info/sct" /> <code value="428913001" /> <display value="No loss of consciousness (situation)" /> </valueCoding> </answer> </item> <item> <linkId value="2" /> <text value="Is the patient breathing?" /> <answer> <valueCoding> <system value="http://snomed.info/sct" /> <code value="248573009" /> <display value="Noisy respiration (finding)" /> </valueCoding> </answer> </item> </QuestionnaireResponse>