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"> <meta> <profile value="https://posithera.de/fhir/StructureDefinition/WoundSize" /> </meta> <status value="final" /> <category> <coding> <system value="http://hl7.org/fhir/ValueSet/observation-category" /> <code value="exam" /> </coding> </category> <code> <coding> <system value="http://loinc.org" /> <code value="72287-6" /> <display value="Wound size panel" /> </coding> </code> <subject> <reference value="Patient/example" /> </subject> <focus> <reference value="Condition/woundExample" /> </focus> <effectiveDateTime value="2019-08-21" /> <component> <code> <coding> <system value="http://loinc.org" /> <code value="39126-8" /> <display value="Length of Wound" /> </coding> <coding> <system value="http://snomed.info/sct" /> <code value="401238003" /> <display value="Length of Wound" /> </coding> <text value="Wundlänge" /> </code> <valueQuantity> <value value="3.5" /> <unit value="cm" /> <system value="http://unitsofmeasure.org" /> <code value="cm" /> </valueQuantity> </component> <component> <code> <coding> <system value="http://loinc.org" /> <code value="39125-0" /> <display value="Width of Wound" /> </coding> <coding> <system value="http://snomed.info/sct" /> <code value="401239006" /> <display value="Width of wound" /> </coding> <text value="Wundbreite" /> </code> <valueQuantity> <value value="2.5" /> <unit value="cm" /> <system value="http://unitsofmeasure.org" /> <code value="cm" /> </valueQuantity> </component> <component> <code> <coding> <system value="http://loinc.org" /> <code value="39114-4" /> <display value="Depth of wound" /> </coding> <coding> <system value="http://snomed.info/sct" /> <code value="425094009" /> <display value="Depth of wound" /> </coding> <text value="Wundtiefe" /> </code> <valueQuantity> <value value="1.3" /> <unit value="cm" /> <system value="http://unitsofmeasure.org" /> <code value="cm" /> </valueQuantity> </component> <component> <code> <coding> <system value="http://loinc.org" /> <code value="89260-4" /> <display value="Area of Wound" /> </coding> <text value="Wundfläche" /> </code> <valueQuantity> <value value="7.0" /> <unit value="cm2" /> <system value="http://unitsofmeasure.org" /> <code value="cm2" /> </valueQuantity> </component> </Observation>