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="SubscriptionNotificationBundleExample" /> <type value="history" /> <entry> <fullUrl value="urn:uuid:9bb6fcbd-8391-4e35-bd4c-620a2db47af0" /> <resource> <Parameters> <id value="SubscriptionNotification" /> <meta> <profile value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4" /> </meta> <parameter> <name value="subscription" /> <valueReference> <reference value="Subscription/1" /> </valueReference> </parameter> <parameter> <name value="topic" /> <valueCanonical value="https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge" /> </parameter> <parameter> <name value="status" /> <valueCode value="active" /> </parameter> <parameter> <name value="type" /> <valueCode value="event-notification" /> </parameter> <parameter> <name value="events-since-subscription-start" /> <valueString value="1" /> </parameter> <parameter> <name value="notification-event" /> <part> <name value="event-number" /> <valueString value="1" /> </part> <part> <name value="timestamp" /> <valueInstant value="2024-02-22T18:30:05+01:00" /> </part> <part> <name value="focus" /> <valueReference> <reference value="Patient/DorisQuelle" /> </valueReference> </part> </parameter> </Parameters> </resource> <request> <method value="GET" /> <url value="https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge/$status" /> </request> <response> <status value="200" /> </response> </entry> <entry> <fullUrl value="http://example.org/fhir/Patient/DorisQuelle" /> <resource> <Patient> <id value="DorisQuelle" /> <meta> <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKPatient" /> </meta> <identifier> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> <code value="MR" /> </coding> </type> <system value="https://fhir.krankenhaus.example/sid/PID" /> <value value="654321" /> </identifier> <identifier> <type> <coding> <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> <code value="KVZ10" /> </coding> </type> <system value="http://fhir.de/sid/gkv/kvid-10" /> <value value="A123456789" /> </identifier> <active value="false" /> <name> <use value="official" /> <family value="Duplikat" /> <given value="Doris" /> </name> <gender value="female" /> <birthDate value="1964-08-12" /> </Patient> </resource> <request> <method value="PUT" /> <url value="Patient" /> </request> <response> <status value="201" /> </response> </entry> </Bundle>