PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.10.0
    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.10.0']
    index: 49
  onset:
    choices: [onsetRange]
    index: 61
    slicing:
      slices:
        onsetRange:
          match: {}
          schema:
            choices: [onsetRange]
            index: 61
          min: 0
          max: 1
  category: {index: 36}
  criticality: {index: 37}
  clinicalStatus:
    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]
  onsetRange:
    type: Range
    choiceOf: onset
    index: 62
    slicing:
      slices:
        onsetRange:
          match: {}
          schema: {type: Range, choiceOf: onset, index: 62}
          min: 0
          max: 1
  onsetAge:
    short: Alter
    type: Age
    choiceOf: onset
    index: 57
    slicing:
      slices:
        onsetAge:
          match: {}
          schema: {short: Alter, type: Age, choiceOf: onset, index: 57}
          min: 0
          max: 1
  type: {index: 35}
  note:
    index: 70
    elements:
      author:
        choices: [authorString]
        index: 77
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 77
              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.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.10.0']
        type: Reference
        choiceOf: author
        index: 75
        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.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient|1.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Practitioner|1.10.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_RelatedPerson|1.10.0']
                type: Reference
                choiceOf: author
                index: 75
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 78
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 78}
              min: 0
              max: 1
      time: {index: 79}
      text: {index: 80}
  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: 13
                slicing:
                  slices:
                    valueRange:
                      match: {}
                      schema:
                        choices: [valueRange]
                        index: 13
                      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
              value[x]:
                extensions:
                  lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 16}
                elements:
                  extension:
                    short: Lebensphase
                    index: 15
                    slicing:
                      slices:
                        lebensphase-bis:
                          match: {}
                          schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 16}
                          min: 0
                          max: 1
                  low:
                    index: 17
                    elements:
                      value: {index: 18}
                      unit: {index: 19}
                  high:
                    index: 20
                    elements:
                      value: {index: 21}
                      unit: {index: 22}
              valueRange:
                type: Range
                choiceOf: value
                index: 14
                slicing:
                  slices:
                    valueRange:
                      match: {}
                      schema: {type: Range, choiceOf: value, index: 14}
                      min: 0
                      max: 1
  code:
    index: 38
    elements:
      coding:
        index: 39
        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: 40
                elements:
                  system: {index: 41}
                  version: {index: 42}
                  code: {index: 43}
                  display: {index: 44}
                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: 45
                elements:
                  version: {index: 46}
                  display: {index: 47}
                required: [version, display]
      text: {index: 48}
  onsetDateTime:
    short: Klinischer Zeitraum datiert "von"
    type: dateTime
    choiceOf: onset
    index: 54
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: Klinischer Zeitraum datiert "von", type: dateTime, choiceOf: onset, index: 54}
          min: 0
          max: 1
  onset[x]:
    extensions:
      lebensphase-von: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 63}
    elements:
      extension:
        type: Extension
        url: http://fhir.de/StructureDefinition/lebensphase
        index: 63
        slicing:
          slices:
            lebensphase-von:
              match: {}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 63}
              min: 0
              max: 1
      low:
        index: 64
        elements:
          value: {index: 65}
          unit: {index: 66}
      high:
        index: 67
        elements:
          value: {index: 68}
          unit: {index: 69}
  verificationStatus:
    index: 29
    elements:
      coding:
        index: 30
        elements:
          system: {index: 31}
          version: {index: 32}
          code: {index: 33}
          display: {index: 34}
        required: [version, display, system, code]
    required: [coding]
  reaction:
    index: 81
    elements:
      manifestation:
        index: 82
        elements:
          coding:
            index: 83
            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: 84
                    elements:
                      system: {index: 85}
                      version: {index: 86}
                      code: {index: 87}
                      display: {index: 88}
                    required: [version, display, system, code]
          text: {index: 89}
      onset: {index: 90}
      severity: {index: 91}
      exposureRoute:
        index: 92
        elements:
          coding:
            index: 93
            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: 94
                    elements:
                      system: {index: 95}
                      code: {index: 96}
                    required: [system, code]
          text: {index: 97}
package_version: 1.10.0
extensions:
  abatement:
    url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement
    type: Extension
    short: Klinisch relevantes Enddatum
    index: 1
    elements:
      value:
        choices: [valueRange]
        index: 13
        slicing:
          slices:
            valueRange:
              match: {}
              schema:
                choices: [valueRange]
                index: 13
              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
      value[x]:
        extensions:
          lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 16}
        elements:
          extension:
            short: Lebensphase
            index: 15
            slicing:
              slices:
                lebensphase-bis:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 16}
                  min: 0
                  max: 1
          low:
            index: 17
            elements:
              value: {index: 18}
              unit: {index: 19}
          high:
            index: 20
            elements:
              value: {index: 21}
              unit: {index: 22}
      valueRange:
        type: Range
        choiceOf: value
        index: 14
        slicing:
          slices:
            valueRange:
              match: {}
              schema: {type: Range, choiceOf: value, index: 14}
              min: 0
              max: 1
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.10.0
required: [code]