PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract@1.0.0
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwAllergyIntolerance
description: null
package_name: telus.dw.emr.extract
derivation: constraint
name: DwAllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    mustSupport: true
    index: 38
    elements:
      reference: {mustSupport: true, index: 39}
    required: [reference]
  onset:
    mustSupport: true
    choices: []
    index: 43
  category: {mustSupport: true, index: 31}
  criticality: {mustSupport: true, index: 32}
  clinicalStatus:
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            HL7AllergyIntoleranceClinicalStatus:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'}
                mustSupport: true
                index: 5
                elements:
                  system: {mustSupport: true, index: 6}
                  version: {mustSupport: true, index: 7}
                  code: {mustSupport: true, index: 8}
                  display:
                    mustSupport: true
                    index: 9
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 10
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 11}
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 10
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 10
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 11}
            statusCodeSCTCA:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'}
                mustSupport: true
                index: 12
                elements:
                  system: {mustSupport: true, index: 13}
                  version: {mustSupport: true, index: 14}
                  code: {mustSupport: true, index: 15}
                  display:
                    mustSupport: true
                    index: 16
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 17
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 18}
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 17
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 17
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 18}
                  userSelected: {mustSupport: true, index: 19}
      text: {mustSupport: true, index: 20}
    required: [coding]
  meta:
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
  encounter:
    mustSupport: true
    index: 40
    elements:
      reference: {index: 41}
  type: {mustSupport: true, index: 30}
  note: {mustSupport: true, index: 46}
  recordedDate: {mustSupport: true, index: 44}
  id: {mustSupport: true, index: 0}
  recorder: {mustSupport: true, index: 45}
  code:
    mustSupport: true
    index: 33
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: 1
      slices:
        absentOrUnknownAllergyIntolerance:
          match:
            coding: {system: null}
          schema:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips'}
            mustSupport: true
            index: 34
        codeAllergyCA:
          match:
            coding: {system: null}
          schema:
            binding: {strength: preferred, valueSet: 'https://tgateway.infoway-inforoute.ca/vs/pharmaceuticalbiologicproductandsubstancecode'}
            mustSupport: true
            index: 35
        codeAllergyICD10CA:
          match:
            coding: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/ICD10CA'}
            index: 36
            elements:
              text: {mustSupport: true, index: 37}
  verificationStatus:
    mustSupport: true
    index: 21
    elements:
      coding:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            HL7VerificationStatus:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-verification'}
                mustSupport: true
                index: 23
                elements:
                  system: {mustSupport: true, index: 24}
                  version: {mustSupport: true, index: 25}
                  code: {mustSupport: true, index: 26}
                  display: {mustSupport: true, index: 27}
                  userSelected: {mustSupport: true, index: 28}
      text: {mustSupport: true, index: 29}
  reaction:
    elements:
      substance:
        elements:
          text: {mustSupport: true, index: 47}
      manifestation:
        binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
        mustSupport: true
        index: 48
        elements:
          coding:
            index: 49
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                manifestationSCTCA:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
                    mustSupport: true
                    index: 50
                    elements:
                      system: {mustSupport: true, index: 51}
                      version: {mustSupport: true, index: 52}
                      code: {mustSupport: true, index: 53}
                      display:
                        mustSupport: true
                        index: 54
                        extensions:
                          translation:
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            type: Extension
                            isModifier: false
                            index: 55
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 56}
                        elements:
                          extension:
                            type: Extension
                            isModifier: false
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 55
                            slicing:
                              slices:
                                translation:
                                  match: {}
                                  schema:
                                    type: Extension
                                    isModifier: false
                                    url: http://hl7.org/fhir/StructureDefinition/translation
                                    index: 55
                                    extensions: {}
                                    elements:
                                      extension: {array: true, min: 2, index: 56}
                      userSelected: {mustSupport: true, index: 57}
          text: {mustSupport: true, index: 58}
      onset: {mustSupport: true, index: 59}
      severity: {mustSupport: true, index: 60}
      exposureRoute:
        elements:
          text: {mustSupport: true, index: 61}
package_version: 1.0.0
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwAllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: null
required: [code]