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="eicr-pregnancy-status-eve-everywoman" /> <meta> <versionId value="1" /> <lastUpdated value="2018-09-29T16:45:08.719-04:00" /> <profile value="http://hl7.org/fhir/us/ecr/StructureDefinition/pregnancy-status" /> </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="82810-3" /> <display value="Pregnancy status" /> </coding> </code> <subject> <reference value="Patient/ecr-patient-eve-everywoman" /> <display value="Eve Everywoman" /> </subject> <effectivePeriod> <start value="2016-01-01" /> </effectivePeriod> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct" /> <code value="60001007" /> <display value="Not pregnant (finding)" /> </coding> </valueCodeableConcept> </Observation>