Profiles & Interactions Index > Profile: Medication (Response) EHR
Profile: Medication (Response)
This profile aligns with the base EHR project’s Medication resource, ensuring compatibility while supporting medication-related use cases.
Simplifier project page: Medication EHR
Derived from: Medication (R4)
Canonical_Url | Profile_Status | Profile_Version | FHIR_Version |
---|---|---|---|
Formal Views of Profile Content
Description of Profiles, Differentials, Snapshots and how the different presentations work
Differential View
MedicationEHR (Medication) | I | Medication | |
id | Σ | 0..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | S I | 0..* | Extension |
MonitoredDrugIndicator | S I | 0..1 | Extension(boolean) |
CompoundIndicator | S I | 0..1 | Extension(boolean) |
Strength | S I | 0..1 | Extension(string) |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..* | Identifier |
code | S Σ | 1..1 | CodeableConceptEHRBinding |
status | Σ ?! | 0..1 | codeBinding |
manufacturer | Σ | 0..1 | Reference(Organization) |
form | S | 0..1 | CodeableConceptEHRBinding |
amount | Σ | 0..1 | Ratio |
ingredient | S | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
item[x] | S | 1..1 | Binding |
itemCodeableConcept | CodeableConceptEHR | ||
isActive | 0..1 | boolean | |
strength | 0..1 | Ratio | |
batch | 0..1 | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
lotNumber | 0..1 | string | |
expirationDate | 0..1 | dateTime |
Hybrid View
MedicationEHR (Medication) | I | Medication | |
id | Σ | 0..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | S I | 0..* | Extension |
MonitoredDrugIndicator | S I | 0..1 | Extension(boolean) |
CompoundIndicator | S I | 0..1 | Extension(boolean) |
Strength | S I | 0..1 | Extension(string) |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..* | Identifier |
code | S Σ | 1..1 | CodeableConceptEHRBinding |
status | Σ ?! | 0..1 | codeBinding |
manufacturer | Σ | 0..1 | Reference(Organization) |
form | S | 0..1 | CodeableConceptEHRBinding |
amount | Σ | 0..1 | Ratio |
ingredient | S | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
item[x] | S | 1..1 | Binding |
itemCodeableConcept | CodeableConceptEHR | ||
isActive | 0..1 | boolean | |
strength | 0..1 | Ratio | |
batch | 0..1 | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
lotNumber | 0..1 | string | |
expirationDate | 0..1 | dateTime |
Snapshot View
MedicationEHR (Medication) | I | Medication | |
id | Σ | 0..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | S I | 0..* | Extension |
MonitoredDrugIndicator | S I | 0..1 | Extension(boolean) |
CompoundIndicator | S I | 0..1 | Extension(boolean) |
Strength | S I | 0..1 | Extension(string) |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..* | Identifier |
code | S Σ | 1..1 | CodeableConceptEHRBinding |
status | Σ ?! | 0..1 | codeBinding |
manufacturer | Σ | 0..1 | Reference(Organization) |
form | S | 0..1 | CodeableConceptEHRBinding |
amount | Σ | 0..1 | Ratio |
ingredient | S | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
item[x] | S | 1..1 | Binding |
itemCodeableConcept | CodeableConceptEHR | ||
isActive | 0..1 | boolean | |
strength | 0..1 | Ratio | |
batch | 0..1 | BackboneElement | |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
lotNumber | 0..1 | string | |
expirationDate | 0..1 | dateTime |
Table View
Medication | .. | |
Medication.extension | .. | |
Medication.extension | Extension | 0..1 |
Medication.extension | Extension | 0..1 |
Medication.extension | Extension | 0..1 |
Medication.code | CodeableConceptEHR | 1.. |
Medication.form | CodeableConceptEHR | .. |
Medication.ingredient | .. | |
Medication.ingredient.item[x] | CodeableConceptEHR | .. |
JSON View
{ "resourceType": "StructureDefinition", "id": "Medication", "url": "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medication", "version": "1.0.0", "name": "MedicationEHR", "title": "Medication EHR", "status": "active", "description": "This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "Medication", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication", "derivation": "constraint", "differential": { "element": [ { "id": "Medication.extension", "path": "Medication.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "ordered": false, "rules": "open" }, "mustSupport": true }, { "id": "Medication.extension:monitoredDrugIndicator", "path": "Medication.extension", "sliceName": "MonitoredDrugIndicator", "min": 0, "max": "1", "type": [ { "code": "Extension", "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator" ] } ], "mustSupport": true }, { "id": "Medication.extension:compoundIndicator", "path": "Medication.extension", "sliceName": "CompoundIndicator", "min": 0, "max": "1", "type": [ { "code": "Extension", "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator" ] } ], "mustSupport": true }, { "id": "Medication.extension:strength", "path": "Medication.extension", "sliceName": "Strength", "min": 0, "max": "1", "type": [ { "code": "Extension", "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-medication-strength" ] } ], "mustSupport": true }, { "id": "Medication.code", "path": "Medication.code", "comment": "Generic medications will have a fixed value of https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name on coding.system", "min": 1, "type": [ { "code": "CodeableConcept", "profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ] } ], "mustSupport": true, "binding": { "strength": "preferred", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct", "extension": [ { "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding", "extension": [ { "url": "purpose", "valueCode": "candidate" }, { "url": "valueSet", "valueCanonical": "http://fhir.infoway-inforoute.ca/io/cacore/ValueSet/DIN" }, { "url": "documentation", "valueMarkdown": "A Drug Identification Number (DIN) is a computer-generated eight digit number assigned by Health Canada to a drug product prior to being marketed in Canada." }, { "url": "key", "valueId": "medCodeDIN" } ] }, { "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding", "extension": [ { "url": "purpose", "valueCode": "candidate" }, { "url": "valueSet", "valueCanonical": "http://fhir.infoway-inforoute.ca/io/cacore/ValueSet/LicensedNaturalHealthProducts" }, { "url": "documentation", "valueMarkdown": "All Natural Product Number (NPN) and Homeopathic Medicine Number (DIN-HM) codes that are licensed by Health Canada and present in the Licensed Natural Health Products Database." }, { "url": "key", "valueId": "medCodeLNHP" } ] } ] } }, { "id": "Medication.form", "path": "Medication.form", "type": [ { "code": "CodeableConcept", "profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ] } ], "mustSupport": true, "binding": { "strength": "extensible", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode" } }, { "id": "Medication.ingredient", "path": "Medication.ingredient", "mustSupport": true }, { "id": "Medication.ingredient.item[x]", "path": "Medication.ingredient.item[x]", "comment": "Generic medications will have a fixed value of https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name on coding.system", "type": [ { "code": "CodeableConcept", "profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ] } ], "mustSupport": true, "binding": { "strength": "preferred", "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct", "extension": [ { "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding", "extension": [ { "url": "purpose", "valueCode": "candidate" }, { "url": "valueSet", "valueCanonical": "http://fhir.infoway-inforoute.ca/io/cacore/ValueSet/LicensedNaturalHealthProducts" }, { "url": "documentation", "valueMarkdown": "All Natural Product Number (NPN) and Homeopathic Medicine Number (DIN-HM) codes that are licensed by Health Canada and present in the Licensed Natural Health Products Database." }, { "url": "key", "valueId": "ingredientLNHP" } ] }, { "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding", "extension": [ { "url": "purpose", "valueCode": "candidate" }, { "url": "valueSet", "valueCanonical": "http://fhir.infoway-inforoute.ca/io/cacore/ValueSet/DIN" }, { "url": "documentation", "valueMarkdown": "A Drug Identification Number (DIN) is a computer-generated eight digit number assigned by Health Canada to a drug product prior to being marketed in Canada." }, { "url": "key", "valueId": "ingredientDIN" } ] } ] } } ] } }
Usage
The Medication Resource describes a medication and pharmacy service from the DHDR.
Notes
.extension:strength
- This field is used when code.coding.code does not specify the strength. This field includes numeric part and strength units. SHOULD be returned if TM code contributed.
.code
code.coding
sliced element.
For Medication Dispense the field may contain Drug Identification Number (DIN), Canadian Clinical Drug Data (CCDD) or Health Canada Natural Product Number (NPN).SHALL be mandatory element if category is "Drug" and for Devices if a CCDD code exists. The element SHALL be optional if category is "Service" or for compound drugs.
For Medication Administration the field may contain only Drug Identification Number (DIN), Canadian Clinical Drug Data (CCDD) or Health Canada Natural Product Number (NPN).code.coding.system
SHALL be
http://terminology.hl7.org/CodeSystem/hc-CCDD
for CCDD,
http://terminology.hl7.org/CodeSystem/v3-hc-npn
for NPN,
http://hl7.org/fhir/NamingSystem/ca-hc-din
for DIN,
https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name
for genericcode.coding.code
code of the dispensed drug or devices.code.coding.display
brand/display name of the dispensed drug, pharmacy service or device.code.text
a textual description of the device or service. The element SHALL be mandatory if category "Service" or for devices if no CCDD code available. For drugs, this would include generic name, strength and dosage form.
.form
- The dosage form indicates the manner in which the medication/treatment is aggregated for administration/dispense, e.g., tablets, capsules, suppositories. In some cases, this information is implied by the dispense/give code in code.coding.code. Use this field when the code does not specify the dosage form. SHOULD be return if TM code contributed.
.ingredient
- list of all the ingredients that make up a compound, including their identifier (i.e. CCDD or HC-NPN identifier).
- the element SHALL be mandatory for all compounded medications
- the
code.text
element SHALL include generic name, strength and dosage form