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.
<Basic xmlns="http://hl7.org/fhir"> <id value="bec388d4-b563-4611-8cca-001049bba9c2" /> <meta> <versionId value="1" /> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLDataLock" /> <tag> <display value="Close DataLock - secrecy lock" /> </tag> <tag> <display value="An example of a Basic where the resource type is datalock (spärr)" /> </tag> <tag> <display value="close-datalock-example-1" /> </tag> </meta> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget"> <valueReference> <reference value="Patient/02ca682b-e728-43d7-845c-466238f2e96e" /> </valueReference> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround"> <valueCode value="SEKRETESS_PAT" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType"> <valueCode value="BEHANDLINGSORSAK" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLDataLockStatus"> <valueCode value="active" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain"> <valueUuid value="urn:uuid:732ef29c-f8b0-4973-9f14-8d8e781b30e0" /> </extension> <code> <coding> <system value="http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types" /> <code value="datalock" /> <display value="Spärr" /> </coding> </code> </Basic>