PackagesCanonicalsLogsProblems
    Packages
    rs/de.gematik.dev.epa@1.1.0-alpha.5
    https://gematik.de/fhir/epa/StructureDefinition/epa-patient
description: Defines the data structure for the patient profile in the ePA system.
package_name: rs/de.gematik.dev.epa
derivation: constraint
name: EPAPatient
type: Patient
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      versionId: {mustSupport: true, index: 2}
      lastUpdated: {mustSupport: true, index: 3}
  identifier:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        KVNR:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, _required: true, index: 5}
          min: 1
          max: 1
  active: {mustSupport: true, index: 6}
  name:
    mustSupport: true
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        Name:
          match: {use: official}
          schema:
            type: HumanName
            mustSupport: true
            pattern:
              type: HumanName
              value: {use: official}
            _required: true
            index: 8
            elements:
              use: {mustSupport: true, index: 9}
              family:
                mustSupport: true
                index: 10
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 11}
                  nachname: {url: null, mustSupport: true, index: 12}
                  vorsatzwort: {url: null, mustSupport: true, index: 13}
                elements:
                  extension:
                    mustSupport: true
                    index: 11
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 11}
                        nachname:
                          match: {}
                          schema: {mustSupport: true, index: 12}
                        vorsatzwort:
                          match: {}
                          schema: {mustSupport: true, index: 13}
              given: {mustSupport: true, index: 14}
              prefix:
                mustSupport: true
                index: 15
                extensions:
                  prefix-qualifier:
                    url: null
                    mustSupport: true
                    index: 16
                    elements:
                      value:
                        pattern: {type: code, value: AC}
                        choices: []
                        type: code
                        index: 18
                elements:
                  extension:
                    mustSupport: true
                    index: 16
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 16
                            elements:
                              value:
                                pattern: {type: code, value: AC}
                                choices: []
                                type: code
                                index: 18
            required: [family, given, use]
        Geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            mustSupport: true
            pattern:
              type: HumanName
              value: {use: maiden}
            index: 19
            elements:
              use: {mustSupport: true, index: 20}
              family:
                mustSupport: true
                index: 21
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 22}
                  nachname: {url: null, mustSupport: true, index: 23}
                  vorsatzwort: {url: null, mustSupport: true, index: 24}
                elements:
                  extension:
                    mustSupport: true
                    index: 22
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 22}
                        nachname:
                          match: {}
                          schema: {mustSupport: true, index: 23}
                        vorsatzwort:
                          match: {}
                          schema: {mustSupport: true, index: 24}
              given: {index: 25}
              prefix: {index: 26}
              suffix: {index: 27}
            required: [family, use]
  gender:
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', min: 0, max: 1, type: Extension, index: 28}
    elements:
      extension:
        type: Extension
        url: http://fhir.de/StructureDefinition/gender-amtlich-de
        index: 28
        slicing:
          slices:
            other-amtlich:
              match: {}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 28}
              min: 0
              max: 1
  birthDate: {mustSupport: true, index: 29}
package_version: 1.1.0-alpha.5
class: profile
kind: resource
url: https://gematik.de/fhir/epa/StructureDefinition/epa-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0-rc1
required: [birthDate, identifier, name]