description: This profile represents the constraints applied to the MedicationRequest resource by the CA Core+ project to represent the minimum expectations for the MedicationRequest resource when used to promote capacity building for functionality found across Canadian FHIR implementations. It is informed by the constraints of shared across CIHI pCHDCF data sets and has also undergone analysis to assert alignment with the [Canadian Baseline MedicationRequest Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationrequest.html) package_name: ca.infoway.io.core derivation: constraint name: MedicationRequestCACore type: MedicationRequest elements: medication: choices: [medicationCodeableConcept] index: 6 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 6 medicationReference: type: Reference choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medication-ca-core'] index: 4 slicing: slices: medicationReference: match: {} schema: type: Reference choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medication-ca-core'] index: 4 medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 7 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 7} medication[x]: elements: coding: index: 8 elements: system: {index: 9} code: {index: 10} display: index: 11 extensions: translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', type: Extension, index: 12} elements: extension: type: Extension url: http://hl7.org/fhir/StructureDefinition/translation index: 12 slicing: slices: translation: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 12} required: [display, system, code] text: {index: 13} required: [coding] subject: type: Reference refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/patient-ca-core', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 14 authoredOn: {index: 15} reasonCode: binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/ca-core/ValueSet/PHCVS'} index: 16 elements: coding: index: 17 elements: system: {index: 18} code: {index: 19} required: [system, code] dosageInstruction: index: 20 elements: timing: index: 21 elements: repeat: index: 22 elements: bounds: choices: [] index: 24 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: boundsPeriod: match: {} schema: choices: [boundsPeriod] index: 26 boundsPeriod: type: Period choiceOf: bounds index: 27 slicing: slices: boundsPeriod: match: {} schema: {type: Period, choiceOf: bounds, index: 27} bounds[x]: elements: end: {index: 28} code: {index: 29} route: binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} index: 30 elements: coding: index: 31 elements: system: {index: 32} code: {index: 33} required: [system, code] doseAndRate: elements: dose: choices: [] index: 35 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: doseQuantity: match: {} schema: constraint: cacore-medreq-doseqty-1: {human: doseQuantity.unit(string) or doseQuantity.code(code) must be provided, severity: error, expression: unit.hasValue() or code.hasValue()} choices: [doseQuantity] index: 37 doseQuantity: type: Quantity constraint: cacore-medreq-doseqty-1: {human: doseQuantity.unit(string) or doseQuantity.code(code) must be provided, severity: error, expression: unit.hasValue() or code.hasValue()} choiceOf: dose index: 38 slicing: slices: doseQuantity: match: {} schema: type: Quantity constraint: cacore-medreq-doseqty-1: {human: doseQuantity.unit(string) or doseQuantity.code(code) must be provided, severity: error, expression: unit.hasValue() or code.hasValue()} choiceOf: dose index: 38 dose[x]: elements: value: {index: 39} system: {index: 40} code: {index: 41} required: [value] package_version: 0.3.0-dft-ballot-2 class: profile kind: resource url: http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medicationrequest-ca-core base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: null required: [authoredOn]