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.
Work in progress.
<Medication xmlns="http://hl7.org/fhir"> <id value="adrenalin" /> <meta> <profile value="https://fhir.ee/StructureDefinition/ee-tis-medication-epc" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <extension url="https://fhir.ee/StructureDefinition/medicinal-product-classification"> <valueCodeableConcept> <coding> <system value="https://fhir.ee/CodeSystem/atc" /> <code value="C01CA24" /> <display value="Epinefriin" /> </coding> </valueCodeableConcept> </extension> <extension url="https://fhir.ee/StructureDefinition/ee-tis-size-of-item"> <valueQuantity> <value value="1" /> <system value="https://fhir.ee/CodeSystem/retsept-mahu-ja-massiyhik" /> <code value="ml" /> </valueQuantity> </extension> <extension url="https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name"> <valueString value="Adrenaliin" /> </extension> <doseForm> <coding> <system value="https://fhir.ee/CodeSystem/ravimvormid" /> <code value="739" /> <display value="süstelahus" /> </coding> </doseForm> <totalVolume> <value value="5" /> </totalVolume> <ingredient> <item> <concept> <coding> <system value="https://fhir.ee/CodeSystem/toimeained" /> <code value="8554" /> <display value="epinefriin" /> </coding> </concept> </item> <isActive value="true" /> <strengthRatio> <numerator> <value value="1" /> <system value="https://fhir.ee/CodeSystem/retsept-mahu-ja-massiyhik" /> <code value="mg;" /> </numerator> <denominator> <value value="1.0" /> <system value="https://fhir.ee/CodeSystem/retsept-mahu-ja-massiyhik" /> <code value="ml" /> </denominator> </strengthRatio> </ingredient> </Medication>