PackagesCanonicalsLogsProblems
    Packages
    de.gematik.isik@basismodul-3.0.3
    https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKKontaktGesundheitseinrichtung
description: Dieses Profil ermöglicht die Herstellung eines Fallbezuges welcher in der Mehrheit der ISiK Szenarien im Krankenhaus essentiell ist.
package_name: de.gematik.isik
derivation: constraint
name: ISiKKontaktGesundheitseinrichtung
type: Encounter
elements:
  diagnosis:
    mustSupport: true
    index: 31
    elements:
      condition:
        mustSupport: true
        index: 32
        elements:
          reference: {mustSupport: true, index: 33}
        required: [reference]
      use:
        mustSupport: true
        index: 34
        elements:
          coding:
            mustSupport: true
            index: 35
            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
                    _required: true
                    index: 36
                  min: 1
                  max: 1
                DiagnosesubTyp:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/Diagnosesubtyp'}
                    mustSupport: true
                    array: true
                    index: 37
                  min: 0
        required: [coding]
      rank: {mustSupport: true, index: 38}
    required: [use]
  serviceProvider:
    mustSupport: true
    index: 64
    elements:
      identifier: {mustSupport: true, index: 65}
      display: {mustSupport: true, index: 66}
    required: [identifier, display]
  type:
    mustSupport: true
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        Kontaktebene:
          match:
            coding:
            - {code: abteilungskontakt, system: 'http://fhir.de/CodeSystem/Kontaktebene'}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/kontaktebene-de'}
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: abteilungskontakt, system: 'http://fhir.de/CodeSystem/Kontaktebene'}
            _required: true
            index: 20
          min: 1
          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: 1
          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
              min: 0
              max: 1
            ErweiterterFachabteilungsschluessel:
              match: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/dkgev/Fachabteilungsschluessel-erweitert'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert'}
                index: 25
              min: 0
              max: 1
    required: [coding]
  account:
    mustSupport: true
    index: 39
    elements:
      reference: {mustSupport: true, index: 40}
      identifier: {mustSupport: true, index: 41}
    required: [identifier]
  extension:
    mustSupport: true
    index: 1
    slicing:
      slices:
        Aufnahmegrund:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/Aufnahmegrund
            index: 2
            extensions:
              ErsteUndZweiteStelle: {url: null, mustSupport: true, index: 3}
              DritteStelle: {url: null, mustSupport: true, index: 4}
              VierteStelle: {url: null, mustSupport: true, index: 5}
            elements:
              extension:
                mustSupport: true
                index: 3
                slicing:
                  slices:
                    ErsteUndZweiteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 3}
                    DritteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 4}
                    VierteStelle:
                      match: {}
                      schema: {mustSupport: true, index: 5}
        plannedStartDate:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate', index: 6}
          min: 0
          max: 1
        plannedEndDate:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate', index: 7}
          min: 0
          max: 1
  status:
    short: planned | in-progress | onleave | finished | cancelled +
    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: 1
      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:
                mustSupport: true
                index: 10
                elements:
                  coding:
                    mustSupport: true
                    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: {index: 15}
              value: {index: 16}
            required: [value, type, system]
  hospitalization:
    mustSupport: true
    index: 42
    extensions:
      Wahlleistung: {url: 'http://fhir.de/StructureDefinition/Wahlleistung', min: 0, type: Extension, mustSupport: true, index: 43}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://fhir.de/StructureDefinition/Wahlleistung
        index: 43
        slicing:
          slices:
            Wahlleistung:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/Wahlleistung', index: 43}
              min: 0
      admitSource:
        binding: {strength: extensible, valueSet: 'http://fhir.de/ValueSet/dgkev/Aufnahmeanlass'}
        mustSupport: true
        index: 44
      dischargeDisposition:
        mustSupport: true
        index: 45
        extensions:
          Entlassungsgrund: {url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', min: 0, max: 1, type: Extension, mustSupport: true, index: 46}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/Entlassungsgrund
            index: 46
            slicing:
              slices:
                Entlassungsgrund:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/Entlassungsgrund', index: 46}
                  min: 0
                  max: 1
  period:
    mustSupport: true
    index: 28
    elements:
      start: {mustSupport: true, index: 29}
      end: {mustSupport: true, index: 30}
  location:
    mustSupport: true
    index: 47
    elements:
      physicalType:
        binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/isik/v3/Basismodul/ValueSet/ISiKLocationPhysicalType'}
        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:
            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:
            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:
            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:
    mustSupport: true
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
    required: [reference]
package_version: basismodul-3.0.3
extensions:
  Aufnahmegrund:
    url: http://fhir.de/StructureDefinition/Aufnahmegrund
    type: Extension
    mustSupport: true
    index: 2
    extensions:
      ErsteUndZweiteStelle: {url: null, mustSupport: true, index: 3}
      DritteStelle: {url: null, mustSupport: true, index: 4}
      VierteStelle: {url: null, mustSupport: true, index: 5}
    elements:
      extension:
        mustSupport: true
        index: 3
        slicing:
          slices:
            ErsteUndZweiteStelle:
              match: {}
              schema: {mustSupport: true, index: 3}
            DritteStelle:
              match: {}
              schema: {mustSupport: true, index: 4}
            VierteStelle:
              match: {}
              schema: {mustSupport: true, index: 5}
  plannedStartDate: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 6}
  plannedEndDate: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 7}
class: profile
kind: resource
url: https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKKontaktGesundheitseinrichtung
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 3.0.3
required: [identifier, subject, type]