PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.fall@1.0.1
    https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
description: null
package_name: de.medizininformatikinitiative.kerndatensatz.fall
derivation: constraint
name: KontaktGesundheitseinrichtung
type: Encounter
elements:
  diagnosis:
    mustSupport: true
    index: 30
    elements:
      condition: {type: Reference, mustSupport: true, index: 31}
      use: {mustSupport: true, index: 32}
      rank: {mustSupport: true, index: 33}
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  serviceProvider: {mustSupport: true, index: 46}
  reasonCode:
    elements:
      coding:
        mustSupport: true
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            aufnahmegrund:
              match: {system: 'https://www.medizininformatik-initiative.de/fhir/modul-fall/core/CodeSystem/Aufnahmegrund'}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/modul-fall/core/ValueSet/Aufnahmegrund'}
                pattern:
                  type: Coding
                  value: {system: 'https://www.medizininformatik-initiative.de/fhir/modul-fall/core/CodeSystem/Aufnahmegrund'}
                index: 27
                elements:
                  system: {mustSupport: true, index: 28}
                  code: {mustSupport: true, index: 29}
                required: [system, code]
  type:
    mustSupport: true
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        kontaktebene:
          match:
            coding:
            - {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/Kontaktebene'}
          schema:
            binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/Kontaktebene'}
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/Kontaktebene'}
            index: 16
          max: 1
  serviceType:
    mustSupport: true
    index: 17
    elements:
      coding:
        mustSupport: true
        index: 18
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            fachabteilungsschluessel:
              match: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Fachabteilungsschluessel'}
              schema:
                binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Fachabteilungsschluessel'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Fachabteilungsschluessel'}
                index: 19
                elements:
                  system: {mustSupport: true, index: 20}
                  code: {mustSupport: true, index: 21}
                required: [system, code]
  status:
    short: planned | | in-progress | onleave | finished | cancelled +
    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/ValueSet/RestrictedEncounterStatus'}
    mustSupport: true
    index: 13
  id: {mustSupport: true, index: 0}
  class:
    binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/ValueSet/EncounterClassDE'}
    mustSupport: true
    index: 14
  identifier:
    mustSupport: true
    index: 4
    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: 5
            elements:
              type:
                mustSupport: true
                index: 6
                elements:
                  coding:
                    index: 7
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: pattern}
                      min: null
                      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: 8
                            elements:
                              system: {mustSupport: true, index: 9}
                              code: {mustSupport: true, index: 10}
                            required: [system, code]
              system: {mustSupport: true, index: 11}
              value: {mustSupport: true, index: 12}
            required: [value, type, system]
  hospitalization:
    mustSupport: true
    index: 34
    elements:
      admitSource:
        mustSupport: true
        index: 35
        elements:
          coding:
            index: 36
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              slices:
                aufnahmeanlass:
                  match: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Aufnahmeanlass'}
                  schema:
                    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/Aufnahmeanlass'}
                    pattern:
                      type: Coding
                      value: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Aufnahmeanlass'}
                    _required: true
                    index: 37
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Aufnahmeanlass'}
                        mustSupport: true
                        index: 38
                      code: {mustSupport: true, index: 39}
                    required: [system, code]
        required: [coding]
      dischargeDisposition:
        mustSupport: true
        index: 40
        elements:
          coding:
            mustSupport: true
            index: 41
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              slices:
                entlassungsgrund:
                  match: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Entlassungsgrund'}
                  schema:
                    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/ValueSet/Entlassungsgrund'}
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Entlassungsgrund'}
                    _required: true
                    index: 42
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://www.medizininformatik-initiative.de/fhir/core/modul-fall/CodeSystem/Entlassungsgrund'}
                        mustSupport: true
                        index: 43
                      code: {mustSupport: true, index: 44}
                    required: [system, code]
        required: [coding]
  period:
    mustSupport: true
    index: 23
    elements:
      start: {mustSupport: true, index: 24}
      end: {mustSupport: true, index: 25}
    required: [start]
  partOf: {mustSupport: true, index: 47}
  location: {mustSupport: true, index: 45}
  subject: {type: Reference, mustSupport: true, index: 22}
package_version: 1.0.1
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: '1.0'
required: [subject, period]