PackagesCanonicalsLogsProblems
    Packages
    ca.on.dhdr.r4.v4@0.1.2-beta
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission
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.dhdr.r4.v4
derivation: constraint
name: Medication
type: Medication
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  code:
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            drugCCDD:
              match: {system: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
                mustSupport: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
                    mustSupport: true
                    index: 5
                  code: {mustSupport: true, index: 6}
                  display: {mustSupport: true, index: 7}
                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: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-hc-npn'}
                    mustSupport: true
                    index: 9
                  code: {mustSupport: true, index: 10}
                  display: {mustSupport: true, index: 11}
                required: [display, system, code]
      text: {mustSupport: true, index: 12}
  ingredient:
    mustSupport: true
    index: 13
    elements:
      item:
        mustSupport: true
        choices: [itemCodeableConcept]
        index: 15
      itemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 16}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 17
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                drugCCDD:
                  match: {system: 'http://terminology.hl7.org/CodeSystem/hc-CCDD'}
                  schema:
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
                    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'}
                  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}
package_version: 0.1.2-beta
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 4.0.1
required: [meta, code]