PackagesCanonicalsLogsProblems
    Packages
    KBV.Basis@1.1.1
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
description: null
package_name: KBV.Basis
derivation: constraint
name: KBV_PR_Base_Patient
type: Patient
elements:
  identifier:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        pid:
          match:
            type:
              coding: {code: null}
          schema: {type: Identifier, index: 1}
        versichertenId_GKV:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 2
            elements:
              type: {index: 3}
            required: [type]
        versichertennummer_pkv:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 4
            elements:
              assigner:
                elements:
                  identifier:
                    elements:
                      type:
                        elements:
                          coding: {index: 5}
                        required: [coding]
        reisepassnummer:
          match:
            type:
              coding: {code: PPN}
          schema:
            index: 6
            elements:
              type:
                index: 7
                elements:
                  coding:
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 9
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 10
                    required: [system, code]
                required: [coding]
              value: {index: 11}
            required: [value, type]
        versichertennummer_kvk:
          match:
            type:
              coding: {code: kvk}
          schema:
            index: 12
            elements:
              type:
                index: 13
                elements:
                  coding:
                    index: 14
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 15
                      code:
                        label: SKT
                        pattern: {type: Code, value: kvk}
                        index: 16
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer'}
                index: 17
              value: {index: 18}
            required: [value, type, system]
  name:
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            index: 20
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 21
              family:
                index: 22
                extensions:
                  namenszusatz:
                    url: null
                    index: 24
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 26
                  nachname:
                    url: null
                    index: 27
                    elements:
                      value:
                        choices: []
                        index: 29
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 31
                  vorsatzwort:
                    url: null
                    index: 32
                    elements:
                      value:
                        choices: []
                        index: 34
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 36
                elements:
                  extension:
                    index: 23
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema:
                            index: 24
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 26
                        nachname:
                          match: {url: null}
                          schema:
                            index: 27
                            elements:
                              value:
                                choices: []
                                index: 29
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 31
                        vorsatzwort:
                          match: {url: null}
                          schema:
                            index: 32
                            elements:
                              value:
                                choices: []
                                index: 34
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 36
              given: {maxLength: 45, index: 37}
              prefix:
                maxLength: 20
                index: 38
                extensions:
                  prefix-qualifier:
                    url: null
                    _required: true
                    index: 40
                    elements:
                      value:
                        choices: []
                        index: 42
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 44
                elements:
                  extension:
                    index: 39
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        prefix-qualifier:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 40
                            elements:
                              value:
                                choices: []
                                index: 42
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        choices: []
                                        index: 44
              suffix: {index: 45}
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            index: 46
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 47
              family:
                index: 48
                extensions:
                  namenszusatz:
                    url: null
                    index: 50
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 52
                  nachname:
                    url: null
                    index: 53
                    elements:
                      value:
                        choices: []
                        index: 55
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 57
                  vorsatzwort:
                    url: null
                    index: 58
                    elements:
                      value:
                        choices: []
                        index: 60
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 62
                elements:
                  extension:
                    index: 49
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema:
                            index: 50
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 52
                        nachname:
                          match: {url: null}
                          schema:
                            index: 53
                            elements:
                              value:
                                choices: []
                                index: 55
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 57
                        vorsatzwort:
                          match: {url: null}
                          schema:
                            index: 58
                            elements:
                              value:
                                choices: []
                                index: 60
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 62
              given: {index: 63}
              prefix: {index: 64}
              suffix: {index: 65}
            required: [family, use]
  telecom:
    elements:
      system: {index: 66}
      value: {index: 67}
    required: [value, system]
  gender:
    index: 68
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.12', max: 1, type: Extension, index: 70}
    elements:
      extension:
        index: 69
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            other-amtlich:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.12', index: 70}
              max: 1
  birthDate:
    index: 71
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 73
        elements:
          value:
            choices: []
            index: 75
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 77
    elements:
      extension:
        index: 72
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 73
                elements:
                  value:
                    choices: []
                    index: 75
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 77
  address:
    index: 78
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 79
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 81}
            elements:
              extension:
                index: 80
                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: 81}
              type:
                pattern: {type: Code, value: both}
                index: 82
              line:
                array: true
                max: 2
                index: 83
                extensions:
                  Strasse:
                    url: null
                    index: 85
                    elements:
                      value:
                        maxLength: 46
                        choices: []
                        index: 87
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 89
                  Hausnummer:
                    url: null
                    index: 90
                    elements:
                      value:
                        maxLength: 9
                        choices: []
                        index: 92
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 94
                  Adresszusatz:
                    url: null
                    index: 95
                    elements:
                      value:
                        choices: []
                        index: 97
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 99
                  Postfach: {url: null, max: 0, index: 100}
                elements:
                  extension:
                    index: 84
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema:
                            index: 85
                            elements:
                              value:
                                maxLength: 46
                                choices: []
                                index: 87
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 89
                        Hausnummer:
                          match: {url: null}
                          schema:
                            index: 90
                            elements:
                              value:
                                maxLength: 9
                                choices: []
                                index: 92
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 94
                        Adresszusatz:
                          match: {url: null}
                          schema:
                            index: 95
                            elements:
                              value:
                                choices: []
                                index: 97
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 99
                        Postfach:
                          match: {url: null}
                          schema: {index: 100}
                          max: 0
              city: {maxLength: 40, index: 101}
              postalCode: {maxLength: 10, index: 102}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 103
            required: [type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 104
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 106}
            elements:
              extension:
                index: 105
                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: 106}
              type:
                pattern: {type: Code, value: postal}
                index: 107
              line:
                array: true
                max: 2
                index: 108
                extensions:
                  Strasse: {url: null, max: 0, index: 110}
                  Hausnummer: {url: null, max: 0, index: 111}
                  Adresszusatz: {url: null, max: 0, index: 112}
                  Postfach:
                    url: null
                    _required: true
                    index: 113
                    elements:
                      value:
                        choices: []
                        index: 115
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 117
                elements:
                  extension:
                    index: 109
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {index: 110}
                          max: 0
                        Hausnummer:
                          match: {url: null}
                          schema: {index: 111}
                          max: 0
                        Adresszusatz:
                          match: {url: null}
                          schema: {index: 112}
                          max: 0
                        Postfach:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 113
                            elements:
                              value:
                                choices: []
                                index: 115
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 117
              city: {maxLength: 40, index: 118}
              postalCode: {maxLength: 10, index: 119}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 120
            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: 121
package_version: 1.1.1
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.1
required: [name, birthDate]