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: mustSupport: true index: 25 elements: text: {mustSupport: true, index: 26} timing: {index: 27} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} index: 28 doseAndRate: elements: dose: choices: [] index: 30 derivedFrom: {index: 22} medication[x]: elements: coding: elements: system: {index: 11} display: {index: 12} text: {index: 13} reasonCode: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'} index: 23 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: 20} 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: 16 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectivePeriod: match: {} schema: choices: [effectivePeriod] index: 18 min: 0 max: 1 dateAsserted: {index: 21} 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: 14 effectivePeriod: type: Period choiceOf: effective index: 19 slicing: slices: effectivePeriod: match: {} schema: {type: Period, choiceOf: effective, index: 19} min: 0 max: 1 medication: choices: [medicationCodeableConcept] index: 9 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 9 min: 0 max: 1 reasonReference: {index: 24} package_version: 1.1.0-dft-preballot 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