PackagesCanonicalsLogsProblems
    Packages
    de.gevko.emdaf@1.2.0
    https://fhir.gevko.de/StructureDefinition/EMDAF_PR_AllergyIntolerance
description: Allergien und Unverträglichkeiten - AllergyIntolerance für das elektronische Medikations-Datenaustauschformat (eMDAF)
package_name: de.gevko.emdaf
derivation: constraint
name: EMDAF_PR_AllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Patient']
    index: 60
    elements:
      reference: {mustSupport: true, index: 61}
      type: {index: 62}
      identifier: {index: 63}
      display: {index: 64}
    required: [reference]
  onset:
    short: Zeitangaben
    mustSupport: true
    choices: [onsetPeriod]
    index: 67
  category: {index: 42}
  criticality: {mustSupport: true, index: 43}
  clinicalStatus:
    mustSupport: true
    index: 25
    elements:
      coding:
        mustSupport: true
        index: 26
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'}
            mustSupport: true
            index: 27
          version: {index: 28}
          code: {short: active | inactive | resolved, mustSupport: true, index: 29}
          display: {index: 30}
          userSelected: {index: 31}
        required: [system, code]
      text: {index: 32}
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_AllergyIntolerance|1.2'}
        index: 1
    required: [profile]
  encounter: {index: 65}
  implicitRules: {index: 2}
  onsetPeriod: {type: Period, short: Zeitangaben, mustSupport: true, choiceOf: onset, index: 68}
  type: {short: Allergie oder Unverträglichkeit, mustSupport: true, index: 41}
  asserter:
    type: Reference
    short: Informationsquelle
    refers: ['https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Patient', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_PractitionerRole_Apotheker', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_PractitionerRole_Arzt', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Practitioner_Apotheker', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Practitioner_Arzt', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_RelatedPerson']
    index: 77
    elements:
      reference: {index: 78}
      type: {index: 79}
      identifier:
        index: 80
        elements:
          use: {index: 81}
          type:
            mustSupport: true
            index: 82
            elements:
              coding:
                mustSupport: true
                index: 83
                elements:
                  system:
                    short: urn:oid:2.16.840.1.113883.1.11.10267
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction'}
                    mustSupport: true
                    index: 84
                  code: {mustSupport: true, index: 85}
                  display: {mustSupport: true, index: 86}
                  userSelected: {index: 87}
                required: [system, code]
          system: {index: 88}
          value: {index: 89}
          period: {index: 90}
          assigner: {index: 91}
        required: [type]
      display: {index: 92}
    required: [reference]
  extension:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        Druckkennzeichen_Allergien_Unvertraeglichkeiten:
          match: {url: null}
          schema:
            type: Extension
            short: Kennzeichen ob Allergien und Unverträglichkeiten auf einem BMP ausgedruckt werden sollen.
            mustSupport: true
            url: https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Druckkennzeichen
            index: 6
            elements:
              value:
                short: Kennzeichen ob Allergien und Unverträglichkeiten auf einem BMP ausgedruckt werden sollen.
                mustSupport: true
                choices: []
                index: 8
        Vorhabenspezifische_Erweiterung_Zusatzinformation:
          match: {url: null}
          schema:
            type: Extension
            short: Vorhabenspezifische Erweiterung/Zusatzinformation des Datensatzes
            mustSupport: true
            url: https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Zusatzinformation
            index: 9
            extensions:
              Zusatzinformation_Text:
                url: null
                short: Der Wert der vorhabenspezifischen Erweiterung/Zusatzinformation
                mustSupport: true
                _required: true
                index: 11
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 13
              Zusatzinformation_Code:
                url: null
                short: Identifikation der Erweiterung/Zusatzinformation
                mustSupport: true
                index: 14
                elements:
                  value:
                    mustSupport: true
                    choices: [valueUri]
                    index: 16
                  valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 17}
            elements:
              extension:
                index: 10
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    Zusatzinformation_Text:
                      match: {url: null}
                      schema:
                        short: Der Wert der vorhabenspezifischen Erweiterung/Zusatzinformation
                        mustSupport: true
                        _required: true
                        index: 11
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 13
                    Zusatzinformation_Code:
                      match: {url: null}
                      schema:
                        short: Identifikation der Erweiterung/Zusatzinformation
                        mustSupport: true
                        index: 14
                        elements:
                          value:
                            mustSupport: true
                            choices: [valueUri]
                            index: 16
                          valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 17}
            required: [extension]
  contained: {index: 4}
  recordedDate: {short: Zeitpunkt der Information, mustSupport: true, index: 71}
  language: {index: 3}
  recorder:
    type: Reference
    short: Autor dieser Information ist ein Gesundheitsdienstleister
    refers: ['https://fhir.gevko.de/StructureDefinition/EMDAF_PR_PractitionerRole_Apotheker', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_PractitionerRole_Arzt', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Practitioner_Apotheker', 'https://fhir.gevko.de/StructureDefinition/EMDAF_PR_Practitioner_Arzt']
    index: 72
    elements:
      reference: {index: 73}
      type: {index: 74}
      identifier: {index: 75}
      display: {index: 76}
    required: [reference]
  code:
    short: Agens. Substanz oder Stoff, für die eine Allergie/Unverträglichkeit vorliegt.
    mustSupport: true
    index: 44
    elements:
      coding:
        short: 'Angabe: Allergie oder Unverträglichkeit'
        mustSupport: true
        index: 45
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            atc:
              match: {system: null}
              schema: {type: Coding, mustSupport: true, index: 46}
              max: 1
            edqm:
              match: {system: 'http://fhir.de/CodeSystem/edqm/dose-form'}
              schema:
                mustSupport: true
                index: 47
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/edqm/dose-form'}
                    mustSupport: true
                    index: 48
                  code: {mustSupport: true, index: 49}
                  display: {mustSupport: true, index: 50}
                  userSelected: {index: 51}
                required: [system]
            pzn:
              match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
              schema:
                mustSupport: true
                index: 52
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/ifa/pzn'}
                    mustSupport: true
                    index: 53
                  version: {index: 54}
                  code: {mustSupport: true, index: 55}
                  display: {index: 56}
                  userSelected: {index: 57}
                required: [system, code]
            allergyintolerance-code:
              match: {system: null}
              schema:
                short: Allergien und Unverträglichkeiten
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'https://fhir.gevko.de/ValueSet/EMDAF_AllergiesIntolerances_Code'}
                index: 58
              max: 1
      text: {short: Substanz/Substanzgruppe als Freitext, mustSupport: true, index: 59}
  identifier:
    mustSupport: true
    index: 18
    elements:
      use: {index: 19}
      type:
        mustSupport: true
        index: 20
        elements:
          coding:
            mustSupport: true
            index: 21
            elements:
              system: {index: 22}
      period: {index: 23}
      assigner: {index: 24}
  onset[x]:
    elements:
      start: {short: von, index: 69}
      end: {short: bis, index: 70}
  lastOccurrence: {index: 93}
  verificationStatus:
    mustSupport: true
    index: 33
    elements:
      coding:
        mustSupport: true
        index: 34
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'}
            mustSupport: true
            index: 35
          version: {index: 36}
          code: {short: unconfirmed | confirmed | refuted | entered-in-error, mustSupport: true, index: 37}
          display: {index: 38}
          userSelected: {index: 39}
        required: [system, code]
      text: {index: 40}
    required: [coding]
  reaction:
    short: Reaktion/Manifestation
    mustSupport: true
    index: 94
    elements:
      substance: {index: 95}
      manifestation:
        short: Art der Reaktion
        mustSupport: true
        index: 96
        elements:
          coding: {index: 97}
          text: {short: Freitext für die Art der Reaktion, mustSupport: true, index: 98}
        required: [text]
      exposureRoute: {index: 99}
package_version: 1.2.0
extensions:
  Druckkennzeichen_Allergien_Unvertraeglichkeiten:
    url: https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Druckkennzeichen
    type: Extension
    short: Kennzeichen ob Allergien und Unverträglichkeiten auf einem BMP ausgedruckt werden sollen.
    mustSupport: true
    index: 6
    elements:
      value:
        short: Kennzeichen ob Allergien und Unverträglichkeiten auf einem BMP ausgedruckt werden sollen.
        mustSupport: true
        choices: []
        index: 8
  Vorhabenspezifische_Erweiterung_Zusatzinformation:
    url: https://fhir.gevko.de/StructureDefinition/EMDAF_EX_Zusatzinformation
    type: Extension
    short: Vorhabenspezifische Erweiterung/Zusatzinformation des Datensatzes
    mustSupport: true
    index: 9
    extensions:
      Zusatzinformation_Text:
        url: null
        short: Der Wert der vorhabenspezifischen Erweiterung/Zusatzinformation
        mustSupport: true
        _required: true
        index: 11
        elements:
          value:
            mustSupport: true
            choices: []
            index: 13
      Zusatzinformation_Code:
        url: null
        short: Identifikation der Erweiterung/Zusatzinformation
        mustSupport: true
        index: 14
        elements:
          value:
            mustSupport: true
            choices: [valueUri]
            index: 16
          valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 17}
    elements:
      extension:
        index: 10
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            Zusatzinformation_Text:
              match: {url: null}
              schema:
                short: Der Wert der vorhabenspezifischen Erweiterung/Zusatzinformation
                mustSupport: true
                _required: true
                index: 11
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 13
            Zusatzinformation_Code:
              match: {url: null}
              schema:
                short: Identifikation der Erweiterung/Zusatzinformation
                mustSupport: true
                index: 14
                elements:
                  value:
                    mustSupport: true
                    choices: [valueUri]
                    index: 16
                  valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 17}
    required: [extension]
class: profile
kind: resource
url: https://fhir.gevko.de/StructureDefinition/EMDAF_PR_AllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: '1.2'
required: [recordedDate, type, meta, code]