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.
-
Default
What is FQL?
-
FQL Query resources
FQL Playground
Try Firely Query Language in our playground by using this scope as data source.
- FQL Documentation
-
FQL Language
Syntax specification
To learn more about FQL syntax choose this menu item.
-
YamlGen Generate resources
YamlGen Playground
Try YamlGen in our playground by using this scope as data source.
-
YamlGen Language
YamlGen Syntax specification
To learn more about YamlGen syntax choose this.
-
FHIRPath Inspect resource
FHIRPath Playground
Try out the FHIRPath playground and navigate inside this resource.
-
FHIRPath Documentation
FHIRPath Documentation
Find out what FHIRPath is or learn how to write FHIRPath scripts.
-
Project FHIR API
This is the location where you can find your resource using a FHIR client.
-
Simplifier FHIR API
The global endpoint is where users can search for all resources in Simplifier. Resources have a globally unique guid Id here.
-
Custom Example generation
Custom Example generation beta
Experiment with resource instance generation using YamlGen and based on this profile.
This feature is in beta. You can help us improve it by giving feedback with the feedback button at the top of the screen.
MedicationDispense
Profile
- type Profile on MedicationDispense
- FHIR STU3
- status Draft
-
versionnone
The canonical from this resource does not match any claim in this context and conflicts with a claim from another scope.
https://ehealthontario.ca/API/FHIR/StructureDefinition/
Canonical claims are used to verify ownership of your canonical URLs.
You're probably missing a package or made a typo in your canonical.
- Could not resolve: http://hl7.org/fhir/StructureDefinition/MedicationDispense
MedicationDispense | http://hl7.org/fhir/StructureDefinition/MedicationDispense | There are no (further) constraints on this element Data type http://hl7.org/fhir/StructureDefinition/MedicationDispense | ||
identifier | 1..1 | There are no (further) constraints on this element Element idMedicationDispense.identifier Unique Dispense Identifier assigned by the source system (HNS, NMS, etc.) - this is an identifier assigned outside FHIR. | ||
system | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.identifier.system Data Source DefinitionData Source. The source of data on the dispensed drug profile (or immunizations in the future) e.g. HNS, PMS, NMS, Panorama, etc. For HNS https://ehealthontario.ca/API/FHIR/NamingSystem/ca-on-drug-hnsDispenseId For NMS https://ehealthontario.ca/API/FHIR/NamingSystem/ca-on-drug-nmsDispenseId | |
value | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.identifier.value Data Source Record ID DefinitionData Source Record ID. The unique identifier of the data source record. | |
partOf | ..1 | There are no (further) constraints on this element Element idMedicationDispense.partOf | ||
status | S | Binding | There are no (further) constraints on this element Element idMedicationDispense.status ?? (required) | |
category | S | Binding | There are no (further) constraints on this element Element idMedicationDispense.category TBD: might be used to distinguish between drugs, devices, and professionals ?? (preferred) | |
coding | S | 1..1 | There are no (further) constraints on this element Element idMedicationDispense.category.coding | |
system | S | 1.. | Binding | There are no (further) constraints on this element Element idMedicationDispense.category.coding.system Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)). ?? (preferred) |
code | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.category.coding.code | |
display | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.category.coding.display | |
medicationReference | S | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Medication) | There are no (further) constraints on this element Element idMedicationDispense.medication[x]:medicationReference Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Medication) | |
reference | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.medication[x]:medicationReference.reference | |
subject | S | 1.. | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Patient-dispense) | There are no (further) constraints on this element Element idMedicationDispense.subject Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Patient-dispense) |
reference | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.subject.reference | |
performer | S | ..2 | There are no (further) constraints on this element Element idMedicationDispense.performer Unordered, Open, by actor.reference(Value) | |
performerOrganization | S | ..1 | There are no (further) constraints on this element Element idMedicationDispense.performer:performerOrganization | |
actor | S | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Organization-dispenser) | There are no (further) constraints on this element Element idMedicationDispense.performer:performerOrganization.actor Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Organization-dispenser) | |
reference | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.performer:performerOrganization.actor.reference | |
performerPractitioner | S | ..1 | There are no (further) constraints on this element Element idMedicationDispense.performer:performerPractitioner | |
actor | S | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Practitioner-dispenser) | There are no (further) constraints on this element Element idMedicationDispense.performer:performerPractitioner.actor Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-Practitioner-dispenser) | |
reference | 1.. | There are no (further) constraints on this element Element idMedicationDispense.performer:performerPractitioner.actor.reference | ||
authorizingPrescription | ..1 | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-MedicationRequest) | There are no (further) constraints on this element Element idMedicationDispense.authorizingPrescription Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-MedicationRequest) | |
reference | 1.. | There are no (further) constraints on this element Element idMedicationDispense.authorizingPrescription.reference | ||
identifier | ..0 | There are no (further) constraints on this element Element idMedicationDispense.authorizingPrescription.identifier | ||
display | ..0 | There are no (further) constraints on this element Element idMedicationDispense.authorizingPrescription.display | ||
quantity | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.quantity | |
value | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.quantity.value | |
unit | S | There are no (further) constraints on this element Element idMedicationDispense.quantity.unit Not used in current release | ||
daysSupply | S | There are no (further) constraints on this element Element idMedicationDispense.daysSupply | ||
value | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.daysSupply.value | |
whenHandedOver | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.whenHandedOver | |
detectedIssue | S | Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-intervention | https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-response | https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-message-hns) | There are no (further) constraints on this element Element idMedicationDispense.detectedIssue DUR. Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc. DUR responses, interventions & text messages as recorded at the time of the dispense. Contained ca-on-medications-profile-DetectedIssue-[type] (DetectedIssue) resource where [type] might be “response”, “intervention”, “message-hns” and “message-nms” Reference(https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-intervention | https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-response | https://ehealthontario.ca/API/FHIR/StructureDefinition/ca-on-medications-profile-DetectedIssue-dur-message-hns) | |
reference | S | 1.. | There are no (further) constraints on this element Element idMedicationDispense.detectedIssue.reference | |
notDoneReasonReference | Reference(http://hl7.org/fhir/StructureDefinition/DetectedIssue) | There are no (further) constraints on this element Element idMedicationDispense.notDoneReason[x]:notDoneReasonReference Reference(http://hl7.org/fhir/StructureDefinition/DetectedIssue) |