PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    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: gpc.stu3.fhir-assets
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: 18
  onset:
    mustSupport: true
    choices: []
    index: 20
  category: {index: 11}
  clinicalStatus: {index: 9}
  meta:
    index: 0
    elements:
      profile: {index: 1}
    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: 23
  note:
    mustSupport: true
    index: 24
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 26
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1']
        index: 29
      authorString: {type: string, choiceOf: author, index: 28}
  extension:
    type: Extension
    mustSupport: true
    url: h
    index: 2
    slicing:
      slices:
        encounter:
          match: {}
          schema: {type: Extension, mustSupport: true, url: h, index: 2}
          max: 1
        allergyEnd:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: h
            index: 3
            extensions: {}
            elements:
              extension: {array: true, min: 2, index: 4}
        evidence:
          match: {}
          schema: {type: Extension, url: h, index: 5}
          max: 1
  assertedDate: {index: 21}
  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: 22
  code:
    index: 12
    elements:
      coding:
        extensions:
          snomedCTDescriptionID:
            url: h
            type: Extension
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
            required: [extension]
        elements:
          extension:
            type: Extension
            url: h
            index: 13
            slicing:
              slices:
                snomedCTDescriptionID:
                  match: {}
                  schema:
                    type: Extension
                    url: h
                    index: 13
                    extensions: {}
                    elements:
                      extension: {index: 14}
                    required: [extension]
          system: {index: 15}
          version: {index: 16}
          code: {index: 17}
        required: [system, code]
  identifier:
    index: 6
    elements:
      system: {index: 7}
      value: {index: 8}
    required: [value, system]
  verificationStatus:
    short: unconfirmed | confirmed
    pattern: {type: Code, value: unconfirmed}
    index: 10
  reaction:
    elements:
      substance:
        elements:
          coding:
            index: 31
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 32
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 33
                        extensions: {}
                        elements:
                          extension: {index: 34}
                        required: [extension]
                    elements:
                      extension:
                        type: Extension
                        url: h
                        index: 33
                        slicing:
                          slices:
                            snomedCTDescriptionID:
                              match: {}
                              schema:
                                type: Extension
                                url: h
                                index: 33
                                extensions: {}
                                elements:
                                  extension: {index: 34}
                                required: [extension]
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 35
                      version: {index: 36}
                      code: {index: 37}
                    required: [system, code]
      manifestation:
        index: 38
        elements:
          coding:
            index: 39
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 40
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 41
                        extensions: {}
                        elements:
                          extension: {index: 42}
                        required: [extension]
                    elements:
                      extension:
                        type: Extension
                        url: h
                        index: 41
                        slicing:
                          slices:
                            snomedCTDescriptionID:
                              match: {}
                              schema:
                                type: Extension
                                url: h
                                index: 41
                                extensions: {}
                                elements:
                                  extension: {index: 42}
                                required: [extension]
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 43
                      version: {index: 44}
                      code: {index: 45}
                    required: [system, code]
      severity: {mustSupport: true, index: 46}
      exposureRoute:
        index: 47
        elements:
          coding:
            index: 48
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 49
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 50
                        extensions: {}
                        elements:
                          extension: {index: 51}
                        required: [extension]
                    elements:
                      extension:
                        type: Extension
                        url: h
                        index: 50
                        slicing:
                          slices:
                            snomedCTDescriptionID:
                              match: {}
                              schema:
                                type: Extension
                                url: h
                                index: 50
                                extensions: {}
                                elements:
                                  extension: {index: 51}
                                required: [extension]
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 52
                      version: {index: 53}
                      code: {index: 54}
                    required: [system, code]
      note:
        elements:
          author:
            choices: [authorReference, authorString, authorReference, authorReference]
            index: 56
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1']
            index: 59
          authorString: {type: string, choiceOf: author, index: 58}
package_version: 1.4.1
extensions:
  encounter: {url: h, max: 1, type: Extension, mustSupport: true, index: 2}
  allergyEnd:
    url: h
    type: Extension
    mustSupport: true
    index: 3
    extensions: {}
    elements:
      extension: {array: true, min: 2, index: 4}
  evidence: {url: h, max: 1, type: Extension, index: 5}
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: [clinicalStatus, assertedDate, identifier, recorder, category, code]