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