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