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="32ddfd62-affd-4ff8-b507-732bd98ecde2" /> <meta> <lastUpdated value="2022-10-10T14:21:47.198+02:00" /> <tag> <display value="Fetch RelatedPerson guardian relationship" /> </tag> <tag> <display value="Bundle of type searchset" /> </tag> <tag> <display value="fetch-relatedperson-example-1" /> </tag> </meta> <type value="searchset" /> <total value="1" /> <link> <relation value="self" /> <url value="https://test.ehalsomyndigheten.se/fhir/RelatedPerson?identifier=http%3A%2F%2Felectronichealth.se%2Fidentifier%2Fpersonnummer%7C198710152391&patient.identifier=http%3A%2F%2Felectronichealth.se%2Fidentifier%2Fpersonnummer%7C201203102387" /> </link> <entry> <fullUrl value="https://test.ehalsomyndigheten.se/fhir/RelatedPerson/3ed1eaff-abf0-4672-a120-d8fb38e34a1a-f163f836-b01b-4ad3-90dd-d87a39fc891e" /> <resource> <RelatedPerson> <id value="3ed1eaff-abf0-4672-a120-d8fb38e34a1a-f163f836-b01b-4ad3-90dd-d87a39fc891e" /> <meta> <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLRelatedPerson" /> </meta> <identifier> <system value="http://electronichealth.se/identifier/personnummer" /> <value value="198710152391" /> </identifier> <patient> <reference value="Patient/f163f836-b01b-4ad3-90dd-d87a39fc891e" /> </patient> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode" /> <code value="GUARD" /> </coding> </relationship> </RelatedPerson> </resource> </entry> </Bundle>