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="d753473c-34f2-4576-a4e8-e74e555ef14e" /> <meta> <profile value="https://fhir.kbv.de/StructureDefinition/74_PR_ETS_Bundle" /> </meta> <type value="message" /> <entry> <fullUrl value="urn:uuid:e3ddbded-31d3-4505-805a-03b0d941621e" /> <resource> <MessageHeader> <id value="e3ddbded-31d3-4505-805a-03b0d941621e" /> <meta> <profile value="https://fhir.kbv.de/StructureDefinition/74_PR_ETS_MH_Vermittlungscodes-anfordern_Request" /> </meta> <event> <system value="https://fhir.kbv.de/CodeSystem/74_CS_ETS_Events" /> <code value="vermittlungscode-anfordern" /> </event> <timestamp value="2018-11-14T08:00:00+01:00" /> <source> <endpoint value="mailto:ueberweisende@kv-safenet.de" /> </source> <focus> <reference value="urn:uuid:b777414e-7a7f-4391-9f46-7d0c9fb6a42b" /> </focus> </MessageHeader> </resource> </entry> <entry> <fullUrl value="urn:uuid:b777414e-7a7f-4391-9f46-7d0c9fb6a42b" /> <resource> <ReferralRequest> <id value="b777414e-7a7f-4391-9f46-7d0c9fb6a42b" /> <meta> <profile value="https://fhir.kbv.de/StructureDefinition/74_PR_ETS_Referralrequest_anforderung_muster06" /> </meta> <status value="draft" /> <intent value="order" /> <type> <coding> <system value="http://www.kbv.de/fhir/CodeSystem/74_CS_AW_Anlagetyp" /> <code value="KV-Muster_6" /> </coding> </type> <priority value="routine" /> <subject> <display value="-" /> </subject> <requester> <agent> <identifier> <system value="http://fhir.de/NamingSystem/kbv/lanr" /> <value value="123456400" /> </identifier> </agent> <onBehalfOf> <identifier> <system value="http://fhir.de/NamingSystem/kbv/bsnr" /> <value value="991234500" /> </identifier> </onBehalfOf> </requester> <specialty> <extension url="https://fhir.kbv.de/StructureDefinition/74_EX_ETS_AdditionalQualification"> <valueCoding> <system value="https://fhir.kbv.de/CodeSystem/74_CS_SFHIR_BAR_ZUSATZBEZEICHNUNG" /> <code value="027" /> </valueCoding> </extension> <coding> <system value="https://fhir.kbv.de/CodeSystem/74_CS_SFHIR_BAR2_WBO" /> <code value="080" /> </coding> </specialty> </ReferralRequest> </resource> </entry> </Bundle>