description: This profile applies constraints to the MedicationRequest resource for CA Core+ to support prescription and medication orders in the pan-Canadian context. package_name: ca.infoway.io.core derivation: constraint name: MedicationRequestCACore type: MedicationRequest elements: medication[x]: elements: coding: elements: system: {index: 10} code: {index: 11} display: {index: 12} text: {index: 13} reasonCode: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'} mustSupport: true index: 17 elements: coding: mustSupport: true index: 18 elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} required: [system, code] text: {mustSupport: true, index: 21} medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 9 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 9} min: 0 max: 1 statusReason: {mustSupport: true, index: 1} authoredOn: {mustSupport: true, index: 16} status: {mustSupport: true, index: 0} dosageInstruction: mustSupport: true index: 22 elements: text: {mustSupport: true, index: 23} timing: index: 24 elements: repeat: elements: bounds: choices: [] index: 26 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: boundsPeriod: match: {} schema: choices: [boundsPeriod] index: 28 min: 0 max: 1 boundsPeriod: type: Period choiceOf: bounds index: 29 slicing: slices: boundsPeriod: match: {} schema: {type: Period, choiceOf: bounds, index: 29} min: 0 max: 1 bounds[x]: elements: end: {index: 30} code: {index: 31} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} index: 32 elements: coding: mustSupport: true index: 33 elements: system: {mustSupport: true, index: 34} code: {mustSupport: true, index: 35} required: [system, code] doseAndRate: index: 36 elements: dose: choices: [] index: 38 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 40 min: 0 max: 1 doseQuantity: type: Quantity choiceOf: dose index: 41 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 41} min: 0 max: 1 dose[x]: elements: value: {index: 42} system: {index: 43} code: {index: 44} medicationReference: refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] type: Reference choiceOf: medication index: 6 slicing: slices: medicationReference: match: {} schema: refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] type: Reference choiceOf: medication index: 6 min: 0 max: 1 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core'] index: 14 elements: reference: {mustSupport: true, index: 15} required: [reference] medication: choices: [medicationCodeableConcept] index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 8 min: 0 max: 1 package_version: 1.0.0-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationrequest-ca-core base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: null