PackagesCanonicalsLogsProblems
    Packages
    de.gematik.dev.epa@1.1.0-alpha.5
    https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance
description: Dieses Profil bildet eine Allergie oder Unverträglichkeit ab.
package_name: de.gematik.dev.epa
derivation: constraint
name: EPAAllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    mustSupport: true
    index: 40
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 41}
    required: [identifier]
  onset:
    mustSupport: true
    choices: [onsetPeriod]
    index: 56
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetPeriod]
            index: 56
          min: 0
          max: 1
  category: {mustSupport: true, index: 21}
  criticality: {mustSupport: true, index: 22}
  clinicalStatus:
    mustSupport: true
    index: 8
    elements:
      coding:
        mustSupport: true
        index: 9
        elements:
          system: {mustSupport: true, index: 10}
          version: {mustSupport: true, index: 11}
          code: {mustSupport: true, index: 12}
          display: {mustSupport: true, index: 13}
        required: [version, display, system, code]
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  onsetAge:
    short: Klinischer Zeitraum
    type: Age
    mustSupport: true
    choiceOf: onset
    index: 52
    slicing:
      slices:
        onsetAge:
          match: {}
          schema: {short: Klinischer Zeitraum, type: Age, mustSupport: true, choiceOf: onset, index: 52}
          min: 0
          max: 1
  onsetPeriod:
    type: Period
    mustSupport: true
    choiceOf: onset
    index: 57
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: onset, index: 57}
          min: 0
          max: 1
  type: {mustSupport: true, index: 20}
  asserter:
    mustSupport: true
    index: 62
    elements:
      reference: {mustSupport: true, index: 63}
      identifier: {type: Identifier, mustSupport: true, index: 64}
  note:
    mustSupport: true
    index: 65
    elements:
      author:
        mustSupport: true
        choices: [authorReference]
        index: 70
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                mustSupport: true
                choices: [authorReference]
                index: 70
              min: 0
              max: 1
      authorReference:
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner']
        type: Reference
        mustSupport: true
        choiceOf: author
        index: 71
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner']
                type: Reference
                mustSupport: true
                choiceOf: author
                index: 71
              min: 0
              max: 1
      author[x]:
        elements:
          reference: {mustSupport: true, index: 72}
          identifier: {type: Identifier, mustSupport: true, index: 73}
      time: {mustSupport: true, index: 74}
      text: {mustSupport: true, index: 75}
  extension:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      ordered: false
      description: Extensions are always sliced by (at least) url
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        abatement:
          match: {url: null}
          schema: {short: Klinisch relevantes Enddatum, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance-abatement-extension', index: 6}
          min: 0
          max: 1
        abatement-phase-until:
          match: {url: null}
          schema: {short: abatement-lebensphase-bis, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa/StructureDefinition/epa-stage-life-extension', index: 7}
          min: 0
          max: 1
  recorder:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 60
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 61}
  code:
    mustSupport: true
    index: 23
    elements:
      coding:
        mustSupport: true
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa/ValueSet/epa-allergy-substance-snomed-ct-vs'}
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 25
                elements:
                  system: {mustSupport: true, index: 26}
                  version: {mustSupport: true, index: 27}
                  code: {mustSupport: true, index: 28}
                  display: {mustSupport: true, index: 29}
                required: [version, display, system, code]
            ask:
              match: {system: 'http://fhir.de/CodeSystem/ask'}
              schema:
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/ask'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ask'}
                index: 30
                elements:
                  system: {mustSupport: true, index: 31}
                  code: {mustSupport: true, index: 32}
                  display: {mustSupport: true, index: 33}
                required: [display]
            atc-de:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
              schema:
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/bfarm/atc'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                index: 34
                elements:
                  system: {mustSupport: true, index: 35}
                  version: {mustSupport: true, index: 36}
                  code: {mustSupport: true, index: 37}
                  display: {mustSupport: true, index: 38}
                required: [display]
      text: {mustSupport: true, index: 39}
  onsetDateTime:
    short: Klinischer Zeitraum datiert "von"
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 49
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: Klinischer Zeitraum datiert "von", type: dateTime, mustSupport: true, choiceOf: onset, index: 49}
          min: 0
          max: 1
  onset[x]:
    elements:
      start: {mustSupport: true, index: 58}
      end: {mustSupport: true, index: 59}
  verificationStatus:
    mustSupport: true
    index: 14
    elements:
      coding:
        mustSupport: true
        index: 15
        elements:
          system: {mustSupport: true, index: 16}
          version: {mustSupport: true, index: 17}
          code: {mustSupport: true, index: 18}
          display: {mustSupport: true, index: 19}
        required: [version, display, system, code]
    required: [coding]
  reaction:
    mustSupport: true
    index: 76
    elements:
      substance:
        mustSupport: true
        index: 77
        elements:
          coding:
            mustSupport: true
            index: 78
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    mustSupport: true
                    binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa/ValueSet/epa-allergy-substance-snomed-ct-vs'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    index: 79
                    elements:
                      system: {mustSupport: true, index: 80}
                      version: {mustSupport: true, index: 81}
                      code: {mustSupport: true, index: 82}
                      display: {mustSupport: true, index: 83}
                    required: [version, display, system, code]
                ask:
                  match: {system: 'http://fhir.de/CodeSystem/ask'}
                  schema:
                    type: Coding
                    mustSupport: true
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/ask'}
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ask'}
                    index: 84
                    elements:
                      system: {mustSupport: true, index: 85}
                      code: {mustSupport: true, index: 86}
                      display: {mustSupport: true, index: 87}
                    required: [display]
                atc-de:
                  match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                  schema:
                    type: Coding
                    mustSupport: true
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/bfarm/atc'}
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                    index: 88
                    elements:
                      system: {mustSupport: true, index: 89}
                      version: {mustSupport: true, index: 90}
                      code: {mustSupport: true, index: 91}
                      display: {mustSupport: true, index: 92}
                    required: [display]
          text: {mustSupport: true, index: 93}
      manifestation:
        mustSupport: true
        index: 94
        elements:
          coding:
            mustSupport: true
            index: 95
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    mustSupport: true
                    binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/epa/ValueSet/epa-allergy-reaction-snomed-ct-vs'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    index: 96
                    elements:
                      system: {mustSupport: true, index: 97}
                      version: {mustSupport: true, index: 98}
                      code: {mustSupport: true, index: 99}
                      display: {mustSupport: true, index: 100}
                    required: [version, display, system, code]
          text: {mustSupport: true, index: 101}
      description: {mustSupport: true, index: 102}
      onset: {mustSupport: true, index: 103}
      severity: {mustSupport: true, index: 104}
      exposureRoute:
        mustSupport: true
        index: 105
        elements:
          coding:
            mustSupport: true
            index: 106
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    mustSupport: true
                    binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/epa/ValueSet/epa-route-of-administration-snomed-ct-vs'}
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    index: 107
                    elements:
                      system: {mustSupport: true, index: 108}
                      version: {mustSupport: true, index: 109}
                      code: {mustSupport: true, index: 110}
                      display: {mustSupport: true, index: 111}
                    required: [version, display, system, code]
                edqmCode:
                  match: {system: 'http://standardterms.edqm.eu'}
                  schema:
                    mustSupport: true
                    binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa/ValueSet/epa-medicine-route-of-administration-eqdm-vs'}
                    pattern:
                      type: Coding
                      value: {system: 'http://standardterms.edqm.eu'}
                    index: 112
                    elements:
                      system: {mustSupport: true, index: 113}
                      code: {mustSupport: true, index: 114}
                      display: {mustSupport: true, index: 115}
                    required: [display, system, code]
          text: {mustSupport: true, index: 116}
  text:
    index: 3
    elements:
      status:
        pattern: {type: Code, value: extensions}
        index: 4
package_version: 1.1.0-alpha.5
extensions:
  abatement: {url: 'https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance-abatement-extension', min: 0, max: 1, short: Klinisch relevantes Enddatum, type: Extension, mustSupport: true, index: 6}
  abatement-phase-until: {url: 'https://gematik.de/fhir/epa/StructureDefinition/epa-stage-life-extension', min: 0, max: 1, short: abatement-lebensphase-bis, type: Extension, mustSupport: true, index: 7}
class: profile
kind: resource
url: https://gematik.de/fhir/epa/StructureDefinition/epa-allergy-intolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.1.0-rc1
required: [code]