description: Ordering of medication for patient package_name: ca.on.dhdr.r4 derivation: constraint name: MedicationRequestDHDRSubmission type: MedicationRequest elements: medication[x]: elements: reference: {mustSupport: true, index: 8} required: [reference] reasonCode: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'} mustSupport: true array: true max: 5 index: 13 elements: coding: mustSupport: true index: 14 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 15 code: {mustSupport: true, index: 16} display: {mustSupport: true, index: 17} required: [display, system, code] text: {mustSupport: true, index: 18} requester: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-submission', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission'] index: 11 elements: reference: {mustSupport: true, index: 12} required: [reference] status: pattern: {type: Code, value: unknown} mustSupport: true index: 3 dosageInstruction: mustSupport: true index: 21 elements: sequence: {mustSupport: true, index: 22} text: {mustSupport: true, index: 23} additionalInstruction: mustSupport: true index: 24 elements: text: {mustSupport: true, index: 25} required: [text] timing: mustSupport: true index: 26 elements: repeat: mustSupport: true index: 27 elements: count: {mustSupport: true, index: 28} duration: {mustSupport: true, index: 29} durationUnit: {mustSupport: true, index: 30} code: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/medication-repeat-pattern'} mustSupport: true index: 31 elements: coding: mustSupport: true index: 32 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 33 code: {mustSupport: true, index: 34} display: {mustSupport: true, index: 35} required: [display, system, code] text: {mustSupport: true, index: 36} required: [code] asNeeded: mustSupport: true choices: [] index: 38 route: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} mustSupport: true index: 39 elements: coding: mustSupport: true index: 40 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 41 code: {mustSupport: true, index: 42} display: {mustSupport: true, index: 43} required: [display, system, code] text: {mustSupport: true, index: 44} doseAndRate: mustSupport: true index: 45 elements: dose: mustSupport: true choices: [doseQuantity] index: 62 slicing: slices: doseQuantity: match: {} schema: mustSupport: true choices: [doseQuantity] index: 62 min: 0 max: 1 doseRange: type: Range mustSupport: true choiceOf: dose index: 50 slicing: slices: doseRange: match: {} schema: {type: Range, mustSupport: true, choiceOf: dose, index: 50} min: 0 max: 1 dose[x]: elements: value: {mustSupport: true, index: 64} unit: {mustSupport: true, index: 65} system: {mustSupport: true, index: 66} code: {mustSupport: true, index: 67} doseQuantity: type: Quantity mustSupport: true choiceOf: dose index: 63 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, mustSupport: true, choiceOf: dose, index: 63} min: 0 max: 1 rate: mustSupport: true choices: [rateQuantity] index: 84 slicing: slices: rateQuantity: match: {} schema: mustSupport: true choices: [rateQuantity] index: 84 min: 0 max: 1 rateRange: type: Range mustSupport: true choiceOf: rate index: 72 slicing: slices: rateRange: match: {} schema: {type: Range, mustSupport: true, choiceOf: rate, index: 72} min: 0 max: 1 rate[x]: elements: value: {mustSupport: true, index: 86} unit: {mustSupport: true, index: 87} system: {mustSupport: true, index: 88} code: binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit'} mustSupport: true index: 89 rateQuantity: type: Quantity mustSupport: true choiceOf: rate index: 85 slicing: slices: rateQuantity: match: {} schema: {type: Quantity, mustSupport: true, choiceOf: rate, index: 85} min: 0 max: 1 identifier: mustSupport: true index: 0 elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [value, system] intent: pattern: {type: Code, value: order} mustSupport: true index: 4 basedOn: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission'] index: 19 elements: reference: {mustSupport: true, index: 20} required: [reference] medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission'] index: 7 subject: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission'] index: 9 elements: reference: {mustSupport: true, index: 10} required: [reference] medication: mustSupport: true choices: [medicationReference] index: 6 package_version: 4.0.3-snapshot12 class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 4.0.1