PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erg@1.0.0-rc1
    https://gematik.de/fhir/erg/StructureDefinition/erg-patient
description: null
package_name: de.gematik.erg
derivation: constraint
name: ERGPatient
type: Patient
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        KVNR:
          match:
            type:
              coding:
              - {code: KVZ10, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
          schema:
            short: KVNR (Krankenversichertennummer)
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: KVZ10, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
            index: 1
            elements:
              type: {mustSupport: true, index: 2}
              system: {short: System des KVZ10 Code, mustSupport: true, index: 3}
              value: {short: KVNR (Krankenversichertennummer), mustSupport: true, index: 4}
              assigner:
                mustSupport: true
                index: 5
                elements:
                  identifier:
                    type: Identifier
                    short: IK-Nummer der Krankenkasse
                    mustSupport: true
                    index: 6
                    elements:
                      type: {mustSupport: true, index: 7}
                      system: {short: System der IK-Nummer, mustSupport: true, index: 8}
                      value: {short: IK-Nummer der Krankenkasse, mustSupport: true, index: 9}
                    required: [type]
            required: [type]
  name:
    type: HumanName
    short: Name
    mustSupport: true
    index: 10
    elements:
      use: {mustSupport: true, index: 11}
      text: {short: Voller Name inkl. Anrede, mustSupport: true, index: 12}
      family:
        short: Nachname
        mustSupport: true
        index: 13
        extensions:
          namenszusatz: {url: null, mustSupport: true, index: 14}
          nachname: {url: null, mustSupport: true, index: 15}
          vorsatzwort: {url: null, mustSupport: true, index: 16}
        elements:
          extension:
            mustSupport: true
            index: 14
            slicing:
              slices:
                namenszusatz:
                  match: {}
                  schema: {mustSupport: true, index: 14}
                nachname:
                  match: {}
                  schema: {mustSupport: true, index: 15}
                vorsatzwort:
                  match: {}
                  schema: {mustSupport: true, index: 16}
      given: {mustSupport: true, index: 17}
      prefix:
        short: Titel
        mustSupport: true
        index: 18
        extensions:
          prefix-qualifier: {url: null, mustSupport: true, index: 19}
        elements:
          extension:
            mustSupport: true
            index: 19
            slicing:
              slices:
                prefix-qualifier:
                  match: {}
                  schema: {mustSupport: true, index: 19}
  birthDate: {short: Geburtsdatum, mustSupport: true, index: 20}
  address:
    mustSupport: true
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            short: Strassenanschrift
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: both}
            index: 22
            elements:
              type: {mustSupport: true, index: 23}
              line:
                short: Straße und Hausnummer
                mustSupport: true
                index: 24
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 25}
                  Hausnummer: {url: null, mustSupport: true, index: 26}
                  Adresszusatz: {url: null, mustSupport: true, index: 27}
                  Postfach: {url: null, max: 0, index: 28}
                elements:
                  extension:
                    mustSupport: true
                    index: 25
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 25}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 26}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 27}
                        Postfach:
                          match: {}
                          schema: {index: 28}
                          max: 0
              city: {short: Ort, mustSupport: true, index: 29}
              postalCode: {mustSupport: true, index: 30}
              country: {short: Länderkennzeichen, mustSupport: true, index: 31}
        Postfach:
          match: {type: postal}
          schema:
            constraint:
              address-cnt-2or3-char: {human: 'The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', source: 'https://gematik.de/fhir/erg/StructureDefinition/erg-patient', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
            short: Postfach
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: postal}
            index: 32
            elements:
              type: {mustSupport: true, index: 33}
              line:
                short: Postfach-Angabe
                mustSupport: true
                index: 34
                extensions:
                  Strasse: {url: null, max: 0, index: 35}
                  Hausnummer: {url: null, max: 0, index: 36}
                  Adresszusatz: {url: null, max: 0, index: 37}
                  Postfach: {url: null, mustSupport: true, index: 38}
                elements:
                  extension:
                    index: 35
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 35}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 36}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 37}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 38}
              city: {short: Ort, mustSupport: true, index: 39}
              postalCode: {mustSupport: true, index: 40}
              country: {short: Länderkennzeichen, mustSupport: true, index: 41}
package_version: 1.0.0-rc1
class: profile
kind: resource
url: https://gematik.de/fhir/erg/StructureDefinition/erg-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0-CC