PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.fall@2024.1.0-alpha1
    https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
description: Kontakt zu einer Einrichtung, Abteilung oder Versorgungsstelle
package_name: de.medizininformatikinitiative.kerndatensatz.fall
derivation: constraint
name: MII_PR_Fall_KontaktGesundheitseinrichtung
type: Encounter
elements:
  diagnosis:
    short: Diagnosen
    mustSupport: true
    index: 36
    elements:
      condition: {short: Referenz zu Diagnose-Ressource, mustSupport: true, index: 37}
      use:
        short: Diagnosetyp
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/diagnosis-role'}
        mustSupport: true
        index: 38
        elements:
          coding:
            mustSupport: true
            index: 39
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              slices:
                Diagnosetyp:
                  match: {}
                  schema:
                    short: Diagnosetyp
                    mustSupport: true
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/DiagnoseTyp'}
                    index: 40
                  min: 0
                  max: 1
                DiagnosesubTyp:
                  match: {}
                  schema:
                    short: Diagnosesubtyp
                    mustSupport: true
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/Diagnosesubtyp'}
                    index: 41
                  min: 0
                  max: 1
        required: [coding]
      rank: {short: Rangfolge, mustSupport: true, index: 42}
    required: [use]
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  serviceProvider: {short: Leistungserbringer, mustSupport: true, index: 64}
  type:
    mustSupport: true
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Kontaktebene:
          match:
            coding:
            - {system: 'http://fhir.de/CodeSystem/Kontaktebene'}
          schema:
            short: Kontaktebene
            mustSupport: true
            binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/kontaktebene-de'}
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.de/CodeSystem/Kontaktebene'}
            index: 22
          min: 0
          max: 1
        KontaktArt:
          match:
            coding:
            - {system: 'http://fhir.de/CodeSystem/kontaktart-de'}
          schema:
            short: Kontaktart
            mustSupport: true
            binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/kontaktart-de'}
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.de/CodeSystem/kontaktart-de'}
            index: 23
          min: 0
          max: 1
  serviceType:
    short: Fachabteilung
    mustSupport: true
    index: 24
    elements:
      coding:
        mustSupport: true
        index: 25
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            Fachabteilungsschluessel:
              match: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel'}
              schema:
                short: Fachabteilungsschlüssel
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel'}
                index: 26
                elements:
                  system: {mustSupport: true, index: 27}
                  code: {mustSupport: true, index: 28}
                required: [system, code]
            ErweiterterFachabteilungsschluessel:
              match: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
              schema:
                short: Erweiterter Fachabteilungsschlüssel
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel-erweitert'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
                index: 29
                elements:
                  system: {mustSupport: true, index: 30}
                  code: {mustSupport: true, index: 31}
                required: [system, code]
  extension:
    short: Aufnahmegrund
    type: Extension
    mustSupport: true
    url: http://fhir.de/StructureDefinition/Aufnahmegrund
    index: 4
    slicing:
      slices:
        Aufnahmegrund:
          match: {}
          schema:
            short: Aufnahmegrund
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/Aufnahmegrund
            index: 4
            extensions:
              ErsteUndZweiteStelle: {url: null, mustSupport: true, index: 5}
              DritteStelle: {url: null, mustSupport: true, index: 6}
              VierteStelle: {url: null, mustSupport: true, index: 7}
            elements:
              extension:
                mustSupport: true
                index: 5
                slicing:
                  slices:
                    ErsteUndZweiteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 5}
                    DritteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 6}
                    VierteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 7}
        plannedStartDate:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate', index: 8}
          min: 0
          max: 1
        plannedEndDate:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate', index: 9}
          min: 0
          max: 1
  status:
    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/EncounterStatusDe'}
    mustSupport: true
    index: 19
  id: {mustSupport: true, index: 0}
  class:
    short: Kontaktklasse
    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/EncounterClassDE'}
    mustSupport: true
    index: 20
  identifier:
    mustSupport: true
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Aufnahmenummer:
          match:
            type:
              coding:
              - {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Aufnahmenummer
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 11
            elements:
              type:
                binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/identifier-type-codes'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 12
                elements:
                  coding:
                    index: 13
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: pattern}
                      min: 1
                      slices:
                        vn-type:
                          match: {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                          schema:
                            mustSupport: true
                            pattern:
                              type: Coding
                              value: {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                            _required: true
                            index: 14
                            elements:
                              system: {mustSupport: true, index: 15}
                              code: {mustSupport: true, index: 16}
                            required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
            required: [value, type, system]
  hospitalization:
    short: Klinikaufenthalt
    mustSupport: true
    index: 43
    elements:
      admitSource:
        short: Aufnahmeanlass
        binding: {strength: preferred, valueSet: 'http://fhir.de/ValueSet/dgkev/Aufnahmeanlass'}
        mustSupport: true
        index: 44
      dischargeDisposition:
        short: Entlassung
        mustSupport: true
        index: 45
        extensions:
          Entlassungsgrund: {url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', min: 0, max: 1, short: Entlassungsgrund, type: Extension, mustSupport: true, index: 46}
        elements:
          extension:
            short: Entlassungsgrund
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/Entlassungsgrund
            index: 46
            slicing:
              slices:
                Entlassungsgrund:
                  match: {}
                  schema: {short: Entlassungsgrund, type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', index: 46}
                  min: 0
                  max: 1
    required: [admitSource]
  period:
    short: Zeitraum des Kontaktes
    mustSupport: true
    index: 33
    elements:
      start: {short: Beginndatum, mustSupport: true, index: 34}
      end: {short: Enddatum, mustSupport: true, index: 35}
  partOf: {short: Teil von Kontakt, mustSupport: true, index: 65}
  location:
    short: Kontaktort
    mustSupport: true
    index: 47
    elements:
      physicalType:
        short: Kontaktorttyp
        binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/location-physical-type'}
        index: 48
    slicing:
      rules: open
      discriminator:
      - {path: physicalType, type: pattern}
      min: null
      slices:
        Zimmer:
          match:
            physicalType:
              coding:
              - {code: ro, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
          schema:
            short: Zimmer
            mustSupport: true
            index: 49
            elements:
              location:
                mustSupport: true
                index: 50
                elements:
                  identifier: {mustSupport: true, index: 51}
                  display: {mustSupport: true, index: 52}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ro, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 53
            required: [physicalType]
        Bett:
          match:
            physicalType:
              coding:
              - {code: bd, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
          schema:
            short: Bett
            mustSupport: true
            index: 54
            elements:
              location:
                mustSupport: true
                index: 55
                elements:
                  identifier: {mustSupport: true, index: 56}
                  display: {mustSupport: true, index: 57}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: bd, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 58
            required: [physicalType]
        Station:
          match:
            physicalType:
              coding:
              - {code: wa, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
          schema:
            short: Station
            mustSupport: true
            index: 59
            elements:
              location:
                mustSupport: true
                index: 60
                elements:
                  identifier: {mustSupport: true, index: 61}
                  display: {mustSupport: true, index: 62}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: wa, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 63
            required: [physicalType]
  subject: {short: Patientenidentifikator, mustSupport: true, index: 32}
package_version: 2024.1.0-alpha1
extensions:
  Aufnahmegrund:
    url: http://fhir.de/StructureDefinition/Aufnahmegrund
    short: Aufnahmegrund
    type: Extension
    mustSupport: true
    index: 4
    extensions:
      ErsteUndZweiteStelle: {url: null, mustSupport: true, index: 5}
      DritteStelle: {url: null, mustSupport: true, index: 6}
      VierteStelle: {url: null, mustSupport: true, index: 7}
    elements:
      extension:
        mustSupport: true
        index: 5
        slicing:
          slices:
            ErsteUndZweiteStelle:
              match: {}
              schema: {mustSupport: true, index: 5}
            DritteStelle:
              match: {}
              schema: {mustSupport: true, index: 6}
            VierteStelle:
              match: {}
              schema: {mustSupport: true, index: 7}
  plannedStartDate: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate', min: 0, max: 1, type: Extension, index: 8}
  plannedEndDate: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate', min: 0, max: 1, type: Extension, index: 9}
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 2024.1.0
required: [subject]