PackagesCanonicalsLogsProblems
    Packages
    KBV.Basis@1.00.001
    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
            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]
              assigner:
                elements:
                  display: {index: 7}
        reisepassnummer:
          match:
            type:
              coding: {code: PPN}
          schema:
            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: PPN}
                        index: 12
                    required: [system, code]
                required: [coding]
              value: {index: 13}
            required: [value, type]
        versichertennummer_kvk:
          match:
            type:
              coding: {code: kvk}
          schema:
            index: 14
            elements:
              type:
                index: 15
                elements:
                  coding:
                    mustSupport: false
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 17
                      code:
                        label: SKT
                        pattern: {type: Code, value: kvk}
                        index: 18
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer|0.9.6'}
                index: 19
              value: {mustSupport: false, index: 20}
            required: [value, type, system]
  name:
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            index: 22
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 23
              family:
                mustSupport: false
                index: 24
                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: 25
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 25
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 27
                        nachname:
                          match: {}
                          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: {}
                          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: 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: 40
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          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
                required: [extension]
              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: 49
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 51
                  nachname:
                    url: null
                    index: 52
                    elements:
                      value:
                        choices: []
                        index: 54
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 56
                  vorsatzwort:
                    url: null
                    index: 57
                    elements:
                      value:
                        choices: []
                        index: 59
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 61
                elements:
                  extension:
                    index: 49
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 49
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 51
                        nachname:
                          match: {}
                          schema:
                            index: 52
                            elements:
                              value:
                                choices: []
                                index: 54
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 56
                        vorsatzwort:
                          match: {}
                          schema:
                            index: 57
                            elements:
                              value:
                                choices: []
                                index: 59
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 61
              given: {index: 62}
              prefix: {index: 63}
              suffix: {index: 64}
            required: [family, use]
  gender:
    index: 65
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.6', max: 1, type: Extension, index: 67}
    elements:
      extension:
        index: 66
        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.6', index: 67}
              max: 1
  birthDate:
    index: 68
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 70
        elements:
          value:
            choices: []
            index: 72
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 74
    elements:
      extension:
        index: 69
        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: 70
                elements:
                  value:
                    choices: []
                    index: 72
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 74
  address:
    index: 75
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 76
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 77}
            elements:
              extension:
                short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden.
                index: 77
                slicing:
                  slices:
                    Stadtteil:
                      match: {}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 77}
              type:
                pattern: {type: Code, value: both}
                index: 78
              line:
                array: true
                max: 2
                index: 79
                extensions:
                  Strasse:
                    url: null
                    index: 80
                    elements:
                      value:
                        maxLength: 46
                        choices: []
                        index: 82
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 84
                  Hausnummer:
                    url: null
                    index: 85
                    elements:
                      value:
                        maxLength: 9
                        choices: []
                        index: 87
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 89
                  Adresszusatz:
                    url: null
                    index: 90
                    elements:
                      value:
                        choices: []
                        index: 92
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 94
                  Postfach: {url: null, max: 0, index: 95}
                elements:
                  extension:
                    index: 80
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema:
                            index: 80
                            elements:
                              value:
                                maxLength: 46
                                choices: []
                                index: 82
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 84
                        Hausnummer:
                          match: {}
                          schema:
                            index: 85
                            elements:
                              value:
                                maxLength: 9
                                choices: []
                                index: 87
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 89
                        Adresszusatz:
                          match: {}
                          schema:
                            index: 90
                            elements:
                              value:
                                choices: []
                                index: 92
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 94
                        Postfach:
                          match: {}
                          schema: {index: 95}
                          max: 0
              city: {maxLength: 40, mustSupport: false, index: 96}
              postalCode: {maxLength: 10, index: 97}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_GemRS_Anlage_8'}
                maxLength: 3
                index: 98
            required: [country, city, type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 99
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 100}
            elements:
              extension:
                short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden.
                index: 100
                slicing:
                  slices:
                    Stadtteil:
                      match: {}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 100}
              type:
                pattern: {type: Code, value: postal}
                index: 101
              line:
                array: true
                max: 2
                index: 102
                extensions:
                  Strasse: {url: null, max: 0, index: 103}
                  Hausnummer: {url: null, max: 0, index: 104}
                  Adresszusatz: {url: null, max: 0, index: 105}
                  Postfach:
                    url: null
                    _required: true
                    index: 106
                    elements:
                      value:
                        choices: []
                        index: 108
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 110
                elements:
                  extension:
                    index: 103
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 103}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 104}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 105}
                          max: 0
                        Postfach:
                          match: {}
                          schema:
                            _required: true
                            index: 106
                            elements:
                              value:
                                choices: []
                                index: 108
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 110
              city: {maxLength: 40, index: 111}
              postalCode: {maxLength: 10, mustSupport: false, index: 112}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_GemRS_Anlage_8'}
                maxLength: 3
                index: 113
            required: [country, city, type]
package_version: 1.00.001
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.00.001
required: [name, birthDate]