PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.1.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-AllergyIntolerance-1
description: This AllergyIntolerance Resource records Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-AllergyIntolerance-1
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 11
  onset:
    mustSupport: true
    choices: []
    index: 13
  asserter:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 16
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 18
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 21
      authorString: {type: string, choiceOf: author, index: 20}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        encounter:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
        allergyEnd:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          max: 1
        evidence:
          match: {url: null}
          schema: {type: Extension, url: h, index: 3}
          max: 1
  assertedDate: {index: 14}
  recorder:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 15
  code:
    index: 8
    extensions:
      snomedCTDescriptionID: {url: h, type: Extension, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            snomedCTDescriptionID:
              match: {url: null}
              schema: {type: Extension, url: h, index: 10}
  identifier:
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  verificationStatus: {short: unconfirmed | confirmed, index: 7}
  reaction:
    elements:
      substance:
        elements:
          coding:
            index: 23
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 24
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 26}
                    elements:
                      extension:
                        index: 25
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 26}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 27
                      version: {index: 28}
                      code: {index: 29}
                      display: {index: 30}
                    required: [display, system, code]
      manifestation:
        index: 31
        elements:
          coding:
            index: 32
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 33
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 35}
                    elements:
                      extension:
                        index: 34
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 35}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 36
                      version: {index: 37}
                      code: {index: 38}
                      display: {index: 39}
                    required: [display, system, code]
      severity: {index: 40}
      exposureRoute:
        index: 41
        elements:
          coding:
            index: 42
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 43
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 45}
                    elements:
                      extension:
                        index: 44
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 45}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 46
                      version: {index: 47}
                      code: {index: 48}
                      display: {index: 49}
                    required: [display, system, code]
      note:
        elements:
          author:
            choices: [authorReference, authorString, authorReference, authorReference]
            index: 51
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
            index: 54
          authorString: {type: string, choiceOf: author, index: 53}
package_version: 1.1.0
extensions:
  encounter: {url: h, max: 1, type: Extension, index: 1}
  allergyEnd: {url: h, max: 1, type: Extension, index: 2}
  evidence: {url: h, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-AllergyIntolerance-1
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.1.0
required: [assertedDate]