PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract-1-1-21@1.1.21
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedication
description: '**CHR:** Medications (drug catalogue entries) are accessed through the drug search interface when creating a prescription or managing current medications. Clinicians search the drug database by name, DIN, or ATC code.'
package_name: telus.dw.emr.extract-1-1-21
derivation: constraint
name: DwMedication
type: Medication
elements:
  meta:
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      source: {mustSupport: true, index: 2}
  ingredient:
    mustSupport: true
    index: 47
    elements:
      item:
        mustSupport: true
        choices: [itemCodeableConcept, itemReference]
        index: 55
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [itemCodeableConcept, itemReference]
                index: 55
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 56
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 56}
              min: 0
              max: 1
      itemReference:
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
        type: Reference
        mustSupport: true
        choiceOf: item
        index: 57
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
                type: Reference
                mustSupport: true
                choiceOf: item
                index: 57
              min: 0
              max: 1
      strength:
        mustSupport: true
        index: 58
        elements:
          numerator: {mustSupport: true, index: 59}
          denominator: {mustSupport: true, index: 60}
  status: {mustSupport: true, index: 30}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 7
    elements:
      coding:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            CCDD:
              match: {system: 'https://fhir.infoway-inforoute.ca/CodeSystem/canadianclinicaldrugdataset'}
              schema:
                mustSupport: true
                array: true
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/CodeSystem/canadianclinicaldrugdataset'}
                    index: 10
                  display:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 12
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 13}
                    elements:
                      extension:
                        index: 11
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 12
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 13}
                required: [system]
            DIN:
              match: {system: 'http://hl7.org/fhir/NamingSystem/ca-hc-din'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/DIN'}
                mustSupport: true
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/NamingSystem/ca-hc-din'}
                    index: 15
                  display:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 17
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 18}
                    elements:
                      extension:
                        index: 16
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 17
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 18}
                required: [system]
            AHFSClass:
              match: {system: 'https://www.ashp.org/'}
              schema:
                mustSupport: true
                array: true
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://www.ashp.org/'}
                    index: 20
                  display:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 22
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 23}
                    elements:
                      extension:
                        index: 21
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 22
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 23}
                required: [system]
            ATCClass:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips'}
                mustSupport: true
                array: true
                index: 24
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    index: 25
                  display:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 27
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 28}
                    elements:
                      extension:
                        index: 26
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 27
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 28}
                required: [system]
      text: {index: 29}
    required: [text]
  identifier:
    mustSupport: true
    index: 4
    elements:
      system: {index: 5}
      value: {index: 6}
    required: [value, system]
  manufacturer: {mustSupport: true, index: 31}
  form:
    mustSupport: true
    index: 32
    elements:
      coding:
        index: 33
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            formSCTCA:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
                mustSupport: true
                index: 34
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 35
                  code: {mustSupport: true, index: 36}
                  display:
                    mustSupport: true
                    index: 37
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 39
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 40}
                    elements:
                      extension:
                        index: 38
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 39
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 40}
                required: [system]
            formOrdereableDrugFormV3PrescribeIT:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondrugform'}
                mustSupport: true
                index: 41
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm'}
                    index: 42
                  display:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 44
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 45}
                    elements:
                      extension:
                        index: 43
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 44
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 45}
                required: [system]
      text: {index: 46}
    required: [text]
  text: {mustSupport: true, index: 3}
package_version: 1.1.21
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 2.0.0
required: [id, text, identifier, code]