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. package_name: ca.on.ehr.r4 derivation: constraint name: MedicationEHR type: Medication elements: extension: mustSupport: true index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: MonitoredDrugIndicator: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator', index: 1} min: 0 max: 1 CompoundIndicator: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator', index: 2} min: 0 max: 1 Strength: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-medication-strength', index: 3} min: 0 max: 1 code: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'} mustSupport: true index: 4 form: type: CodeableConcept binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'} mustSupport: true index: 5 ingredient: mustSupport: true index: 6 elements: item: mustSupport: true choices: [itemCodeableConcept] index: 8 itemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 9} package_version: 1.0.0-snapshot3 extensions: MonitoredDrugIndicator: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} CompoundIndicator: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} Strength: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-medication-strength', min: 0, max: 1, type: Extension, mustSupport: true, index: 3} class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medication base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.0.0 required: [code]