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="core-examples-Observation-example49" /> <meta> <versionId value="1" /> <lastUpdated value="2016-09-08T11:58:32.42+00:00" /> </meta> <text> <status value="generated" /> --- We have skipped the narrative for better readability of the resource --- </text> <identifier> <system value="https://intranet.aumc.nl/labvalues" /> <value value="1304-03720-eGFR" /> </identifier> <status value="final" /> <code> <coding> <system value="http://loinc.org/" /> <code value="33914-3" /> <display value="Glomerular filtration rate/1.73 sq M.predicted [Volume Rate/Area] in Serum or Plasma by Creatinine-based formula (MDRD)" /> </coding> </code> <subject> <reference value="Patient/f201" /> <display value="Roel" /> </subject> <issued value="2013-04-04T14:34:00+01:00" /> <performer> <reference value="Practitioner/f202" /> <display value="Luigi Maas" /> </performer> <interpretation> <text value="interpretation of results should be assigned based upon the level of kindey function" /> </interpretation> <comments value="GFR estimating equations developed by the Modification of Diet in Renal Disease (MDRD) Study Group and the Chronic Kidney Disease Epidemiology Collaboration (CKD-EPI)...." /> <method> <coding> <system value="http://snomed.info/id" /> <code value="702668005" /> <display value="MDRD" /> </coding> </method> <component> <code> <coding> <system value="http://loinc.org/" /> <code value="48643-1" /> <display value="Glomerular filtration rate/1.73 sq M predicted among blacks [Volume Rate/?Area] in Serum or Plasma by Creatinine-based formula (MDRD)" /> </coding> </code> <valueQuantity> <value value="60" /> <comparator value=">" /> <unit value="mL/min/1.73m2" /> <system value="http://unitsofmeasure.org/" /> <code value="mL/min/{1.73_m2}" /> </valueQuantity> <referenceRange> <low> <value value="60" /> <unit value="mL/min/1.73m2" /> <system value="http://unitsofmeasure.org/" /> <code value="mL/min/{1.73_m2}" /> </low> <age> <low> <value value="18" /> <unit value="yrs" /> <system value="http://unitsofmeasure.org/" /> <code value="a" /> </low> </age> </referenceRange> </component> <component> <code> <coding> <system value="http://loinc.org/" /> <code value="48642-3" /> <display value="Glomerular filtration rate/1.73 sq M predicted among non-blacks [Volume Rate/Area] in Serum or Plasma by Creatinine-based formula (MDRD)" /> </coding> </code> <valueQuantity> <value value="60" /> <unit value="mL/min/1.73m2" /> <system value="http://unitsofmeasure.org/" /> <code value="mL/min/{1.73_m2}" /> </valueQuantity> <referenceRange> <low> <value value="60" /> <unit value="mL/min/1.73m2" /> <system value="http://unitsofmeasure.org/" /> <code value="mL/min/{1.73_m2}" /> </low> <age> <low> <value value="18" /> <unit value="yrs" /> <system value="http://unitsofmeasure.org/" /> <code value="a" /> </low> </age> </referenceRange> </component> </Observation>