PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.7.0-Expansions
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance
description: Hier wird eine einzelne Allergie oder Unverträglichkeit abgebildet.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_AllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0']
    index: 29
  onset:
    short: Lebensphasen von/bis
    choices: [onsetAge]
    index: 36
    slicing:
      slices:
        onsetAge:
          match: {}
          schema:
            short: Lebensphasen von/bis
            choices: [onsetAge]
            index: 36
          min: 0
          max: 1
  category: {index: 16}
  criticality: {index: 17}
  clinicalStatus:
    index: 3
    elements:
      coding:
        index: 4
        elements:
          system: {index: 5}
          version: {index: 6}
          code: {index: 7}
          display: {index: 8}
        required: [version, display, system, code]
    required: [coding]
  onsetAge:
    short: Lebensphasen von/bis
    type: Age
    choiceOf: onset
    index: 37
    slicing:
      slices:
        onsetAge:
          match: {}
          schema: {short: Lebensphasen von/bis, type: Age, choiceOf: onset, index: 37}
          min: 0
          max: 1
  type: {index: 15}
  note:
    index: 39
    elements:
      author:
        choices: [authorString]
        index: 46
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 46
              min: 0
              max: 1
      authorReference:
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
        type: Reference
        choiceOf: author
        index: 44
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.7.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.7.0']
                type: Reference
                choiceOf: author
                index: 44
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 47
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 47}
              min: 0
              max: 1
      time: {index: 48}
      text: {index: 49}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        abatement:
          match: {url: null}
          schema: {type: Extension, short: Klinisch relevantes Enddatum, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_AllergyIntolerance_Abatement', index: 1}
          min: 0
          max: 1
        abatement-lebensphase-bis:
          match: {url: null}
          schema: {type: Extension, short: Lebensphase, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', index: 2}
          min: 0
          max: 1
  code:
    index: 18
    elements:
      coding:
        index: 19
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Allergy_Substance_SNOMED_CT'}
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                array: true
                index: 20
                elements:
                  system: {index: 21}
                  version: {index: 22}
                  code: {index: 23}
                  display: {index: 24}
                required: [version, display, system, code]
            ask:
              match: {system: 'http://fhir.de/CodeSystem/ask'}
              schema:
                type: Coding
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ask'}
                array: true
                index: 25
                elements:
                  version: {index: 26}
                  display: {index: 27}
                required: [version, display]
      text: {index: 28}
  onsetDateTime:
    short: Klinischer Zeitraum datiert "von"
    type: dateTime
    choiceOf: onset
    index: 34
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: Klinischer Zeitraum datiert "von", type: dateTime, choiceOf: onset, index: 34}
          min: 0
          max: 1
  onset[x]:
    extensions:
      lebensphase-von: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', min: 0, max: 1, type: Extension, index: 38}
    elements:
      extension:
        type: Extension
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life
        index: 38
        slicing:
          slices:
            lebensphase-von:
              match: {}
              schema: {type: Extension, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', index: 38}
              min: 0
              max: 1
  verificationStatus:
    index: 9
    elements:
      coding:
        index: 10
        elements:
          system: {index: 11}
          version: {index: 12}
          code: {index: 13}
          display: {index: 14}
        required: [version, display, system, code]
    required: [coding]
  reaction:
    index: 50
    elements:
      manifestation:
        index: 51
        elements:
          coding:
            index: 52
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: example, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Reaction_Allergy'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    array: true
                    index: 53
                    elements:
                      system: {index: 54}
                      version: {index: 55}
                      code: {index: 56}
                      display: {index: 57}
                    required: [version, display, system, code]
          text: {index: 58}
      onset: {index: 59}
      severity: {index: 60}
      exposureRoute:
        index: 61
        elements:
          coding:
            index: 62
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: example, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Route_of_Administration_SNOMED_CT'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    index: 63
                    elements:
                      system: {index: 64}
                      code: {index: 65}
                    required: [system, code]
          text: {index: 66}
package_version: 1.7.0-Expansions
extensions:
  abatement: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_AllergyIntolerance_Abatement', min: 0, max: 1, type: Extension, short: Klinisch relevantes Enddatum, index: 1}
  abatement-lebensphase-bis: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', min: 0, max: 1, type: Extension, short: Lebensphase, index: 2}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.7.0
required: [code]