PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.fall@2024.0.0-alpha6
    https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
description: null
package_name: de.medizininformatikinitiative.kerndatensatz.fall
derivation: constraint
name: MII_PR_Fall_KontaktGesundheitseinrichtung
type: Encounter
elements:
  diagnosis:
    mustSupport: true
    index: 34
    elements:
      condition: {mustSupport: true, index: 35}
      use:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/diagnosis-role'}
        mustSupport: true
        index: 36
        elements:
          coding:
            mustSupport: true
            index: 37
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              slices:
                Diagnosetyp:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/DiagnoseTyp'}
                    mustSupport: true
                    index: 38
                  min: 0
                  max: 1
                DiagnosesubTyp:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/Diagnosesubtyp'}
                    mustSupport: true
                    index: 39
                  min: 0
                  max: 1
        required: [coding]
      rank: {mustSupport: true, index: 40}
    required: [use]
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  serviceProvider: {mustSupport: true, index: 62}
  type:
    mustSupport: true
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Kontaktebene:
          match:
            coding:
            - {system: 'http://fhir.de/CodeSystem/Kontaktebene'}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/kontaktebene-de'}
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.de/CodeSystem/Kontaktebene'}
            index: 20
          min: 0
          max: 1
        KontaktArt:
          match:
            coding:
            - {system: 'http://fhir.de/CodeSystem/kontaktart-de'}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/kontaktart-de'}
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.de/CodeSystem/kontaktart-de'}
            index: 21
          min: 0
          max: 1
  serviceType:
    mustSupport: true
    index: 22
    elements:
      coding:
        mustSupport: true
        index: 23
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            Fachabteilungsschluessel:
              match: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel'}
                index: 24
                elements:
                  system: {mustSupport: true, index: 25}
                  code: {mustSupport: true, index: 26}
                required: [system, code]
            ErweiterterFachabteilungsschluessel:
              match: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
                index: 27
                elements:
                  system: {mustSupport: true, index: 28}
                  code: {mustSupport: true, index: 29}
                required: [system, code]
  extension:
    type: Extension
    mustSupport: true
    url: http://fhir.de/StructureDefinition/Aufnahmegrund
    index: 4
    slicing:
      slices:
        Aufnahmegrund:
          match: {}
          schema:
            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}
  status:
    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/EncounterStatusDe'}
    mustSupport: true
    index: 17
  id: {mustSupport: true, index: 0}
  class:
    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/EncounterClassDE'}
    mustSupport: true
    index: 18
  identifier:
    mustSupport: true
    index: 8
    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:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: VN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 9
            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: 10
                elements:
                  coding:
                    index: 11
                    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: 12
                            elements:
                              system: {mustSupport: true, index: 13}
                              code: {mustSupport: true, index: 14}
                            required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 15}
              value: {mustSupport: true, index: 16}
            required: [value, type, system]
  hospitalization:
    mustSupport: true
    index: 41
    elements:
      admitSource:
        binding: {strength: preferred, valueSet: 'http://fhir.de/ValueSet/dgkev/Aufnahmeanlass'}
        mustSupport: true
        index: 42
      dischargeDisposition:
        mustSupport: true
        index: 43
        extensions:
          Entlassungsgrund: {url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', min: 0, max: 1, type: Extension, mustSupport: true, index: 44}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/Entlassungsgrund
            index: 44
            slicing:
              slices:
                Entlassungsgrund:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', index: 44}
                  min: 0
                  max: 1
    required: [admitSource]
  period:
    mustSupport: true
    index: 31
    elements:
      start: {mustSupport: true, index: 32}
      end: {mustSupport: true, index: 33}
    required: [start]
  partOf: {mustSupport: true, index: 63}
  location:
    mustSupport: true
    index: 45
    elements:
      physicalType:
        binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/location-physical-type'}
        index: 46
    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:
            mustSupport: true
            index: 47
            elements:
              location:
                mustSupport: true
                index: 48
                elements:
                  identifier: {mustSupport: true, index: 49}
                  display: {mustSupport: true, index: 50}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ro, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 51
            required: [physicalType]
        Bett:
          match:
            physicalType:
              coding:
              - {code: bd, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
          schema:
            mustSupport: true
            index: 52
            elements:
              location:
                mustSupport: true
                index: 53
                elements:
                  identifier: {mustSupport: true, index: 54}
                  display: {mustSupport: true, index: 55}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: bd, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 56
            required: [physicalType]
        Station:
          match:
            physicalType:
              coding:
              - {code: wa, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
          schema:
            mustSupport: true
            index: 57
            elements:
              location:
                mustSupport: true
                index: 58
                elements:
                  identifier: {mustSupport: true, index: 59}
                  display: {mustSupport: true, index: 60}
                required: [identifier, display]
              physicalType:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: wa, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                index: 61
            required: [physicalType]
  subject: {mustSupport: true, index: 30}
package_version: 2024.0.0-alpha6
extensions:
  Aufnahmegrund:
    url: http://fhir.de/StructureDefinition/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}
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.0.0-ballot
required: [subject, period]