description: This profile applies constraints to the MedicationStatement resource for CA Core+ to support documentation of medication usage in the pan-Canadian context. package_name: ca.infoway.io.core derivation: constraint name: MedicationStatementCACore type: MedicationStatement elements: dosage: index: 22 elements: text: {index: 23} timing: {index: 24} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} index: 25 doseAndRate: elements: dose: choices: [] index: 27 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 29 min: 0 max: 1 doseQuantity: type: Quantity choiceOf: dose index: 30 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 30} min: 0 max: 1 dose[x]: elements: value: {index: 31} unit: {index: 32} medication[x]: elements: coding: elements: system: {index: 11} display: {index: 12} reasonCode: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'} index: 20 medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 10 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 10} min: 0 max: 1 effective[x]: elements: end: {index: 19} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: RenderedDosageInstruction: match: {url: null} schema: {short: Extension for representing rendered dosage instruction., type: Extension, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage', index: 1} min: 0 max: 1 status: {mustSupport: true, index: 2} effective: mustSupport: true choices: [] index: 15 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectivePeriod: match: {} schema: choices: [effectivePeriod] index: 17 min: 0 max: 1 medicationReference: type: Reference choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] index: 7 slicing: slices: medicationReference: match: {} schema: type: Reference choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] index: 7 min: 0 max: 1 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 13 effectivePeriod: type: Period choiceOf: effective index: 18 slicing: slices: effectivePeriod: match: {} schema: {type: Period, choiceOf: effective, index: 18} min: 0 max: 1 medication: choices: [medicationCodeableConcept] index: 9 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 9 min: 0 max: 1 reasonReference: {index: 21} package_version: 1.2.0-dft-ballot-beta01 extensions: RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage', min: 0, max: 1, short: Extension for representing rendered dosage instruction., type: Extension, index: 1} class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationstatement-ca-core base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.1.0