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