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.
<Medication xmlns="http://hl7.org/fhir"> <id value="mii-de-medication-example-1" /> <meta> <profile value="http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips" /> </meta> <identifier> <system value="http://example.com/mymedcodes" /> <value value="mii-med-1" /> </identifier> <code> <coding> <system value="http://fhir.de/CodeSystem/ifa/pzn" /> <code value="06312077" /> <display value="ASS 100 - 1a Pharma TAH Tabletten" /> </coding> <coding> <system value="http://fhir.de/CodeSystem/dimdi/atc" /> <code value="B01AC06" /> <display value="acetylsalicylic acid" /> </coding> </code> <form> <coding> <system value="http://standardterms.edqm.eu" /> <code value="10219000" /> <display value="Tablet" /> </coding> </form> <ingredient> <itemCodeableConcept> <coding> <system value="http://fhir.de/CodeSystem/ask" /> <code value="00002" /> <display value="Acetylsalicylsäure" /> </coding> </itemCodeableConcept> <strength> <numerator> <value value="100" /> <unit value="milligram" /> <system value="http://unitsofmeasure.org" /> <code value="mg" /> </numerator> <denominator> <value value="1" /> <unit value="tablet" /> <system value="http://unitsofmeasure.org" /> <code value="{tablet}" /> </denominator> </strength> </ingredient> </Medication>