description: This profile represents the constraints applied to the MedicationStatement resource by the PS-CA project to communicate that a system can not produce content for the medication section because it does not currently support that domain in this version of the release. This profile is being put forward as an alternative to the existing pattern in IPS-UV for communicating that a medicationStatement or medicationRequest is absent/unknown because that pattern does not adequately address systems that are at a lower maturity in supporting the full set of patient summary sections and their respective profiles. This profile is maintained exclusively for this scenario and will eventually be retired at a later version when the ability for systems to support those sections is met. package_name: ca.infoway.io.psca derivation: constraint name: MedicationStatementNotSupportedPSCA type: MedicationStatement elements: status: pattern: {type: Code, value: unknown} mustSupport: true index: 0 medication: mustSupport: true choices: [medicationCodeableConcept] index: 2 medicationCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: medication index: 3 elements: coding: mustSupport: true array: true min: 2 max: 2 index: 4 slicing: rules: closed description: Discriminated by the coding pattern discriminator: - {path: $this, type: pattern} min: 2 max: 2 slices: noMedicationInfo: match: {code: no-medication-info, system: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'} schema: mustSupport: true pattern: type: Coding value: {code: no-medication-info, system: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'} _required: true index: 5 min: 1 max: 1 not-supported: match: {code: not-supported, system: 'http://fhir.infoway-inforoute.ca/io/psca/CodeSystem/ContentNotSupported'} schema: mustSupport: true pattern: type: Coding value: {code: not-supported, system: 'http://fhir.infoway-inforoute.ca/io/psca/CodeSystem/ContentNotSupported'} _required: true index: 6 min: 1 max: 1 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps'] index: 7 elements: reference: {mustSupport: true, index: 8} required: [reference] package_version: 2.0.0-DFT-Ballot-alpha-1 class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-notsupported-ca-ps base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 1.0.0