description: The P-Care profile for recording a person's reported medication use. package_name: ca.on.oh.setp-development derivation: constraint name: PCareMedicationStatement type: MedicationStatement elements: dosage: index: 21 elements: text: {index: 22} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} index: 23 elements: text: constraint: pcare-mst-2: {human: MedicationStatement.dosage.route.text value should not exceed 20 characters for PS-AB compatibility., source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement', severity: warning, expression: length() <= 20} index: 24 doseAndRate: {index: 25} medication[x]: elements: coding: {index: 9} medicationCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 8} effectiveDateTime: type: dateTime choiceOf: effective index: 19 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, choiceOf: effective, index: 19} min: 0 max: 1 status: constraint: pcare-mst-1: {human: MedicationStatement.status is expected to equal 'unknown' for PS-AB compatibility., source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement', severity: warning, expression: $this = 'unknown'} index: 0 effective: choices: [effectiveDateTime] index: 18 slicing: slices: effectiveDateTime: match: {} schema: choices: [effectiveDateTime] index: 18 min: 0 max: 1 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication'] index: 5 slicing: slices: medicationReference: match: {} schema: type: Reference mustSupport: true choiceOf: medication refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication'] index: 5 informationSource: {index: 20} subject: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient'] index: 10 elements: reference: {index: 11} effectivePeriod: type: Period mustSupport: true choiceOf: effective index: 16 slicing: slices: effectivePeriod: match: {} schema: {type: Period, mustSupport: true, choiceOf: effective, index: 16} medication: mustSupport: true choices: [medicationCodeableConcept] index: 7 slicing: slices: medicationCodeableConcept: match: {} schema: mustSupport: true choices: [medicationCodeableConcept] index: 7 package_version: 1.1.0 class: profile kind: resource url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationstatement-ca-core version: 0.1.0