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="POWER2DM-Observation-example15" /> <meta> <versionId value="1" /> <lastUpdated value="2016-08-31T13:37:24.45+00:00" /> <profile value="http://www.power2dm.eu/pds/StructureDefinition/POWER2DM_PersonalValue" /> </meta> <status value="final" /> <category> <coding> <system value="http://snomed.info/sct" /> <code value="31614008" /> <display value="Personal Motivation" /> </coding> </category> <code> <coding> <system value="http://power2dm.eu/" /> <code value="hobbies" /> <display value="Related with hobbies" /> </coding> </code> <subject> <reference value="Patient/231321" /> </subject> <effectiveDateTime value="2016-08-25" /> <component> <code> <coding> <system value="http://snomed.info/sct" /> <code value="31614008" /> <display value="Personal Motivation" /> </coding> </code> <valueCodeableConcept> <text value="Like to go to cinema with family and want to maintain this hobby." /> </valueCodeableConcept> </component> <component> <code> <coding> <system value="http://snomed.info/sct" /> <code value="247752005" /> <display value="Level of Interest" /> </coding> </code> <valueQuantity> <value value="7.0" /> </valueQuantity> </component> <component> <code> <coding> <system value="http://snomed.info/sct" /> <code value="406193000" /> <display value="Contentment (Satisfaction)" /> </coding> </code> <valueQuantity> <value value="8.0" /> </valueQuantity> </component> </Observation>