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: elements: code: {index: 27} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} mustSupport: true index: 28 elements: coding: elements: system: {index: 29} code: {index: 30} doseAndRate: index: 31 elements: dose: choices: [] index: 33 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: doseQuantity: match: {} schema: choices: [doseQuantity] index: 35 min: 0 max: 1 doseQuantity: type: Quantity choiceOf: dose index: 36 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, choiceOf: dose, index: 36} min: 0 max: 1 dose[x]: elements: value: {index: 37} system: {index: 38} code: {index: 39} medication[x]: elements: coding: mustSupport: true index: 9 elements: system: {mustSupport: true, index: 10} code: {mustSupport: true, index: 11} display: {index: 12} required: [system, code] text: {index: 13} required: [coding] reasonCode: type: CodeableConcept binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/cacore/ValueSet/PHCVS'} index: 22 elements: coding: elements: system: {index: 23} code: {index: 24} medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 8} min: 0 max: 1 status: {mustSupport: true, index: 0} effective: mustSupport: true choices: [] index: 17 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectivePeriod: match: {} schema: choices: [effectivePeriod] index: 19 min: 0 max: 1 dateAsserted: {index: 21} medicationReference: refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] type: Reference choiceOf: medication index: 5 slicing: slices: medicationReference: match: {} schema: refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core'] type: Reference choiceOf: medication index: 5 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 elements: reference: {mustSupport: true, index: 15} effectivePeriod: type: Period choiceOf: effective index: 20 slicing: slices: effectivePeriod: match: {} schema: {type: Period, choiceOf: effective, index: 20} min: 0 max: 1 medication: choices: [medicationCodeableConcept] index: 7 slicing: slices: medicationCodeableConcept: match: {} schema: choices: [medicationCodeableConcept] index: 7 min: 0 max: 1 package_version: 1.0.1-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationstatement-ca-core base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.0.0