PackagesCanonicalsLogsProblems
    Packages
    de.gevko.dev.tetvz@1.0.11
    https://fhir.gevko.de/StructureDefinition/PR_OSC_Practitioner
description: Leistungserbringer
package_name: de.gevko.dev.tetvz
derivation: constraint
name: PR_OSC_Practitioner
type: Practitioner
elements:
  contained: {index: 0}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        praxisstrukturmerkmal:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Praxisstrukturmerkmal', index: 2}
  identifier:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        ik:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 4
            extensions:
              bezeichnung: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_IK_Bezeichnung', max: 1, type: Extension, index: 6}
            elements:
              extension:
                index: 5
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    bezeichnung:
                      match: {url: null}
                      schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_IK_Bezeichnung', index: 6}
                      max: 1
              type: {index: 7}
            required: [type]
        lanr7:
          match:
            type:
              coding: {code: lanr7}
          schema:
            index: 8
            extensions:
              ags: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_AGS', max: 1, type: Extension, index: 10}
            elements:
              extension:
                index: 9
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    ags:
                      match: {url: null}
                      schema: {type: Extension, url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_AGS', index: 10}
                      max: 1
              type:
                index: 11
                elements:
                  coding:
                    index: 12
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Identifikation_LE'}
                        index: 13
                      code:
                        pattern: {type: Code, value: lanr7}
                        index: 14
                      display:
                        pattern: {type: String, value: Lifelong physician number}
                        index: 15
                    required: [system, code]
                required: [coding]
              value:
                short: LANR (7-st.!)
                constraint:
                  lanr7: {human: Die LANR7 Besteht aus 7 Ziffern, source: 'https://fhir.gevko.de/StructureDefinition/PR_OSC_Practitioner', severity: error, expression: 'matches(''^[0-9]{7}$'')', requirements: Die LANR7 Besteht aus 7 Ziffern}
                index: 16
            required: [value, type]
        bsnr:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 17
            elements:
              type: {index: 18}
              assigner:
                elements:
                  display: {index: 19}
            required: [type]
        bsnr_korrespondenz:
          match:
            type:
              coding: {code: bsnr_korrespondenz}
          schema:
            short: Betriebsstätte zur Adressermittlung für Korrespondenzen, Mussfeld falls LANR gefüllt
            index: 20
            elements:
              type:
                index: 21
                elements:
                  coding:
                    index: 22
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Identifikation_LE'}
                        index: 23
                      version: {index: 24}
                      code:
                        pattern: {type: Code, value: bsnr_korrespondenz}
                        index: 25
                      display:
                        pattern: {type: String, value: Betriebsstätte zur Adressermittlung für Korrespondenzen}
                        index: 26
                      userSelected: {index: 27}
                    required: [system, code]
                required: [coding]
              value: {short: 'bsnr_korrespondenz, 9-st., numerisch', index: 28}
            required: [value, type]
  name: {type: HumanName, index: 29}
package_version: 1.0.11
extensions:
  praxisstrukturmerkmal: {url: 'https://fhir.gevko.de/StructureDefinition/EX_OSC_Praxisstrukturmerkmal', type: Extension, index: 2}
class: profile
kind: resource
url: https://fhir.gevko.de/StructureDefinition/PR_OSC_Practitioner
base: http://hl7.org/fhir/StructureDefinition/Practitioner
version: '0.1'
required: [identifier]