PackagesCanonicalsLogsProblems
    Packages
    KBV.Basis@1.1.3
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization
description: null
package_name: KBV.Basis
derivation: constraint
name: KBV_PR_Base_Organization
type: Organization
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        ergaenzende_Angaben:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment', index: 1}
          max: 1
  identifier:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        Institutionskennzeichen:
          match:
            type:
              coding: {code: XX}
          schema:
            type: Identifier
            index: 3
            elements:
              type:
                index: 4
                elements:
                  coding:
                    index: 5
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 6
                      code:
                        pattern: {type: Code, value: XX}
                        index: 7
                    required: [system, code]
                required: [coding]
            required: [type]
        Betriebsstaettennummer:
          match:
            type:
              coding: {code: BSNR}
          schema:
            type: Identifier
            index: 8
            elements:
              type:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 11
                      code:
                        pattern: {type: Code, value: BSNR}
                        index: 12
                    required: [system, code]
                required: [coding]
            required: [type]
        VKNR:
          match:
            type:
              coding: {code: NIIP}
          schema:
            type: Identifier
            index: 13
            elements:
              type:
                index: 14
                elements:
                  coding:
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 16
                      code:
                        pattern: {type: Code, value: NIIP}
                        index: 17
                    required: [system, code]
                required: [coding]
            required: [type]
        KZV-Abrechnungsnummer:
          match:
            type:
              coding: {code: KZVA}
          schema:
            type: Identifier
            index: 18
            elements:
              type:
                index: 19
                elements:
                  coding:
                    index: 20
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
                        index: 21
                      code:
                        pattern: {type: Code, value: KZVA}
                        index: 22
                    required: [system, code]
                required: [coding]
            required: [type]
  name: {short: Name der Einrichtung, index: 23}
  telecom:
    elements:
      system: {index: 24}
      value: {index: 25}
    required: [value, system]
  address:
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 27
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 29}
            elements:
              extension:
                index: 28
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 29}
              type:
                pattern: {type: Code, value: both}
                index: 30
              line:
                array: true
                max: 2
                index: 31
                extensions:
                  Strasse:
                    url: null
                    index: 33
                    elements:
                      value:
                        choices: []
                        index: 35
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 37
                  Hausnummer:
                    url: null
                    index: 38
                    elements:
                      value:
                        choices: []
                        index: 40
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 42
                  Adresszusatz:
                    url: null
                    index: 43
                    elements:
                      value:
                        choices: []
                        index: 45
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 47
                  Postfach: {url: null, max: 0, index: 48}
                elements:
                  extension:
                    index: 32
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema:
                            index: 33
                            elements:
                              value:
                                choices: []
                                index: 35
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 37
                        Hausnummer:
                          match: {url: null}
                          schema:
                            index: 38
                            elements:
                              value:
                                choices: []
                                index: 40
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 42
                        Adresszusatz:
                          match: {url: null}
                          schema:
                            index: 43
                            elements:
                              value:
                                choices: []
                                index: 45
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 47
                        Postfach:
                          match: {url: null}
                          schema: {index: 48}
                          max: 0
              city: {maxLength: 40, index: 49}
              postalCode: {maxLength: 10, index: 50}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                index: 51
            required: [type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 52
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 54}
            elements:
              extension:
                index: 53
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 54}
              type:
                pattern: {type: Code, value: postal}
                index: 55
              line:
                array: true
                max: 2
                index: 56
                extensions:
                  Strasse: {url: null, max: 0, index: 58}
                  Hausnummer: {url: null, max: 0, index: 59}
                  Adresszusatz: {url: null, max: 0, index: 60}
                  Postfach:
                    url: null
                    _required: true
                    index: 61
                    elements:
                      value:
                        choices: []
                        index: 63
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 65
                elements:
                  extension:
                    index: 57
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {index: 58}
                          max: 0
                        Hausnummer:
                          match: {url: null}
                          schema: {index: 59}
                          max: 0
                        Adresszusatz:
                          match: {url: null}
                          schema: {index: 60}
                          max: 0
                        Postfach:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 61
                            elements:
                              value:
                                choices: []
                                index: 63
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 65
              city: {maxLength: 40, index: 66}
              postalCode: {maxLength: 10, index: 67}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                index: 68
            required: [type]
  contact:
    elements:
      address:
        elements:
          country:
            short: Staat
            binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
            index: 69
package_version: 1.1.3
extensions:
  ergaenzende_Angaben: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment', max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.1.3