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.
<MessageDefinition xmlns="http://hl7.org/fhir"> <id value="patient-form" /> <url value="https://fhir.lhcre.nhs.uk/MessageDefinition/patient-form" /> <identifier> <system value="https://fhir.lhcre.nhs.uk//MessageDefinition/" /> <value value="patient-form" /> </identifier> <version value="1.0.0" /> <title value="Submission of Patient Form" /> <status value="active" /> <date value="2020-07-16" /> <eventCoding> <system value="https://fhir.lhcre.nhs.uk/CodeSystem/message-event" /> <code value="patient-form" /> <display value="Patient Form" /> </eventCoding> <category value="consequence" /> <focus> <code value="QuestionnaireResponse" /> <min value="1" /> <max value="1" /> </focus> <focus> <code value="Patient" /> <profile value="https://fhir.lhcre.nhs.uk/StructureDefinition/LHCRE-Patient" /> <min value="1" /> <max value="1" /> </focus> </MessageDefinition>