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