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": "HealthcareService", "id": "dd639e5e-7408-44ff-a033-2a220824ebce", "meta": { "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-HealthcareService|1.1.0" ], "security": [ { "system": "http://ehealthontario.ca/fhir/CodeSystem/security-labels", "code": "MASTERMark" } ] }, "text": { "status": "generated", --- We have skipped the narrative for better readability of the resource --- }, "extension": [ { "url": "http://ehealthontario.ca/fhir/StructureDefinition/ext-usage-license", "valueUrl": "https://about.hcs1.com/legal/terms-conditions" }, { "url": "http://ehealthontario.ca/fhir/StructureDefinition/ext-access-instructions", "valueMarkdown": "Please call the administration desk at 416-432-5567 to schedule an appointment." }, { "url": "http://ehealthontario.ca/fhir/StructureDefinition/ext-delivery-method", "valueCode": "439708006" } ], "identifier": [ { "use": "official", "system": "http://ehealthontario.ca/fhir/identifiers/hcs-master-record", "value": "058dca5c-e854-4910-a2eb-1315a40dec6c" } ], "active": true, "providedBy": { "reference": "urn:uuid:fe16095b-9412-430d-8633-2b4e034be37c", "display": "Psychotherapy Institute of Peel" }, "category": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "413294000", "display": "Community health services" } ], "text": "Community health services" } ], "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "394913002", "display": "Psychotherapy (specialty)" } ] } ], "location": [ { "reference": "urn:uuid:b71844d3-e24b-4be3-9d7d-464b58cace0e" } ], "name": "HealthcareService Example", "comment": "Providing psychotherapy services in the community setting.", "extraDetails": "Several assessments are required for these specialist services, and the waiting times can be greater than 3 months at times. Existing patients are prioritized when requesting appointments on the schedule.", "telecom": [ { "system": "phone", "value": "416-355-6643", "use": "work" } ], "coverageArea": [ { "reference": "urn:uuid:9cee66dc-1523-4a1f-9bf2-85040e6918f5", "display": "Greater Toronto Area" } ], "serviceProvisionCode": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/service-provision-conditions", "code": "cost", "display": "Fees apply" } ] } ], "eligibility": [ { "code": { "coding": [ { "code": "Y", "system": "http://terminology.hl7.org/CodeSystem/v2-0136" } ] } } ], "communication": [ { "coding": [ { "system": "urn:ietf:bcp:47", "code": "en", "display": "English" } ] } ], "appointmentRequired": false, "availableTime": [ { "daysOfWeek": [ "wed" ], "allDay": true }, { "daysOfWeek": [ "mon", "tue", "thu", "fri" ], "availableStartTime": "08:30:00", "availableEndTime": "05:30:00" }, { "daysOfWeek": [ "sat", "fri" ], "availableStartTime": "09:30:00", "availableEndTime": "04:30:00" } ], "notAvailable": [ { "description": "Christmas/Boxing Day", "during": { "start": "2015-12-25", "end": "2015-12-26" } }, { "description": "New Years Day", "during": { "start": "2016-01-01", "end": "2016-01-01" } } ] }