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.
<Observation xmlns="http://hl7.org/fhir"> <id value="TobaccoUseContributedToDeath" /> <meta> <profile value="http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/sdr-causeOfDeath-TobaccoUseContributedToDeath" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <status value="final" /> <code> <coding> <system value="http://loinc.org" /> <code value="69443-0" /> <display value="Did tobacco use contribute to death" /> </coding> </code> <subject> <reference value="Patient/Decedent" /> </subject> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/v3/NullFlavor" /> <code value="UNK" /> <display value="Unknown" /> </coding> </valueCodeableConcept> </Observation>