PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.0-DFT-Ballot-alpha2
    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 is informed by the constraints of the [MedicationStatement IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-MedicationStatement-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationstatement.html) to allow 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
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 5}
  effective[x]:
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', max: 1, short: 'effective[x] absence reason', type: Extension, mustSupport: true, index: 11}
    elements:
      extension:
        index: 10
        slicing:
          rules: open
          description: Extensions are always sliced by (at least) url
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema: {short: 'effective[x] absence reason', type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 11}
              max: 1
  extension:
    type: Extension
    short: Extension for representing rendered dosage instruction.
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction
    index: 0
    slicing:
      slices:
        RenderedDosageInstruction:
          match: {}
          schema: {type: Extension, short: Extension for representing rendered dosage instruction., url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 0}
          max: 1
  status: {mustSupport: true, index: 1}
  effective:
    mustSupport: true
    choices: []
    index: 9
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
    index: 4
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
  medication:
    mustSupport: true
    choices: [medicationReference, medicationCodeableConcept]
    index: 3
package_version: 2.0.0-DFT-Ballot-alpha2
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', max: 1, type: Extension, short: Extension for representing rendered dosage instruction., index: 0}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-ca-ps
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: null
required: [effective]