PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/AllergiesAndIntolerancesSection
description: This section lists and describes any medication allergies, adverse reactions, idiosyncratic reactions, anaphylaxis/anaphylactoid reactions to food items, and metabolic variations or adverse reactions/allergies to other substances (such as latex, iodine, tape adhesives). At a minimum, it should list currently active and any relevant historical allergies and adverse reactions.
package_name: hl7.cda.us.ccda
derivation: constraint
name: AllergiesAndIntolerancesSection
type: http://hl7.org/cda/stds/core/StructureDefinition/Section
elements:
  nullFlavor: {short: 'If a required section contains no information, the @nullFlavor MAY be set to NI', index: 0}
  templateId:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        section:
          match: {root: 2.16.840.1.113883.10.20.22.2.6.1, extension: '2015-08-01'}
          schema:
            _required: true
            index: 2
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.2.6.1}
                index: 3
              extension:
                pattern: {type: String, value: '2015-08-01'}
                index: 4
            required: [root, extension]
            extensions: {}
  code:
    short: Allergies and adverse reactions Document
    index: 5
    elements:
      code:
        pattern: {type: Code, value: 48765-2}
        index: 6
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 7
    required: [codeSystem, code]
  title: {index: 8}
  text: {index: 9}
  entry:
    short: 'If section/@nullFlavor is not present:'
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: act, type: profile}
      min: null
      slices:
        allergyConcern:
          match: {}
          schema:
            array: true
            index: 11
            elements:
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 12}
            required: [act]
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/AllergiesAndIntolerancesSection
base: http://hl7.org/cda/stds/core/StructureDefinition/Section
version: 3.0.0
required: [text, title, templateId, code]