PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.erp@1.1.0-PreRelease
    https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor
description: null
package_name: kbv.ita.erp
derivation: constraint
name: KBV_EX_ERP_PracticeSupply_Payor
type: Extension
elements:
  extension:
    array: true
    min: 2
    max: 3
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      max: 3
      slices:
        IK:
          match: {url: IK}
          schema:
            short: IK der zuständigen Krankenkasse
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: IK}
                index: 2
              value:
                choices: [valueIdentifier]
                index: 7
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        choices: [valueIdentifier]
                        _required: true
                        index: 7
                      min: 1
              valueIdentifier:
                type: Identifier
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {type: Identifier, choiceOf: value, _required: true, index: 8}
                      min: 1
              value[x]:
                elements:
                  use: {index: 9}
                  type:
                    elements:
                      coding:
                        index: 10
                        slicing:
                          slices:
                            XX-Type:
                              match: {}
                              schema:
                                index: 10
                                elements:
                                  version: {index: 11}
                                  display: {index: 12}
                                  userSelected: {index: 13}
                      text: {index: 14}
                  value: {short: IK der zuständigen Krankenkasse, maxLength: 9, index: 15}
                  period: {index: 16}
                  assigner: {index: 17}
            required: [valueIdentifier, value]
        Name:
          match: {url: Name}
          schema:
            short: Name des Kostenträgers
            _required: true
            index: 18
            elements:
              url:
                pattern: {type: Uri, value: Name}
                index: 19
              value:
                short: Name des Kostenträgers
                maxLength: 45
                choices: [valueString]
                index: 24
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        short: Name des Kostenträgers
                        maxLength: 45
                        choices: [valueString]
                        _required: true
                        index: 24
                      min: 1
              valueString:
                type: string
                short: Name des Kostenträgers
                maxLength: 45
                choiceOf: value
                index: 25
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, short: Name des Kostenträgers, maxLength: 45, choiceOf: value, _required: true, index: 25}
                      min: 1
            required: [valueString, value]
        Kostentraegertyp:
          match: {url: Kostentraegertyp}
          schema:
            short: Kostenträgertyp
            _required: true
            index: 26
            elements:
              url:
                pattern: {type: Uri, value: Kostentraegertyp}
                index: 27
              value:
                choices: [valueCoding]
                index: 32
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: [valueCoding]
                        _required: true
                        index: 32
                      min: 1
              valueCoding:
                type: Coding
                choiceOf: value
                index: 33
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema: {type: Coding, choiceOf: value, _required: true, index: 33}
                      min: 1
              value[x]:
                elements:
                  system: {index: 34}
                  version: {index: 35}
                  code: {short: Kostenträgertyp, index: 36}
                  display: {index: 37}
                  userSelected: {index: 38}
                required: [system, code]
            required: [valueCoding, value]
  url:
    pattern: {type: Uri, value: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor'}
    index: 39
  value:
    choices: []
    index: 41
package_version: 1.1.0-PreRelease
extensions:
  IK:
    url: IK
    short: IK der zuständigen Krankenkasse
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: IK}
        index: 2
      value:
        choices: [valueIdentifier]
        index: 7
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema:
                choices: [valueIdentifier]
                _required: true
                index: 7
              min: 1
      valueIdentifier:
        type: Identifier
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {type: Identifier, choiceOf: value, _required: true, index: 8}
              min: 1
      value[x]:
        elements:
          use: {index: 9}
          type:
            elements:
              coding:
                index: 10
                slicing:
                  slices:
                    XX-Type:
                      match: {}
                      schema:
                        index: 10
                        elements:
                          version: {index: 11}
                          display: {index: 12}
                          userSelected: {index: 13}
              text: {index: 14}
          value: {short: IK der zuständigen Krankenkasse, maxLength: 9, index: 15}
          period: {index: 16}
          assigner: {index: 17}
    required: [valueIdentifier, value]
  Name:
    url: Name
    short: Name des Kostenträgers
    _required: true
    index: 18
    elements:
      url:
        pattern: {type: Uri, value: Name}
        index: 19
      value:
        short: Name des Kostenträgers
        maxLength: 45
        choices: [valueString]
        index: 24
        slicing:
          slices:
            valueString:
              match: {}
              schema:
                short: Name des Kostenträgers
                maxLength: 45
                choices: [valueString]
                _required: true
                index: 24
              min: 1
      valueString:
        type: string
        short: Name des Kostenträgers
        maxLength: 45
        choiceOf: value
        index: 25
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, short: Name des Kostenträgers, maxLength: 45, choiceOf: value, _required: true, index: 25}
              min: 1
    required: [valueString, value]
  Kostentraegertyp:
    url: Kostentraegertyp
    short: Kostenträgertyp
    _required: true
    index: 26
    elements:
      url:
        pattern: {type: Uri, value: Kostentraegertyp}
        index: 27
      value:
        choices: [valueCoding]
        index: 32
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                choices: [valueCoding]
                _required: true
                index: 32
              min: 1
      valueCoding:
        type: Coding
        choiceOf: value
        index: 33
        slicing:
          slices:
            valueCoding:
              match: {}
              schema: {type: Coding, choiceOf: value, _required: true, index: 33}
              min: 1
      value[x]:
        elements:
          system: {index: 34}
          version: {index: 35}
          code: {short: Kostenträgertyp, index: 36}
          display: {index: 37}
          userSelected: {index: 38}
        required: [system, code]
    required: [valueCoding, value]
class: extension
kind: complex-type
url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0