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.
<Bundle xmlns="http://hl7.org/fhir"> <id value="474f9708-4c06-5d48-925c-c5c811f2c4a2" /> <type value="message" /> <entry> <fullUrl value="urn:uuid:fecde0ca-f2d3-54c6-85a2-118bdcd42c5b" /> <resource> <MessageHeader> <id value="fecde0ca-f2d3-54c6-85a2-118bdcd42c5b" /> <meta> <profile value="http://ehelse.no/fhir/StructureDefinition/vkp-MessageHeader-v06" /> </meta> <event> <system value="http://ehelse.no/fhir/ValueSet/vkp-message-event-v06" /> <code value="PatientComposition" /> </event> <receiver> <identifier> <system value="urn:oid:2.16.578.1.12.4.1.2" /> <value value="95937" /> </identifier> <display value="Sykepleietjeneste, pleie- og omsorg" /> </receiver> <sender> <identifier> <system value="urn:oid:2.16.578.1.12.4.1.2" /> <value value="12345" /> </identifier> <display value="Testi Medisineringsstøtte" /> </sender> <timestamp value="2019-03-12T15:36:29Z" /> <source> <endpoint value="https://vkp.azure-devices.net/devices/12345" /> </source> <focus> <reference value="urn:uuid:7fdcbd20-d0ce-52a2-ad34-5e3332277676" /> <display value="Composition" /> </focus> </MessageHeader> </resource> </entry> <entry> <fullUrl value="urn:uuid:7fdcbd20-d0ce-52a2-ad34-5e3332277676" /> <resource> <Composition> <id value="7fdcbd20-d0ce-52a2-ad34-5e3332277676" /> <status value="final" /> <type> <coding> <code value="11488-4" /> <display value="Consult note" /> </coding> </type> <class> <coding> <system value="http://ehelse.no/fhir/CodeSystem/vkp-composition-class-v06" /> <code value="0" /> <display value="pasient_oppfolging" /> </coding> </class> <subject> <identifier> <system value="urn:oid:2.16.578.1.12.4.1.4.1" /> <value value="12121244444" /> </identifier> <display value="Kaller Krank" /> </subject> <date value="2019-03-12T15:36:29Z" /> <author> <identifier> <system value="urn:oid:2.16.578.1.12.4.1.4.1" /> <value value="10075737802" /> </identifier> <display value="Test Testesen" /> </author> <title value="Journalnotat for endring av brukerstatus" /> <section> <title value="Careservice note" /> <text> <status value="additional" /> <div xmlns="http://www.w3.org/1999/xhtml"> Notat:<br/> Pasienten ble aktivert mens Testutstyr fortsatt hadde status aktiv. </div> </text> </section> <section> <title value="Signature" /> <text> <status value="additional" /> <div xmlns="http://www.w3.org/1999/xhtml">Test Testesen (sverrestaging)</div> </text> </section> </Composition> </resource> </entry> </Bundle>