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"> <meta> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLDataLock" /> <tag> <display value="Create DataLock - privacy lock of a prescription chain" /> </tag> <tag> <display value="An Example of a Basic of type data lock" /> </tag> <tag> <display value="create-datalock-example-1" /> </tag> </meta> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget"> <valueReference> <reference value="patient/b00a0407-b781-43e8-983b-74fdfb8eb97d" /> </valueReference> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround"> <valueCode value="INTEGRITET" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType"> <valueCode value="FORSKRIVNINGSKEDJA" /> </extension> <extension url="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain"> <valueUuid value="urn:uuid:22b4888f-bdb0-4f97-8477-a8506833b474" /> </extension> <code> <coding> <system value="http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types" /> <code value="datalock" /> </coding> </code> </Basic>