PackagesCanonicalsLogsProblems
    Packages
    rs/nhsdigital.fhir.stu3@1.1.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-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: rs/nhsdigital.fhir.stu3
derivation: constraint
name: CareConnect-ITK-AllergyIntolerance-1
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 20
    elements:
      reference: {index: 21}
    required: [reference]
  onset:
    mustSupport: true
    choices: []
    index: 23
  asserter:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1']
    index: 27
    elements:
      reference: {index: 28}
    required: [reference]
  note:
    elements:
      author:
        choices: [authorReference, authorReference, authorReference]
        index: 30
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                choices: [authorReference, authorReference, authorReference]
                index: 30
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 31
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                type: Reference
                choiceOf: author
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
                index: 31
      author[x]:
        elements:
          reference: {index: 34}
        required: [reference]
  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: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1'}
          schema:
            type: Extension
            url: h
            index: 2
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1'}
                type: uri
                index: 3
        evidence:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1'}
          schema:
            type: Extension
            url: h
            index: 4
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1'}
                type: uri
                index: 5
  assertedDate: {index: 24}
  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: 25
    elements:
      reference: {index: 26}
    required: [reference]
  code:
    index: 13
    extensions:
      snomedCTDescriptionID: {url: h, type: Extension, index: 15}
    elements:
      extension:
        index: 14
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            snomedCTDescriptionID:
              match: {url: null}
              schema: {type: Extension, url: h, index: 15}
      coding:
        index: 16
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            type: uri
            index: 17
          code: {index: 18}
          display: {index: 19}
        required: [code, display, system]
    required: [coding]
  identifier:
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 6}
              code: {index: 7}
              display: {index: 8}
            required: [code, display, system]
      system: {index: 9}
      value: {index: 10}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 11
    required: [system, value]
  verificationStatus: {short: unconfirmed | confirmed, index: 12}
  reaction:
    elements:
      substance:
        elements:
          coding:
            index: 35
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 36
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 38}
                    elements:
                      extension:
                        index: 37
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 38}
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 39
                      version: {index: 40}
                      code: {index: 41}
                      display: {index: 42}
                    required: [code, display, system]
      manifestation:
        index: 43
        elements:
          coding:
            index: 44
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 45
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 47}
                    elements:
                      extension:
                        index: 46
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 47}
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 48
                      version: {index: 49}
                      code: {index: 50}
                      display: {index: 51}
                    required: [code, display, system]
      exposureRoute:
        index: 52
        elements:
          coding:
            index: 53
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 54
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 56}
                    elements:
                      extension:
                        index: 55
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 56}
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 57
                      version: {index: 58}
                      code: {index: 59}
                      display: {index: 60}
                    required: [code, display, system]
      note:
        index: 61
        elements:
          author:
            choices: [authorString, authorReference, authorReference, authorReference]
            index: 63
          authorString: {type: string, choiceOf: author, index: 64}
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
            index: 65
package_version: 1.1.0
extensions:
  encounter: {url: h, max: 1, type: Extension, index: 1}
  allergyEnd:
    url: h
    type: Extension
    index: 2
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1'}
        type: uri
        index: 3
  evidence:
    url: h
    type: Extension
    index: 4
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1'}
        type: uri
        index: 5
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-AllergyIntolerance-1
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.2.0
required: [assertedDate, code]