PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.8.0-Resources
    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.8.0']
    index: 43
  onset:
    choices: [onsetRange]
    index: 53
    slicing:
      slices:
        onsetRange:
          match: {}
          schema:
            choices: [onsetRange]
            index: 53
          min: 0
          max: 1
  category: {index: 30}
  criticality: {index: 31}
  clinicalStatus:
    index: 17
    elements:
      coding:
        index: 18
        elements:
          system: {index: 19}
          version: {index: 20}
          code: {index: 21}
          display: {index: 22}
        required: [version, display, system, code]
    required: [coding]
  onsetRange:
    type: Range
    choiceOf: onset
    index: 54
    slicing:
      slices:
        onsetRange:
          match: {}
          schema: {type: Range, choiceOf: onset, index: 54}
          min: 0
          max: 1
  onsetAge:
    short: Alter
    type: Age
    choiceOf: onset
    index: 51
    slicing:
      slices:
        onsetAge:
          match: {}
          schema: {short: Alter, type: Age, choiceOf: onset, index: 51}
          min: 0
          max: 1
  type: {index: 29}
  note:
    index: 58
    elements:
      author:
        choices: [authorString]
        index: 65
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 65
              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.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.8.0']
        type: Reference
        choiceOf: author
        index: 63
        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.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.8.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.8.0']
                type: Reference
                choiceOf: author
                index: 63
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 66
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 66}
              min: 0
              max: 1
      time: {index: 67}
      text: {index: 68}
  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: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement
            index: 1
            elements:
              value:
                choices: [valueRange]
                index: 11
                slicing:
                  slices:
                    valueRange:
                      match: {}
                      schema:
                        choices: [valueRange]
                        index: 11
                      min: 0
                      max: 1
              valueDateTime:
                type: dateTime
                choiceOf: value
                index: 6
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, choiceOf: value, index: 6}
                      min: 0
                      max: 1
              valueAge:
                type: Age
                choiceOf: value
                index: 9
                slicing:
                  slices:
                    valueAge:
                      match: {}
                      schema: {type: Age, choiceOf: value, index: 9}
                      min: 0
                      max: 1
              valueRange:
                type: Range
                choiceOf: value
                index: 12
                slicing:
                  slices:
                    valueRange:
                      match: {}
                      schema: {type: Range, choiceOf: value, index: 12}
                      min: 0
                      max: 1
              value[x]:
                extensions:
                  lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 14}
                elements:
                  extension:
                    short: Lebensphase
                    index: 13
                    slicing:
                      slices:
                        lebensphase-bis:
                          match: {}
                          schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 14}
                          min: 0
                          max: 1
                  low: {index: 15}
                  high: {index: 16}
  code:
    index: 32
    elements:
      coding:
        index: 33
        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: 34
                elements:
                  system: {index: 35}
                  version: {index: 36}
                  code: {index: 37}
                  display: {index: 38}
                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: 39
                elements:
                  version: {index: 40}
                  display: {index: 41}
                required: [version, display]
      text: {index: 42}
  onsetDateTime:
    short: Klinischer Zeitraum datiert "von"
    type: dateTime
    choiceOf: onset
    index: 48
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: Klinischer Zeitraum datiert "von", type: dateTime, choiceOf: onset, index: 48}
          min: 0
          max: 1
  onset[x]:
    extensions:
      lebensphase-von: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 55}
    elements:
      extension:
        type: Extension
        url: http://fhir.de/StructureDefinition/lebensphase
        index: 55
        slicing:
          slices:
            lebensphase-von:
              match: {}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 55}
              min: 0
              max: 1
      low: {index: 56}
      high: {index: 57}
  verificationStatus:
    index: 23
    elements:
      coding:
        index: 24
        elements:
          system: {index: 25}
          version: {index: 26}
          code: {index: 27}
          display: {index: 28}
        required: [version, display, system, code]
    required: [coding]
  reaction:
    index: 69
    elements:
      manifestation:
        index: 70
        elements:
          coding:
            index: 71
            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: 72
                    elements:
                      system: {index: 73}
                      version: {index: 74}
                      code: {index: 75}
                      display: {index: 76}
                    required: [version, display, system, code]
          text: {index: 77}
      onset: {index: 78}
      severity: {index: 79}
      exposureRoute:
        index: 80
        elements:
          coding:
            index: 81
            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: 82
                    elements:
                      system: {index: 83}
                      code: {index: 84}
                    required: [system, code]
          text: {index: 85}
package_version: 1.8.0-Resources
extensions:
  abatement:
    url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement
    type: Extension
    short: Klinisch relevantes Enddatum
    index: 1
    elements:
      value:
        choices: [valueRange]
        index: 11
        slicing:
          slices:
            valueRange:
              match: {}
              schema:
                choices: [valueRange]
                index: 11
              min: 0
              max: 1
      valueDateTime:
        type: dateTime
        choiceOf: value
        index: 6
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, choiceOf: value, index: 6}
              min: 0
              max: 1
      valueAge:
        type: Age
        choiceOf: value
        index: 9
        slicing:
          slices:
            valueAge:
              match: {}
              schema: {type: Age, choiceOf: value, index: 9}
              min: 0
              max: 1
      valueRange:
        type: Range
        choiceOf: value
        index: 12
        slicing:
          slices:
            valueRange:
              match: {}
              schema: {type: Range, choiceOf: value, index: 12}
              min: 0
              max: 1
      value[x]:
        extensions:
          lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 14}
        elements:
          extension:
            short: Lebensphase
            index: 13
            slicing:
              slices:
                lebensphase-bis:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 14}
                  min: 0
                  max: 1
          low: {index: 15}
          high: {index: 16}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.8.0
required: [code]