PackagesCanonicalsLogsProblems
    Packages
    KBV.Basis@1.00.000
    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: type}
      min: null
      slices:
        pid:
          match: {}
          schema: {type: Identifier, index: 1}
        versichertenId_GKV:
          match: {}
          schema: {type: Identifier, index: 2}
          max: 1
        versichertennummer_pkv:
          match: {}
          schema: {type: Identifier, index: 3}
          max: 1
        reisepassnummer:
          match: {}
          schema:
            index: 4
            elements:
              type:
                index: 5
                elements:
                  coding:
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 7
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 8
                    required: [system, code]
                required: [coding]
              value: {index: 9}
            required: [value, type]
        versichertennummer_kvk:
          match: {}
          schema:
            index: 10
            elements:
              type:
                index: 11
                elements:
                  coding:
                    mustSupport: false
                    index: 12
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 13
                      code:
                        label: SKT
                        pattern: {type: Code, value: kvk}
                        index: 14
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer|0.9.5'}
                index: 15
              value: {mustSupport: false, index: 16}
            required: [value, type, system]
  name:
    index: 17
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            index: 18
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 19
              family:
                mustSupport: false
                index: 20
                extensions:
                  namenszusatz:
                    url: null
                    index: 21
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 23
                  nachname:
                    url: null
                    index: 24
                    elements:
                      value:
                        maxLength: 45
                        choices: []
                        index: 26
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 26
                  vorsatzwort:
                    url: null
                    index: 27
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 29
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 29
                elements:
                  extension:
                    index: 21
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 21
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 23
                        nachname:
                          match: {}
                          schema:
                            index: 24
                            elements:
                              value:
                                maxLength: 45
                                choices: []
                                index: 26
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 26
                        vorsatzwort:
                          match: {}
                          schema:
                            index: 27
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 29
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 29
              given: {maxLength: 45, index: 30}
              prefix:
                maxLength: 20
                index: 31
                extensions:
                  prefix-qualifier:
                    url: null
                    _required: true
                    index: 32
                    elements:
                      value:
                        pattern: {type: Code, value: AC}
                        choices: []
                        index: 34
                        slicing:
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 34
                elements:
                  extension:
                    index: 32
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          schema:
                            _required: true
                            index: 32
                            elements:
                              value:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 34
                                slicing:
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        choices: []
                                        index: 34
                required: [extension]
              suffix: {index: 35}
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            index: 36
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 37
              family:
                index: 38
                extensions:
                  namenszusatz:
                    url: null
                    index: 39
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 41
                  nachname:
                    url: null
                    index: 42
                    elements:
                      value:
                        maxLength: 45
                        choices: []
                        index: 44
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 44
                  vorsatzwort:
                    url: null
                    index: 45
                    elements:
                      value:
                        maxLength: 20
                        choices: []
                        index: 47
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 47
                elements:
                  extension:
                    index: 39
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 39
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 41
                        nachname:
                          match: {}
                          schema:
                            index: 42
                            elements:
                              value:
                                maxLength: 45
                                choices: []
                                index: 44
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 44
                        vorsatzwort:
                          match: {}
                          schema:
                            index: 45
                            elements:
                              value:
                                maxLength: 20
                                choices: []
                                index: 47
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 47
              given: {index: 48}
              prefix: {index: 49}
              suffix: {index: 50}
            required: [family, use]
  gender:
    index: 51
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.5', max: 1, type: Extension, index: 53}
    elements:
      extension:
        index: 52
        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.5', index: 53}
              max: 1
  birthDate:
    index: 54
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|0.9.5
        type: Extension
        index: 56
        elements:
          value:
            choices: []
            index: 58
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 60
    elements:
      extension:
        index: 55
        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|0.9.5
                index: 56
                elements:
                  value:
                    choices: []
                    index: 58
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 60
  address:
    index: 61
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: physical}
          schema:
            type: Address
            index: 62
            elements:
              type:
                pattern: {type: Code, value: physical}
                index: 63
              line:
                index: 64
                extensions:
                  Strasse:
                    url: null
                    index: 65
                    elements:
                      value:
                        maxLength: 46
                        choices: []
                        index: 67
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 69
                  Hausnummer:
                    url: null
                    index: 70
                    elements:
                      value:
                        maxLength: 9
                        choices: []
                        index: 72
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 74
                  Adresszusatz:
                    url: null
                    index: 75
                    elements:
                      value:
                        maxLength: 40
                        choices: []
                        index: 77
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 77
                  Postfach: {url: null, max: 0, index: 78}
                elements:
                  extension:
                    index: 65
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema:
                            index: 65
                            elements:
                              value:
                                maxLength: 46
                                choices: []
                                index: 67
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 69
                        Hausnummer:
                          match: {}
                          schema:
                            index: 70
                            elements:
                              value:
                                maxLength: 9
                                choices: []
                                index: 72
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 74
                        Adresszusatz:
                          match: {}
                          schema:
                            index: 75
                            elements:
                              value:
                                maxLength: 40
                                choices: []
                                index: 77
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 77
                        Postfach:
                          match: {}
                          schema: {index: 78}
                          max: 0
              city: {maxLength: 40, mustSupport: false, index: 79}
              postalCode: {maxLength: 10, index: 80}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 81
            required: [country, city, type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 82
            elements:
              type:
                pattern: {type: Code, value: postal}
                index: 83
              line:
                index: 84
                extensions:
                  Strasse: {url: null, max: 0, index: 85}
                  Hausnummer: {url: null, max: 0, index: 86}
                  Adresszusatz: {url: null, max: 0, index: 87}
                  Postfach:
                    url: null
                    mustSupport: true
                    _required: true
                    index: 88
                    elements:
                      value:
                        maxLength: 8
                        choices: []
                        index: 90
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 90
                elements:
                  extension:
                    index: 85
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 85}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 86}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 87}
                          max: 0
                        Postfach:
                          match: {}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 88
                            elements:
                              value:
                                maxLength: 8
                                choices: []
                                index: 90
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 90
              city: {maxLength: 40, index: 91}
              postalCode: {maxLength: 10, mustSupport: false, index: 92}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 93
            required: [country, city, line, type]
  contact:
    elements:
      name:
        type: HumanName
        index: 94
        elements:
          given: {index: 95}
          prefix:
            index: 96
            extensions:
              prefix-qualifier:
                url: null
                index: 97
                elements:
                  value:
                    pattern: {type: Code, value: AC}
                    choices: []
                    index: 99
                    slicing:
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: AC}
                            choices: []
                            index: 99
            elements:
              extension:
                index: 97
                slicing:
                  slices:
                    prefix-qualifier:
                      match: {}
                      schema:
                        index: 97
                        elements:
                          value:
                            pattern: {type: Code, value: AC}
                            choices: []
                            index: 99
                            slicing:
                              slices:
                                valueCode:
                                  match: {}
                                  schema:
                                    pattern: {type: Code, value: AC}
                                    choices: []
                                    index: 99
          suffix: {index: 100}
      address: {type: Address, index: 101}
      gender:
        extensions:
          other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.5', max: 1, type: Extension, index: 103}
        elements:
          extension:
            index: 102
            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.5', index: 103}
                  max: 1
package_version: 1.00.000
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]