PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-dhdr@4.0.2-alpha1.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication
description: This resource is used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication.
package_name: ca.on.oh-dhdr
derivation: constraint
name: Medication
type: Medication
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  extension:
    mustSupport: true
    index: 3
    slicing:
      slices:
        monitoredDrugIndicator:
          match: {}
          schema:
            type: Extension
            isModifier: false
            url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator'}
                index: 5
        compoundIndicator:
          match: {}
          schema:
            type: Extension
            isModifier: false
            url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator'}
                index: 7
        strength:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 8}
          max: 1
  code:
    mustSupport: true
    index: 9
    elements:
      coding:
        mustSupport: true
        index: 10
        slicing:
          rules: closed
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            drugDIN:
              match: {system: 'http://hl7.org/fhir/NamingSystem/ca-hc-din', code: null}
              schema:
                binding: {strength: required, valueSet: 'http://www.canada.ca/en/health-canada/services/drugs-health-products/drug-products/drug-product-database-3'}
                mustSupport: true
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/NamingSystem/ca-hc-din'}
                    mustSupport: true
                    index: 12
                  code: {mustSupport: true, index: 13}
                  display: {mustSupport: true, index: 14}
                required: [display, system, code]
            drugGeneric:
              match: {system: 'https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name', code: null}
              schema:
                mustSupport: true
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name'}
                    mustSupport: true
                    index: 16
                  display: {mustSupport: true, index: 17}
                required: [display, system]
            drugCCDD:
              match: {system: 'http://terminology.hl7.org/CodeSystem/hc-CCDD', code: null}
              schema:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/canadianclinicaldrugdataset-CCDD'}
                mustSupport: true
                index: 18
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
                    mustSupport: true
                    index: 19
                  code: {mustSupport: true, index: 20}
                  display: {mustSupport: true, index: 21}
                required: [display, system, code]
            drugNatural:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-hc-npn', code: null}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/LicensedNaturalHealthProducts'}
                mustSupport: true
                index: 22
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-hc-npn'}
                    mustSupport: true
                    index: 23
                  code: {mustSupport: true, index: 24}
                  display: {mustSupport: true, index: 25}
                required: [display, system, code]
      text: {mustSupport: true, index: 26}
  form: {mustSupport: true, index: 27}
  ingredient:
    mustSupport: true
    index: 28
    elements:
      item:
        mustSupport: true
        choices: [itemCodeableConcept]
        index: 30
      itemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 31}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 32
            slicing:
              rules: closed
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                drugCCDD:
                  match: {system: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
                  schema:
                    binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/canadianclinicaldrugdataset-CCDD'}
                    mustSupport: true
                    index: 33
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
                        mustSupport: true
                        index: 34
                      code: {mustSupport: true, index: 35}
                      display: {mustSupport: true, index: 36}
                    required: [display, system, code]
                drugNatural:
                  match: {system: 'http://terminology.hl7.org/CodeSystem/v3-hc-npn'}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/LicensedNaturalHealthProducts'}
                    mustSupport: true
                    index: 37
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-hc-npn'}
                        mustSupport: true
                        index: 38
                      code: {mustSupport: true, index: 39}
                      display: {mustSupport: true, index: 40}
                    required: [display, system, code]
                drugGeneric:
                  match: {system: 'https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name'}
                  schema:
                    mustSupport: true
                    index: 41
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name'}
                        mustSupport: true
                        index: 42
                      display: {mustSupport: true, index: 43}
                    required: [display, system]
                drugDIN:
                  match: {system: 'http://hl7.org/fhir/NamingSystem/ca-hc-din'}
                  schema:
                    binding: {strength: required, valueSet: 'http://www.canada.ca/en/health-canada/services/drugs-health-products/drug-products/drug-product-database-3'}
                    mustSupport: true
                    index: 44
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/NamingSystem/ca-hc-din'}
                        mustSupport: true
                        index: 45
                      code: {mustSupport: true, index: 46}
                      display: {mustSupport: true, index: 47}
                    required: [display, system, code]
          text: {mustSupport: true, index: 48}
package_version: 4.0.2-alpha1.0.1
extensions:
  monitoredDrugIndicator:
    url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator
    type: Extension
    isModifier: false
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-monitored-drug-indicator'}
        index: 5
  compoundIndicator:
    url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator
    type: Extension
    isModifier: false
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator'}
        index: 7
  strength: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', max: 1, type: Extension, isModifier: false, mustSupport: true, index: 8}
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 4.0.1
required: [meta, code]