description: Indicates that a medication is to be or has been dispensed for a named patient package_name: rs/ca.on.dhdr.r4.v4 derivation: constraint name: MedicationDispense type: MedicationDispense elements: category: binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/dhdr-dispense-category'} mustSupport: true index: 12 elements: coding: mustSupport: true index: 13 elements: system: pattern: {type: uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/dispense-category'} mustSupport: true type: uri index: 14 code: {mustSupport: true, index: 15} display: {mustSupport: true, index: 16} required: [code, display, system] required: [coding] whenHandedOver: {mustSupport: true, index: 36} whenPrepared: {mustSupport: true, index: 35} meta: mustSupport: true index: 1 elements: source: {mustSupport: true, index: 2} profile: {mustSupport: true, index: 3} required: [profile, source] medication[x]: elements: reference: {mustSupport: true, index: 20} required: [reference] extension: mustSupport: true index: 4 slicing: slices: DispenseRemainingRefills: match: {} schema: {type: Extension, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-refills-remaining', index: 5} max: 1 DispenseRemainingQuantity: match: {} schema: {type: Extension, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining', index: 6} max: 1 DrugServiceCoverage: match: {} schema: {type: Extension, isModifier: false, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-drug-service-coverage', index: 7} min: 1 status: {mustSupport: true, index: 11} id: {mustSupport: true, index: 0} dosageInstruction: mustSupport: true index: 37 elements: site: mustSupport: true index: 75 elements: coding: mustSupport: true index: 76 elements: system: {mustSupport: true, index: 77} code: {mustSupport: true, index: 78} display: {mustSupport: true, index: 79} required: [code, display, system] text: {mustSupport: true, index: 80} asNeeded: mustSupport: true choices: [asNeededBoolean] index: 73 method: mustSupport: true index: 86 elements: coding: mustSupport: true index: 87 elements: system: {mustSupport: true, index: 88} code: {mustSupport: true, index: 89} display: {mustSupport: true, index: 90} required: [code, display, system] text: {mustSupport: true, index: 91} patientInstruction: {mustSupport: true, index: 46} maxDosePerLifetime: mustSupport: true index: 120 elements: value: {mustSupport: true, index: 121} unit: {mustSupport: true, index: 122} system: {mustSupport: true, index: 123} code: {mustSupport: true, index: 124} required: [code, system, unit, value] maxDosePerAdministration: mustSupport: true index: 115 elements: value: {mustSupport: true, index: 116} unit: {mustSupport: true, index: 117} system: {mustSupport: true, index: 118} code: {mustSupport: true, index: 119} required: [code, system, unit, value] route: mustSupport: true index: 81 elements: coding: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} mustSupport: true index: 82 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} mustSupport: true type: uri index: 83 code: {mustSupport: true, index: 84} display: {mustSupport: true, index: 85} required: [code, display, system] required: [coding] asNeededBoolean: {type: boolean, mustSupport: true, choiceOf: asNeeded, index: 74} timing: mustSupport: true index: 47 elements: event: {mustSupport: true, index: 48} repeat: mustSupport: true index: 49 elements: frequencyMax: {mustSupport: true, index: 58} when: {mustSupport: true, index: 64} offset: {mustSupport: true, index: 65} periodUnit: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time|4.0.0'} mustSupport: true index: 61 frequency: {mustSupport: true, index: 57} durationMax: {mustSupport: true, index: 55} duration: {mustSupport: true, index: 54} bounds: mustSupport: true choices: [] index: 51 durationUnit: {mustSupport: true, index: 56} dayOfWeek: {mustSupport: true, index: 62} count: {mustSupport: true, index: 52} periodMax: {mustSupport: true, index: 60} period: {mustSupport: true, index: 59} countMax: {mustSupport: true, index: 53} timeOfDay: {mustSupport: true, index: 63} code: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/dhdr-medication-repeat-pattern'} mustSupport: true index: 66 elements: coding: mustSupport: true index: 67 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} mustSupport: true type: uri index: 68 code: {mustSupport: true, index: 69} display: {mustSupport: true, index: 70} required: [code, display, system] text: {mustSupport: true, index: 71} additionalInstruction: mustSupport: true index: 40 elements: coding: mustSupport: true index: 41 elements: system: {mustSupport: true, index: 42} code: {mustSupport: true, index: 43} display: {mustSupport: true, index: 44} required: [code, display, system] text: {mustSupport: true, index: 45} sequence: {mustSupport: true, index: 38} maxDosePerPeriod: mustSupport: true index: 102 elements: numerator: mustSupport: true index: 103 elements: value: {mustSupport: true, index: 104} comparator: {mustSupport: true, index: 105} unit: {mustSupport: true, index: 106} system: {mustSupport: true, index: 107} code: {mustSupport: true, index: 108} required: [code, system, unit, value] denominator: mustSupport: true index: 109 elements: value: {mustSupport: true, index: 110} comparator: {mustSupport: true, index: 111} unit: {mustSupport: true, index: 112} system: {mustSupport: true, index: 113} code: {mustSupport: true, index: 114} required: [code, system, unit, value] doseAndRate: mustSupport: true index: 92 elements: type: elements: coding: mustSupport: true index: 93 elements: system: {mustSupport: true, index: 94} code: {mustSupport: true, index: 95} display: {mustSupport: true, index: 96} required: [code, display, system] text: {mustSupport: true, index: 97} dose: mustSupport: true choices: [] index: 99 rate: mustSupport: true choices: [] index: 101 text: {mustSupport: true, index: 39} required: [text] daysSupply: mustSupport: true index: 33 elements: value: {mustSupport: true, index: 34} required: [value] identifier: mustSupport: true array: true min: 1 max: 2 index: 8 elements: system: {mustSupport: true, index: 9} value: {mustSupport: true, index: 10} required: [system, value] medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission'] index: 19 quantity: mustSupport: true index: 28 elements: value: {mustSupport: true, index: 29} unit: {mustSupport: true, index: 30} system: {mustSupport: true, index: 31} code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescribedquantityunit'} mustSupport: true index: 32 required: [value] authorizingPrescription: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission'] index: 26 elements: reference: {mustSupport: true, index: 27} required: [reference] subject: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission'] index: 21 elements: reference: {mustSupport: true, index: 22} required: [reference] performer: mustSupport: true index: 23 elements: actor: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission'] index: 24 elements: reference: {mustSupport: true, index: 25} required: [reference] medication: mustSupport: true choices: [medicationReference] index: 18 package_version: 0.1.0-beta extensions: DispenseRemainingRefills: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-refills-remaining', max: 1, type: Extension, index: 5} DispenseRemainingQuantity: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining', max: 1, type: Extension, index: 6} DrugServiceCoverage: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-drug-service-coverage', min: 1, type: Extension, isModifier: false, index: 7} class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispense-submission base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 4.0.1 required: [category, dosageInstruction, extension, identifier, meta, performer, subject, whenPrepared]