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.
<Provenance xmlns="http://hl7.org/fhir"> <meta> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLProvenance" /> <tag> <display value="Provenance for a healthcare user" /> </tag> <tag> <display value="Provenance for a healthcare user with activity AVVISA_FORFRAGAN" /> </tag> <tag> <display value="attached-provenance-example-20" /> </tag> </meta> <contained> <Practitioner> <id value="thePractitioner" /> <meta> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner" /> </meta> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary"> <extension url="workplaceName"> <valueString value="Min vardcentral" /> </extension> <extension url="workplaceIdentifier"> <valueString value="SE165567766992-101W" /> </extension> <extension url="workplaceType"> <valueCode value="HEALTHCAREUNIT" /> </extension> <extension url="workplaceIdType"> <valueCode value="HSA" /> </extension> </extension> <name> <family value="Larsson" /> <given value="Lars" /> </name> <telecom> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType"> <valueCode value="W" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient"> <valueBoolean value="true" /> </extension> <value value="011-900000" /> <rank value="1" /> </telecom> <address> <type value="postal" /> <line value="postGatan 133" /> <city value="stockholm" /> <postalCode value="12345" /> </address> <address> <type value="physical" /> <line value="fysiskaGatan 134" /> <city value="stockholm" /> <postalCode value="12345" /> </address> <qualification> <identifier> <system value="urn:oid:1.2.752.116.3.1.2" /> <value value="9000027" /> </identifier> <code> <coding> <system value="urn:oid:1.2.752.116.3.1.3" /> <code value="LK" /> </coding> </code> </qualification> </Practitioner> </contained> <activity> <coding> <code value="AVVISA_FORFRAGAN" /> </coding> </activity> <agent> <type> <coding> <code value="enterer" /> </coding> </type> <who> <reference value="#thePractitioner" /> </who> </agent> </Provenance>