PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.2.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: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        pid:
          match:
            type:
              coding: {code: MR}
          schema:
            type: Identifier
            index: 1
            elements:
              type:
                elements:
                  coding:
                    index: 2
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 3
                      code:
                        pattern: {type: Code, value: MR}
                        index: 4
                      display:
                        pattern: {type: String, value: Medical record number}
                        index: 5
                    required: [display, system, code]
                required: [coding]
        versichertenId_GKV:
          match:
            type:
              coding: {code: GKV}
          schema:
            type: Identifier
            index: 6
            elements:
              type:
                index: 7
                elements:
                  coding:
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
                        index: 9
                      code:
                        pattern: {type: Code, value: GKV}
                        index: 10
                      display:
                        pattern: {type: String, value: Gesetzliche Krankenversicherung}
                        index: 11
                    required: [display, system, code]
                required: [coding]
            required: [type]
        versichertennummer_pkv:
          match:
            type:
              coding: {code: PKV}
          schema:
            type: Identifier
            index: 12
            elements:
              type:
                index: 13
                elements:
                  coding:
                    index: 14
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
                        index: 15
                      code:
                        pattern: {type: Code, value: PKV}
                        index: 16
                      display:
                        pattern: {type: String, value: Private Krankenversicherung}
                        index: 17
                    required: [display, system, code]
                required: [coding]
            required: [type]
        reisepassnummer:
          match:
            type:
              coding: {code: PPN}
          schema:
            index: 18
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 19
                elements:
                  coding:
                    index: 20
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 21
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 22
                      display:
                        pattern: {type: String, value: Passport number}
                        index: 23
                    required: [display, system, code]
                required: [coding]
              value: {index: 24}
            required: [value, type]
        versichertennummer_kvk:
          match:
            type:
              coding: {code: kvk}
          schema:
            index: 25
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: kvk, system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                index: 26
                elements:
                  coding:
                    index: 27
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 28
                      code:
                        pattern: {type: Code, value: kvk}
                        index: 29
                      display:
                        pattern: {type: String, value: Krankenversichertenkarte}
                        index: 30
                    required: [display, system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer'}
                index: 31
              value: {index: 32}
            required: [value, type, system]
  name:
    index: 33
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: null}
          schema:
            type: HumanName
            index: 34
            elements:
              prefix: {index: 35}
              suffix: {index: 36}
        geburtsname:
          match: {use: null}
          schema: {type: HumanName, index: 37}
          max: 1
  telecom: {type: ContactPoint, index: 38}
  gender:
    index: 39
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.13', max: 1, type: Extension, index: 41}
      anzeigenameCode:
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
        type: Extension
        index: 42
        extensions:
          content:
            url: null
            index: 44
            elements:
              value:
                choices: []
                index: 46
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: []
                        index: 46
        elements:
          extension:
            index: 43
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                content:
                  match: {url: null}
                  schema:
                    index: 44
                    elements:
                      value:
                        choices: []
                        index: 46
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                index: 46
    elements:
      extension:
        index: 40
        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.13', index: 41}
              max: 1
            anzeigenameCode:
              match: {url: null}
              schema:
                type: Extension
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                index: 42
                extensions:
                  content:
                    url: null
                    index: 44
                    elements:
                      value:
                        choices: []
                        index: 46
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                index: 46
                elements:
                  extension:
                    index: 43
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        content:
                          match: {url: null}
                          schema:
                            index: 44
                            elements:
                              value:
                                choices: []
                                index: 46
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        choices: []
                                        index: 46
  birthDate:
    index: 47
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 49
        elements:
          value:
            choices: []
            index: 51
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 53
    elements:
      extension:
        index: 48
        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: 49
                elements:
                  value:
                    choices: []
                    index: 51
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 53
  address:
    index: 54
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: null}
          schema: {type: Address, index: 55}
        Postfach:
          match: {type: null}
          schema: {type: Address, index: 56}
  contact:
    elements:
      address:
        elements:
          country:
            short: Staat
            binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
            index: 57
  communication: {short: Bevorzugte Sprache, index: 58}
package_version: 1.2.1
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.2.1
required: [name, birthDate]