PackagesCanonicalsLogsProblems
    Packages
    de.gematik.vsdm2@1.1.0
    https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatient
description: Angaben zum Versicherten im Versichertenstammdatenmanagement (VSDM) 2.0
package_name: de.gematik.vsdm2
derivation: constraint
name: VSDMPatient
type: Patient
elements:
  identifier:
    index: 0
    slicing:
      slices:
        KVNR:
          match: {}
          schema: {short: Versichertennummer (KVNR), _required: true, index: 1}
          min: 1
  name:
    index: 2
    slicing:
      slices:
        Name:
          match: {}
          schema:
            index: 2
            elements:
              text: {short: vollständiger zusammengesetzter Name, mustSupport: true, index: 3}
              family:
                index: 4
                extensions:
                  namenszusatz:
                    url: null
                    index: 5
                    elements:
                      value:
                        choices: []
                        index: 7
                  nachname: {url: null, short: Nachname ohne Vorsatzwort und Zusätze, index: 8}
                  vorsatzwort:
                    url: null
                    short: Vorsatzwort
                    index: 9
                    elements:
                      value:
                        choices: []
                        index: 11
                elements:
                  extension:
                    index: 5
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema:
                            index: 5
                            elements:
                              value:
                                choices: []
                                index: 7
                        nachname:
                          match: {}
                          schema: {short: Nachname ohne Vorsatzwort und Zusätze, index: 8}
                        vorsatzwort:
                          match: {}
                          schema:
                            short: Vorsatzwort
                            index: 9
                            elements:
                              value:
                                choices: []
                                index: 11
              given: {index: 12}
              prefix:
                index: 13
                extensions:
                  prefix-qualifier: {url: null, short: Art des Namenspräfix, index: 14}
                elements:
                  extension:
                    short: Art des Namenspräfix
                    index: 14
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          schema: {short: Art des Namenspräfix, index: 14}
  telecom:
    mustSupport: true
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: system, type: profile}
      min: null
      slices:
        TIMessengerID:
          match: {}
          schema: {type: ContactPoint, mustSupport: true, index: 16}
          min: 0
          max: 1
  gender:
    short: Administrative Geschlechtsangabe (FHIR-Kodierung)
    index: 17
    extensions:
      other-amtlich:
        url: null
        short: Administrative Geschlechtsangabe (deutsche Kodierung)
        mustSupport: true
        index: 18
        elements:
          value[x]:
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/gender-amtlich-de'}
                mustSupport: true
                index: 19
              version:
                pattern: {type: String, value: 1.6.0}
                mustSupport: true
                index: 20
              code: {mustSupport: true, index: 21}
            required: [version, system, code]
    elements:
      extension:
        short: Administrative Geschlechtsangabe (deutsche Kodierung)
        mustSupport: true
        index: 18
        slicing:
          slices:
            other-amtlich:
              match: {}
              schema:
                short: Administrative Geschlechtsangabe (deutsche Kodierung)
                mustSupport: true
                index: 18
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/gender-amtlich-de'}
                        mustSupport: true
                        index: 19
                      version:
                        pattern: {type: String, value: 1.6.0}
                        mustSupport: true
                        index: 20
                      code: {mustSupport: true, index: 21}
                    required: [version, system, code]
  birthDate: {index: 22}
  address:
    mustSupport: true
    index: 23
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        StrassenAdresse:
          match: {type: physical}
          schema:
            type: Address
            mustSupport: true
            index: 24
            elements:
              type:
                mustSupport: true
                pattern: {type: Code, value: physical}
                index: 25
              line:
                mustSupport: true
                index: 26
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 27}
                  Hausnummer: {url: null, mustSupport: true, index: 28}
                  Adresszusatz: {url: null, mustSupport: true, index: 29}
                elements:
                  extension:
                    mustSupport: true
                    index: 27
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 27}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 28}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 29}
              city: {mustSupport: true, index: 30}
              postalCode: {mustSupport: true, index: 31}
              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/VSDMPatient', 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: 32
                extensions:
                  countryCode: {url: null, mustSupport: true, index: 33}
                  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: 34}
                  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: 35}
                elements:
                  extension:
                    mustSupport: true
                    index: 33
                    slicing:
                      slices:
                        countryCode:
                          match: {}
                          schema: {mustSupport: true, index: 33}
                        countryCodeExt:
                          match: {}
                          schema: {short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', index: 34}
                          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: 35}
                          min: 0
                          max: 1
            required: [type]
        PostfachAdresse:
          match: {type: postal}
          schema:
            type: Address
            mustSupport: true
            index: 36
            elements:
              type:
                mustSupport: true
                pattern: {type: Code, value: postal}
                index: 37
              line:
                mustSupport: true
                index: 38
                extensions:
                  Postfach: {url: null, mustSupport: true, index: 39}
                elements:
                  extension:
                    mustSupport: true
                    index: 39
                    slicing:
                      slices:
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 39}
              city: {mustSupport: true, index: 40}
              postalCode: {mustSupport: true, index: 41}
              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/VSDMPatient', 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: 42
                extensions:
                  countryCode: {url: null, mustSupport: true, index: 43}
                  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: 44}
                  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: 45}
                elements:
                  extension:
                    mustSupport: true
                    index: 43
                    slicing:
                      slices:
                        countryCode:
                          match: {}
                          schema: {mustSupport: true, index: 43}
                        countryCodeExt:
                          match: {}
                          schema: {short: Länderkennzeichen nach ISO 3166-1 (erweitert), type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMISO3166Ergaenzung', index: 44}
                          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: 45}
                          min: 0
                          max: 1
            required: [type]
package_version: 1.1.0
class: profile
kind: resource
url: https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatient
base: https://gematik.de/fhir/ti/StructureDefinition/ti-patient
version: 1.1.0
required: [identifier]