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