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.
{ "resourceType": "Appointment", "id": "appointment-sample", "meta": { "lastUpdated": "05/18/2023 01:36:23", "source": "sample", "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/Appointment-my-core" ] }, "extension": [ { "url": "http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core", "extension": [ { "url": "name", "valueString": "HALIZA BT RAZAK" }, { "url": "identifier", "valueString": "HIE-00000165" }, { "url": "gender", "valueCode": "female" }, { "url": "telecom", "valueContactDetail": { "telecom": [ { "system": "phone", "value": "01156404217" }, { "system": "email", "value": "hiepersonn+1912@gmail.com" } ] } }, { "url": "birthDate", "valueDate": "1992-01-14" }, { "url": "age", "valueString": "31" } ] } ], "status": "booked", "serviceCategory": [ { "coding": [ { "system": "http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core", "code": "AMB", "display": "Outpatient" } ] } ], "serviceType": [ { "coding": [ { "system": "http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core", "code": "03", "display": "Outpatient" } ] } ], "specialty": [ { "coding": [ { "system": "http://fhir.hie.moh.gov.my/CodeSystem/specialty-my-core", "code": "02", "display": "General Medicine" } ] } ], "appointmentType": { "coding": [ { "system": "http://fhir.hie.moh.gov.my/CodeSystem/schedule-type-my-core", "code": "internal", "display": "Internal" } ] }, "start": "05/19/2023 01:00:00", "end": "05/19/2023 09:00:00", "created": "05/18/2023 01:00:00", "participant": [ { "actor": { "reference": "HealthcareService/fe5dba17-00d9-474c-90a6-71901c66ecfc", "type": "HealthcareService", "display": "General Medicine" }, "status": "accepted" }, { "actor": { "reference": "Patient/96b71b10-4483-4e61-badb-e5e5a0f0460b", "type": "Patient", "display": "HALIZA BT RAZAK" }, "status": "accepted" }, { "actor": { "type": "Location", "display": "BILIK RAWATAN 1" }, "status": "accepted" } ], "requestedPeriod": [ { "start": "05/19/2023 01:00:00", "end": "05/19/2023 09:00:00" } ] }