PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient-summary@0.11.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication
description: This profile defines a set of constraints to the FHIR Medication resource for use in Ontario Patient Summaries (PS-ON).  It refines 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-UV-IPS 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.on.oh.patient-summary
derivation: constraint
name: MedicationPSON
type: Medication
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  extension:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        strength:
          match: {url: null}
          schema: {type: Extension, short: Extension for representing overall medication strength., url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 3}
          min: 0
          max: 1
  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: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        slicing:
          rules: open
          description: Discriminated by value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          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: 6
            codeSCT:
              match: {}
              schema:
                short: Optional slice for representing SNOMED CT medications
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medication-snomed-uv-ips'}
                index: 7
            codeCCDD:
              match: {}
              schema:
                short: Slice for representing Canadian Clinical Drug Data Set codes
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
                mustSupport: true
                index: 8
            codeLNHP:
              match: {}
              schema:
                short: Optional slice for representing NPN and DIN-HM codes in the Licensed Natural Health Products Database
                binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/LicensedNaturalHealthProducts'}
                index: 9
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        slicing:
          rules: open
          description: Discriminated by value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            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: 12
  ingredient:
    mustSupport: true
    index: 13
    elements:
      item:
        choices: []
        index: 15
      itemCodeableConcept:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode'}
        mustSupport: true
        index: 16
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                type: CodeableConcept
                binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode'}
                mustSupport: true
                index: 16
                elements:
                  coding:
                    mustSupport: true
                    index: 17
                    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'}
                            mustSupport: true
                            index: 18
      strength: {type: Ratio, mustSupport: true, index: 19}
package_version: 0.11.0
extensions:
  strength: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', min: 0, max: 1, type: Extension, short: Extension for representing overall medication strength., index: 3}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.11.0
required: [meta, code]