PackagesCanonicalsLogsProblems
    Packages
    de.gevko.dev.tetvz@1.0.8
    https://fhir.gevko.de/StructureDefinition/PR_OSC_Patient
description: Profil zur Abbildung des Teilnehmers für das Projekt Teilnehmer Erklärung / Teilnehmer Verzeichnis (TE)
package_name: de.gevko.dev.tetvz
derivation: constraint
name: PR_OSC_Patient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        zusatzmerkmal:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Zusatzmerkmale', index: 1}
        ops:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_OPS', index: 2}
        diagnosen:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Diagnose', index: 3}
  identifier:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        versichertennr_egk:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 5
            elements:
              type:
                elements:
                  coding: {index: 6}
                required: [coding]
        versichertennr_alt:
          match:
            type:
              coding: {code: versichertennr_alt}
          schema:
            index: 7
            elements:
              use:
                pattern: {type: Code, value: old}
                index: 8
              type:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Versicherten_Nr'}
                        index: 11
                      code:
                        pattern: {type: Code, value: versichertennr_alt}
                        index: 12
                      display:
                        pattern: {type: String, value: Versichertennummer (alt)}
                        index: 13
                    required: [system, code]
                required: [coding]
              value: {short: 'versichertennr_alt, 9-12-st. numerisch', index: 14}
            required: [value, type]
  name: {type: HumanName, index: 15}
  deceased:
    short: Todesdatum
    choices: [deceasedDateTime]
    index: 17
  deceasedDateTime: {type: dateTime, short: Todesdatum, choiceOf: deceased, index: 18}
  managingOrganization:
    short: Krankenkassen-IK
    index: 19
    elements:
      reference: {index: 20}
      type: {index: 21}
      identifier:
        type: Identifier
        index: 22
        elements:
          type:
            elements:
              coding: {index: 23}
            required: [coding]
    required: [identifier]
package_version: 1.0.8
extensions:
  zusatzmerkmal: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Zusatzmerkmale', type: Extension, index: 1}
  ops: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_OPS', type: Extension, index: 2}
  diagnosen: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Diagnose', type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.gevko.de/StructureDefinition/PR_OSC_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: '0.1'
required: [identifier]