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.
<Patient xmlns="http://hl7.org/fhir"> <id value="PatientinMusterfrau" /> <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="TestPID" /> </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> <identifier> <use value="secondary" /> <type> <coding> <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> <code value="PKV" /> </coding> </type> <value value="1234567890" /> <assigner> <display value="Test PKV AG" /> </assigner> </identifier> <active value="true" /> <name> <use value="official" /> <family value="Fürstin von Musterfrau"> <extension url="http://fhir.de/StructureDefinition/humanname-namenszusatz"> <valueString value="Fürstin" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> <valueString value="Musterfrau" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"> <valueString value="von" /> </extension> </family> <given value="Erika" /> <prefix value="Dr."> <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> <valueCode value="AC" /> </extension> </prefix> </name> <name> <use value="maiden" /> <family value="Gabler"> <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> <valueString value="Gabler" /> </extension> </family> </name> <gender value="female" /> <birthDate value="1964-08-12" /> <address> <type value="both" /> <line value="Musterweg 2"> <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> <valueString value="Musterweg" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> <valueString value="2" /> </extension> </line> <line value="3. Etage"> <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"> <valueString value="3. Etage" /> </extension> </line> <city value="Musterhausen" /> <postalCode value="98764" /> <country value="DE" /> </address> <address> <type value="postal" /> <line value="Postfach 8 15"> <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"> <valueString value="Postfach 8 15" /> </extension> </line> <city value="Musterhausen" /> <postalCode value="98764" /> <country value="DE" /> </address> </Patient>