PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient-summary@0.12.3
    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:
    type: Extension
    short: Extension for representing overall medication strength.
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description
    index: 2
    slicing:
      slices:
        strength:
          match: {}
          schema:
            type: Extension
            short: Extension for representing overall medication strength.
            url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description
            index: 2
            elements:
              url:
                pattern: {type: Uri, value: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description'}
                index: 3
  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
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [itemCodeableConcept]
                index: 17
      itemCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 18
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 18}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 19
            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: 20
      strength: {type: Ratio, mustSupport: true, index: 21}
package_version: 0.12.3
extensions:
  strength:
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description
    type: Extension
    short: Extension for representing overall medication strength.
    index: 2
    elements:
      url:
        pattern: {type: Uri, value: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description'}
        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]