PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@0.0.4
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps
description: This profile represents the constraints applied to the Medication resource by the PS-CA project to represent a medication in the patient summary. It is informed by the constraints of the  [Medication IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Medication-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medication.html) to allow for cross-border and cross-jurisdiction sharing of Medication Summary information.
package_name: ca.infoway.io.psca
derivation: constraint
name: MedicationPSCA
type: Medication
elements:
  code:
    short: Medication that was administered or was to be administered (medication code from any code system)
    type: CodeableConcept
    mustSupport: true
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    index: 0
    slicing:
      rules: open
      description: Discriminated by value set
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      max: 1
      slices:
        atcClass:
          match: {}
          schema:
            short: Optional slice for representing WHO ATC classification
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips'}
            index: 1
          max: 1
        codeSCT:
          match: {}
          schema:
            short: Optional slice from IPS for representing SNOMED CT medications
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medication-snomed-uv-ips'}
            index: 2
          max: 1
        codeCCDD:
          match: {}
          schema:
            short: Optional slice for representing Canadian Clinical Drug Data Set codes
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
            index: 3
          max: 1
        codeHCNPN:
          match: {}
          schema:
            short: Optional slice for representing Health Canada Natural Product Number Codes
            binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/HealthCanadaNaturalProductNumber'}
            index: 4
          max: 1
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    mustSupport: true
    index: 5
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            formEDQM:
              match: {}
              schema:
                short: Optional slice for representing EDQM dose forms
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'}
                index: 7
              max: 1
            formSCTCA:
              match: {}
              schema:
                short: Optional slice for representing SNOMED CT Canadian edition dose forms
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
                index: 8
              max: 1
            OrdereableDrugFormV3PrescribeIT:
              match: {}
              schema:
                short: Optional slice for representing HL7 V3 codes for orderable drug forms from the PrescribeIT value set
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondrugform'}
                index: 9
              max: 1
  ingredient:
    index: 10
    elements:
      itemCodeableConcept:
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode'}
        index: 11
        elements:
          coding:
            index: 12
            slicing:
              rules: open
              description: Discriminated by value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                ingredientSCTCA:
                  match: {}
                  schema:
                    short: Optional slice for representing SNOMED CT Canadian edition drug active substances
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode'}
                    index: 13
                  max: 1
      strength: {type: Ratio, index: 14}
package_version: 0.0.4
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.0.4
required: [code]