PackagesCanonicalsLogsProblems
    Packages
    ca.on.patient@summary-0.0.1-alpha
    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.patient
derivation: constraint
name: MedicationPSON
type: Medication
elements:
  id: {index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  code:
    short: Medication that was administered or was to be administered (medication code from any code system)
    type: CodeableConcept
    mustSupport: true
    binding: {strength: example, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    index: 3
    elements:
      coding: {type: Coding, index: 4}
    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'}
            mustSupport: false
            index: 5
          max: 1
        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'}
            mustSupport: false
            index: 6
          max: 1
        codeSCTCA:
          match: {}
          schema:
            short: Optional slice for representing SNOMED CT Canadian edition medications
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/SNOMEDCT-CA-PharmaceuticalBiologicProduct'}
            mustSupport: true
            index: 7
          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'}
            mustSupport: true
            index: 8
          max: 1
  form:
    type: CodeableConcept
    mustSupport: true
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'}
    index: 9
    elements:
      coding: {type: Coding, index: 10}
    slicing:
      rules: open
      description: Discriminated by value set
      discriminator:
      - {path: $this, type: pattern}
      min: 0
      max: 1
      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/SNOMEDCT-CA-PharmaceuticalDoseForm'}
            index: 11
          max: 1
  ingredient:
    mustSupport: true
    index: 12
    elements:
      itemCodeableConcept:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-active-substances-uv-ips'}
        mustSupport: true
        index: 13
        elements:
          coding:
            index: 14
            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/SNOMEDCT-CA-DrugOrMedicament'}
                    index: 15
                  max: 1
      strength: {type: Ratio, mustSupport: true, index: 16}
package_version: summary-0.0.1-alpha
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.0.1
required: [meta, code]