PackagesCanonicalsLogsProblems
    Packages
    de.experimental.vsdm2@1.1.2-beta-1
    https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatientBase
description: Basis-Angaben zum Versicherten im Versichertenstammdatenmanagement (VSDM) 2.0
package_name: de.experimental.vsdm2
derivation: constraint
name: VSDMPatientBase
type: Patient
elements:
  identifier:
    short: Versichertennummer (KVNR)
    index: 0
    slicing:
      slices:
        KVNR:
          match: {}
          schema: {short: Versichertennummer (KVNR), index: 0}
  name:
    index: 1
    slicing:
      slices:
        Name:
          match: {}
          schema:
            index: 1
            elements:
              text: {short: vollständiger zusammengesetzter Name, mustSupport: true, index: 2}
              family:
                index: 3
                extensions:
                  namenszusatz:
                    url: null
                    index: 4
                    elements:
                      value:
                        choices: []
                        index: 6
                  nachname: {url: null, short: Nachname ohne Vorsatzwort und Zusätze, index: 7}
                  vorsatzwort:
                    url: null
                    short: Vorsatzwort
                    index: 8
                    elements:
                      value:
                        choices: []
                        index: 10
                elements:
                  extension:
                    index: 4
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 4
                            elements:
                              value:
                                choices: []
                                index: 6
                        nachname:
                          match: {}
                          schema: {short: Nachname ohne Vorsatzwort und Zusätze, index: 7}
                        vorsatzwort:
                          match: {}
                          schema:
                            short: Vorsatzwort
                            index: 8
                            elements:
                              value:
                                choices: []
                                index: 10
              given: {index: 11}
              prefix:
                index: 12
                extensions:
                  prefix-qualifier: {url: null, short: Art des Namenspräfix, index: 13}
                elements:
                  extension:
                    short: Art des Namenspräfix
                    index: 13
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          schema: {short: Art des Namenspräfix, index: 13}
  telecom:
    mustSupport: true
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: system, type: profile}
      min: null
      slices:
        TIMessengerID:
          match: {}
          schema: {type: ContactPoint, mustSupport: true, index: 15}
          min: 0
          max: 1
  gender:
    short: Administrative Geschlechtsangabe (FHIR-Kodierung)
    index: 16
    extensions:
      other-amtlich:
        url: null
        short: Administrative Geschlechtsangabe (deutsche Kodierung)
        mustSupport: true
        index: 17
        elements:
          value[x]:
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/gender-amtlich-de'}
                mustSupport: true
                index: 18
              version:
                pattern: {type: String, value: 1.6.0}
                mustSupport: true
                index: 19
              code: {mustSupport: true, index: 20}
            required: [version, system, code]
    elements:
      extension:
        short: Administrative Geschlechtsangabe (deutsche Kodierung)
        mustSupport: true
        index: 17
        slicing:
          slices:
            other-amtlich:
              match: {}
              schema:
                short: Administrative Geschlechtsangabe (deutsche Kodierung)
                mustSupport: true
                index: 17
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/gender-amtlich-de'}
                        mustSupport: true
                        index: 18
                      version:
                        pattern: {type: String, value: 1.6.0}
                        mustSupport: true
                        index: 19
                      code: {mustSupport: true, index: 20}
                    required: [version, system, code]
  birthDate: {index: 21}
  address:
    mustSupport: true
    index: 22
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        StrassenAdresse:
          match: {type: physical}
          schema:
            type: Address
            mustSupport: true
            index: 23
            elements:
              type:
                mustSupport: true
                pattern: {type: Code, value: physical}
                index: 24
              line:
                mustSupport: true
                index: 25
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 26}
                  Hausnummer: {url: null, mustSupport: true, index: 27}
                  Adresszusatz: {url: null, mustSupport: true, index: 28}
                elements:
                  extension:
                    mustSupport: true
                    index: 26
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 26}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 27}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 28}
              city: {mustSupport: true, index: 29}
              postalCode: {mustSupport: true, index: 30}
              country:
                constraint:
                  country-code-iso-or-extension-1: {human: Der Ländercode muss entweder als ISO 3166-1-Code in countryCode oder mit der alternativen Erweiterung countryCodeExt angegeben werden., source: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatientBase', severity: error, expression: 'extension.where(url = ''http://hl7.org/fhir/StructureDefinition/iso21090-codedString'').exists() != extension.where(url = ''https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung'').exists()'}
                mustSupport: true
                index: 31
                extensions:
                  countryCode: {url: null, mustSupport: true, index: 32}
                  countryCodeExt: {url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', min: 0, max: 1, short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, index: 33}
                  anlage8: {url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMLaenderkennzeichenAnlage8', min: 0, max: 1, short: Länderkennzeichen nach DEÜV Anlage 8, type: Extension, mustSupport: true, index: 34}
                elements:
                  extension:
                    mustSupport: true
                    index: 32
                    slicing:
                      slices:
                        countryCode:
                          match: {}
                          schema: {mustSupport: true, index: 32}
                        countryCodeExt:
                          match: {}
                          schema: {short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', index: 33}
                          min: 0
                          max: 1
                        anlage8:
                          match: {}
                          schema: {short: Länderkennzeichen nach DEÜV Anlage 8, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMLaenderkennzeichenAnlage8', index: 34}
                          min: 0
                          max: 1
            required: [type]
        PostfachAdresse:
          match: {type: postal}
          schema:
            type: Address
            mustSupport: true
            index: 35
            elements:
              type:
                mustSupport: true
                pattern: {type: Code, value: postal}
                index: 36
              line:
                mustSupport: true
                index: 37
                extensions:
                  Postfach: {url: null, mustSupport: true, index: 38}
                elements:
                  extension:
                    mustSupport: true
                    index: 38
                    slicing:
                      slices:
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 38}
              city: {mustSupport: true, index: 39}
              postalCode: {mustSupport: true, index: 40}
              country:
                constraint:
                  country-code-iso-or-extension-1: {human: Der Ländercode muss entweder als ISO 3166-1-Code in countryCode oder mit der alternativen Erweiterung countryCodeExt angegeben werden., source: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatientBase', severity: error, expression: 'extension.where(url = ''http://hl7.org/fhir/StructureDefinition/iso21090-codedString'').exists() != extension.where(url = ''https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung'').exists()'}
                mustSupport: true
                index: 41
                extensions:
                  countryCode: {url: null, mustSupport: true, index: 42}
                  countryCodeExt: {url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', min: 0, max: 1, short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, index: 43}
                  anlage8: {url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMLaenderkennzeichenAnlage8', min: 0, max: 1, short: Länderkennzeichen nach DEÜV Anlage 8, type: Extension, mustSupport: true, index: 44}
                elements:
                  extension:
                    mustSupport: true
                    index: 42
                    slicing:
                      slices:
                        countryCode:
                          match: {}
                          schema: {mustSupport: true, index: 42}
                        countryCodeExt:
                          match: {}
                          schema: {short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', index: 43}
                          min: 0
                          max: 1
                        anlage8:
                          match: {}
                          schema: {short: Länderkennzeichen nach DEÜV Anlage 8, type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMLaenderkennzeichenAnlage8', index: 44}
                          min: 0
                          max: 1
            required: [type]
package_version: 1.1.2-beta-1
class: profile
kind: resource
url: https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatientBase
base: https://gematik.de/fhir/ti/StructureDefinition/ti-patient
version: 1.1.2-dev