PackagesCanonicalsLogsProblems
    Packages
    de.dit@connectathon.r4-0.3.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
description: Dieses Profil beschreibt die gemeinsamen Grundlagen für Patientenprofile in der KBV
package_name: de.dit
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
            elements:
              type:
                elements:
                  coding: {index: 2}
                required: [coding]
        versichertenId_GKV:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 3
            elements:
              type:
                elements:
                  coding: {index: 4}
                required: [coding]
        versichertennummer_pkv:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 5
            elements:
              type:
                elements:
                  coding: {index: 6}
                required: [coding]
        reisepassnummer:
          match:
            type:
              coding: {code: PPN}
          schema:
            index: 7
            elements:
              type:
                index: 8
                elements:
                  coding:
                    index: 9
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 10
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 11
                    required: [system, code]
                required: [coding]
              value: {index: 12}
            required: [value, type]
        versichertennummer_kvk:
          match:
            type:
              coding: {code: kvk}
          schema:
            index: 13
            elements:
              type:
                index: 14
                elements:
                  coding:
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 16
                      code:
                        label: SKT
                        pattern: {type: Code, value: kvk}
                        index: 17
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer'}
                index: 18
              value: {index: 19}
            required: [value, type, system]
  name:
    index: 20
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            index: 21
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 22
              family:
                index: 23
                extensions:
                  namenszusatz:
                    url: null
                    index: 25
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 27
                  nachname:
                    url: null
                    index: 28
                    elements:
                      value:
                        choices: []
                        index: 30
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 32
                  vorsatzwort:
                    url: null
                    index: 33
                    elements:
                      value:
                        choices: []
                        index: 35
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 37
                elements:
                  extension:
                    index: 24
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema:
                            index: 25
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 27
                        nachname:
                          match: {url: null}
                          schema:
                            index: 28
                            elements:
                              value:
                                choices: []
                                index: 30
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 32
                        vorsatzwort:
                          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: 20
                                        choices: []
                                        index: 37
              given: {maxLength: 45, index: 38}
              prefix:
                maxLength: 20
                index: 39
                extensions:
                  prefix-qualifier:
                    url: null
                    _required: true
                    index: 41
                    elements:
                      value:
                        choices: []
                        index: 43
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 45
                elements:
                  extension:
                    index: 40
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        prefix-qualifier:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 41
                            elements:
                              value:
                                choices: []
                                index: 43
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        choices: []
                                        index: 45
              suffix: {index: 46}
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            index: 47
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 48
              family:
                index: 49
                extensions:
                  namenszusatz:
                    url: null
                    index: 51
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 53
                  nachname:
                    url: null
                    index: 54
                    elements:
                      value:
                        choices: []
                        index: 56
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 58
                  vorsatzwort:
                    url: null
                    index: 59
                    elements:
                      value:
                        choices: []
                        index: 61
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 63
                elements:
                  extension:
                    index: 50
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema:
                            index: 51
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 53
                        nachname:
                          match: {url: null}
                          schema:
                            index: 54
                            elements:
                              value:
                                choices: []
                                index: 56
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 58
                        vorsatzwort:
                          match: {url: null}
                          schema:
                            index: 59
                            elements:
                              value:
                                choices: []
                                index: 61
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 63
              given: {index: 64}
              prefix: {index: 65}
              suffix: {index: 66}
            required: [family, use]
  telecom:
    elements:
      system: {index: 67}
      value: {index: 68}
    required: [value, system]
  gender:
    index: 69
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.11', max: 1, type: Extension, index: 71}
    elements:
      extension:
        index: 70
        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.11', index: 71}
              max: 1
  birthDate:
    index: 72
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 74
        elements:
          value:
            choices: []
            index: 76
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 78
    elements:
      extension:
        index: 73
        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: 74
                elements:
                  value:
                    choices: []
                    index: 76
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 78
  address:
    index: 79
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 80
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 82}
            elements:
              extension:
                index: 81
                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: 82}
              type:
                pattern: {type: Code, value: both}
                index: 83
              line:
                array: true
                max: 2
                index: 84
                extensions:
                  Strasse:
                    url: null
                    index: 86
                    elements:
                      value:
                        maxLength: 46
                        choices: []
                        index: 88
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 90
                  Hausnummer:
                    url: null
                    index: 91
                    elements:
                      value:
                        maxLength: 9
                        choices: []
                        index: 93
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 95
                  Adresszusatz:
                    url: null
                    index: 96
                    elements:
                      value:
                        choices: []
                        index: 98
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 100
                  Postfach: {url: null, max: 0, index: 101}
                elements:
                  extension:
                    index: 85
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema:
                            index: 86
                            elements:
                              value:
                                maxLength: 46
                                choices: []
                                index: 88
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 90
                        Hausnummer:
                          match: {url: null}
                          schema:
                            index: 91
                            elements:
                              value:
                                maxLength: 9
                                choices: []
                                index: 93
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 95
                        Adresszusatz:
                          match: {url: null}
                          schema:
                            index: 96
                            elements:
                              value:
                                choices: []
                                index: 98
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 100
                        Postfach:
                          match: {url: null}
                          schema: {index: 101}
                          max: 0
              city: {maxLength: 40, index: 102}
              postalCode: {maxLength: 10, index: 103}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 104
            required: [type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 105
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 107}
            elements:
              extension:
                index: 106
                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: 107}
              type:
                pattern: {type: Code, value: postal}
                index: 108
              line:
                array: true
                max: 2
                index: 109
                extensions:
                  Strasse: {url: null, max: 0, index: 111}
                  Hausnummer: {url: null, max: 0, index: 112}
                  Adresszusatz: {url: null, max: 0, index: 113}
                  Postfach:
                    url: null
                    _required: true
                    index: 114
                    elements:
                      value:
                        choices: []
                        index: 116
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 118
                elements:
                  extension:
                    index: 110
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {index: 111}
                          max: 0
                        Hausnummer:
                          match: {url: null}
                          schema: {index: 112}
                          max: 0
                        Adresszusatz:
                          match: {url: null}
                          schema: {index: 113}
                          max: 0
                        Postfach:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 114
                            elements:
                              value:
                                choices: []
                                index: 116
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 118
              city: {maxLength: 40, index: 119}
              postalCode: {maxLength: 10, index: 120}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 121
            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: 122
package_version: connectathon.r4-0.3.0
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [name, birthDate]