PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@0.0.4
    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: 16
    elements:
      text: {mustSupport: true, index: 17}
      timing: {index: 18}
      route:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        mustSupport: true
        index: 19
        elements:
          coding:
            index: 20
            slicing:
              rules: open
              description: Discriminated by value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                routeEDQM:
                  match: {}
                  schema:
                    short: Optional slice for representing EDQM Standards Terms for route
                    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration'}
                    index: 21
                  max: 1
                routeSCTCA:
                  match: {}
                  schema:
                    short: Optional slice for representing SNOMED CT Canadian edition routes of administration
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
                    index: 22
                  max: 1
                RouteOfAdministrationV3PrescribeIT:
                  match: {}
                  schema:
                    short: Optional slice for representing the route of admnistration for the prescription from the PrescribeIT value set.
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionrouteofadministration'}
                    index: 23
                  max: 1
  medicationCodeableConcept:
    short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available, type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 8}
          min: 0
          max: 1
  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: 14}
    elements:
      extension:
        index: 13
        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: 14}
              max: 1
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: []
    index: 12
  medicationReference:
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 5
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
            type: Reference
            mustSupport: true
            choiceOf: medication
            index: 5
          min: 0
          max: 1
  informationSource: {index: 15}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 9
    elements:
      reference: {mustSupport: true, index: 10}
    required: [reference]
  medication:
    short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 7
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 7
          min: 0
          max: 1
package_version: 0.0.4
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-ca-ps
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 0.0.4
required: [effective]