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="169635c9-2294-4191-9bb3-1beda1126cad" /> <meta> <lastUpdated value="2022-10-03T11:31:43.941+02:00" /> <tag> <display value="Fetch DataLock - secrecy lock" /> </tag> <tag> <display value="Bundle of type searchset" /> </tag> <tag> <display value="fetch-datalock-example-1" /> </tag> </meta> <type value="searchset" /> <total value="1" /> <link> <relation value="self" /> <url value="https://test.ehalsomyndigheten.se/fhir/Basic?code=datalock&patient._id=02ca682b-e728-43d7-845c-466238f2e96e" /> </link> <entry> <fullUrl value="https://test.ehalsomyndigheten.se/fhir/Basic/bec388d4-b563-4611-8cca-001049bba9c2" /> <resource> <Basic> <id value="bec388d4-b563-4611-8cca-001049bba9c2" /> <meta> <versionId value="1" /> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLDataLock" /> </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:5923a2cf-e33c-4bcb-8114-4f97e7e8cf72" /> </extension> <code> <coding> <system value="http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types" /> <code value="datalock" /> <display value="Spärr" /> </coding> </code> </Basic> </resource> </entry> </Bundle>