PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.2.0-ti-ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-ca-ps
description: This profile represents the constraints applied to the MedicationStatement resource by the PS-CA project to represent a record of a medication statement in the patient summary. It allows for cross-border and cross-jurisdiction sharing of Medication Summary information.
package_name: ca.infoway.io.psca
derivation: constraint
name: MedicationStatementPSCA
type: MedicationStatement
elements:
  dosage:
    mustSupport: true
    index: 12
    elements:
      text: {mustSupport: true, index: 13}
      timing: {index: 14}
      route:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        index: 15
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'}
    index: 11
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 5}
  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-rendered-dosage-instruction', index: 1}
          min: 0
          max: 1
  status: {mustSupport: true, index: 2}
  effective:
    mustSupport: true
    choices: []
    index: 10
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
    index: 6
  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]
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 4
package_version: 2.2.0-ti-ballot
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', 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/io/psca/StructureDefinition/medicationstatement-ca-ps
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 2.2.0
required: [effective]