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="Observation-Fernmetastasen-example-1" /> <meta> <profile value="http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Observation-Fernmetastasen" /> </meta> <status value="final" /> <code> <coding> <system value="http://loinc.org" /> <code value="21907-1" /> </coding> </code> <subject> <reference value="Patient/Patient-Patient-example-1" /> </subject> <encounter> <reference value="Encounter/Encounter-Fall-example-1" /> </encounter> <effectiveDateTime value="2018-01-01" /> <!-- @TODO System vielleicht als FixeValue im Profil? --> <valueCodeableConcept> <coding> <system value="http://dktk.dkfz.de/fhir/onco/core/CodeSystem/JNUCS" /> <code value="J" /> </coding> </valueCodeableConcept> <bodySite> <coding> <system value="http://dktk.dkfz.de/fhir/onco/core/CodeSystem/FMLokalisationCS" /> <code value="PUL" /> <display value="Lunge" /> </coding> </bodySite> </Observation>