PackagesCanonicalsLogsProblems
    Packages
    de.gematik.sterbefall@1.0.0-beta.2
    http://gematik.de/fhir/oegd/stf/StructureDefinition/StfVerstorbenePerson
description: Informationen zur verstorbenen Person
package_name: de.gematik.sterbefall
derivation: constraint
name: StfVerstorbenePerson
type: Patient
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        IdImGesundheitsamt:
          match:
            type:
              coding:
              - {code: PI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: PI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 1
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 2
              system: {mustSupport: true, index: 3}
              assigner:
                short: Gesundheitsamt
                mustSupport: true
                index: 4
                elements:
                  reference: {mustSupport: true, index: 5}
                  display: {mustSupport: true, index: 6}
            required: [type]
        Sterbebuchnummer:
          match:
            type:
              coding:
              - {code: DC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: DC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 7
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: DC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 8
              system: {mustSupport: true, index: 9}
            required: [type]
  active: {mustSupport: true, index: 10}
  name:
    mustSupport: true
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            mustSupport: true
            _required: true
            index: 12
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 13
              family: {mustSupport: true, index: 14}
              given: {mustSupport: true, index: 15}
              prefix: {mustSupport: true, index: 16}
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            mustSupport: true
            index: 17
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 18
              family: {mustSupport: true, index: 19}
              given: {index: 20}
              prefix: {index: 21}
            required: [use]
  gender: {mustSupport: true, index: 22}
  birthDate: {mustSupport: true, index: 23}
  deceased:
    mustSupport: true
    choices: []
    index: 25
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        deceasedDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [deceasedDateTime]
            _required: true
            index: 27
          min: 1
          max: 1
  deceasedDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: deceased
    index: 28
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, _required: true, choiceOf: deceased, index: 28}
          min: 1
          max: 1
  address:
    mustSupport: true
    index: 29
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            min: 1
            index: 30
            type: Address
            mustSupport: true
            array: true
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension
                index: 31
                slicing:
                  slices:
                    GKZ:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension', index: 31}
                      min: 0
                      max: 1
              type:
                pattern: {type: Code, value: both}
                index: 32
              line:
                mustSupport: true
                index: 33
                extensions:
                  Strasse: {url: null, min: 1, mustSupport: true, _required: true, index: 35}
                  Hausnummer: {url: null, min: 1, mustSupport: true, _required: true, index: 36}
                  Adresszusatz: {url: null, mustSupport: true, index: 37}
                  Postfach: {url: null, max: 0, index: 38}
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 34
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, _required: true, index: 35}
                          min: 1
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, _required: true, index: 36}
                          min: 1
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 37}
                        Postfach:
                          match: {}
                          schema: {index: 38}
                          max: 0
              city: {mustSupport: true, index: 39}
              postalCode: {mustSupport: true, index: 40}
              country: {mustSupport: true, index: 41}
            _required: true
            extensions:
              GKZ: {url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension', min: 0, max: 1, type: Extension, mustSupport: true, index: 31}
            required: [city, postalCode, type]
package_version: 1.0.0-beta.2
class: profile
kind: resource
url: http://gematik.de/fhir/oegd/stf/StructureDefinition/StfVerstorbenePerson
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0-beta.1
required: [deceasedDateTime, gender, name, address, birthDate, deceased]