PackagesCanonicalsLogsProblems
    Packages
    fhir.erezept.validator@0.4.7
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance
description: Hier wird eine einzelne Allergie oder Unverträglichkeit abgebildet.
package_name: fhir.erezept.validator
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: 28
  onset:
    short: Lebensphasen von/bis
    choices: [onsetAge]
    index: 35
    slicing:
      slices:
        onsetAge:
          match: {}
          schema:
            short: Lebensphasen von/bis
            choices: [onsetAge]
            index: 35
          min: 0
          max: 1
  category: {index: 15}
  criticality: {index: 16}
  clinicalStatus:
    index: 2
    elements:
      coding:
        index: 3
        elements:
          system: {index: 4}
          version: {index: 5}
          code: {index: 6}
          display: {index: 7}
        required: [version, display, system, code]
    required: [coding]
  onsetAge:
    short: Lebensphasen von/bis
    type: Age
    choiceOf: onset
    index: 36
    slicing:
      slices:
        onsetAge:
          match: {}
          schema: {short: Lebensphasen von/bis, type: Age, choiceOf: onset, index: 36}
          min: 0
          max: 1
  type: {index: 14}
  note:
    index: 38
    elements:
      author:
        choices: [authorString]
        index: 45
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 45
              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: 43
        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: 43
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 46
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 46}
              min: 0
              max: 1
      time: {index: 47}
      text: {index: 48}
  extension:
    type: Extension
    short: Klinisch relevantes Enddatum
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_AllergyIntolerance_Abatement
    index: 0
    slicing:
      slices:
        abatement:
          match: {}
          schema: {type: Extension, short: Klinisch relevantes Enddatum, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_AllergyIntolerance_Abatement', index: 0}
          min: 0
          max: 1
        abatement-lebensphase-bis:
          match: {}
          schema: {type: Extension, short: Lebensphase, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', index: 1}
          min: 0
          max: 1
  code:
    index: 17
    elements:
      coding:
        index: 18
        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: 19
                elements:
                  system: {index: 20}
                  version: {index: 21}
                  code: {index: 22}
                  display: {index: 23}
                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: 24
                elements:
                  version: {index: 25}
                  display: {index: 26}
                required: [version, display]
      text: {index: 27}
  onsetDateTime:
    short: Klinischer Zeitraum datiert "von"
    type: dateTime
    choiceOf: onset
    index: 33
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: Klinischer Zeitraum datiert "von", type: dateTime, choiceOf: onset, index: 33}
          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: 37}
    elements:
      extension:
        type: Extension
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life
        index: 37
        slicing:
          slices:
            lebensphase-von:
              match: {}
              schema: {type: Extension, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', index: 37}
              min: 0
              max: 1
  verificationStatus:
    index: 8
    elements:
      coding:
        index: 9
        elements:
          system: {index: 10}
          version: {index: 11}
          code: {index: 12}
          display: {index: 13}
        required: [version, display, system, code]
    required: [coding]
  reaction:
    index: 49
    elements:
      manifestation:
        index: 50
        elements:
          coding:
            index: 51
            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: 52
                    elements:
                      system: {index: 53}
                      version: {index: 54}
                      code: {index: 55}
                      display: {index: 56}
                    required: [version, display, system, code]
          text: {index: 57}
      onset: {index: 58}
      severity: {index: 59}
      exposureRoute:
        index: 60
        elements:
          coding:
            index: 61
            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: 62
                    elements:
                      system: {index: 63}
                      code: {index: 64}
                    required: [system, code]
          text: {index: 65}
package_version: 0.4.7
extensions:
  abatement: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_AllergyIntolerance_Abatement', min: 0, max: 1, type: Extension, short: Klinisch relevantes Enddatum, index: 0}
  abatement-lebensphase-bis: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life', min: 0, max: 1, type: Extension, short: Lebensphase, index: 1}
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]