PackagesCanonicalsLogsProblems
    Packages
    de.gematik.sterbefall@1.0.0-beta.1
    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: {}
          schema:
            mustSupport: true
            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: {}
          schema:
            mustSupport: true
            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]
  name:
    mustSupport: true
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            mustSupport: true
            _required: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 12
              family: {mustSupport: true, index: 13}
              given: {mustSupport: true, index: 14}
              prefix: {mustSupport: true, index: 15}
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            mustSupport: true
            index: 16
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 17
              family: {mustSupport: true, index: 18}
              given: {index: 19}
              prefix: {index: 20}
            required: [use]
  gender: {mustSupport: true, index: 21}
  birthDate: {mustSupport: true, index: 22}
  deceased:
    mustSupport: true
    choices: []
    index: 24
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        deceasedDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [deceasedDateTime]
            _required: true
            index: 26
          min: 1
          max: 1
  deceasedDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: deceased
    index: 27
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, _required: true, choiceOf: deceased, index: 27}
          min: 1
          max: 1
  address:
    index: 28
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            min: 1
            index: 29
            type: Address
            mustSupport: true
            array: true
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension
                index: 30
                slicing:
                  slices:
                    GKZ:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension', index: 30}
                      min: 0
                      max: 1
              type:
                pattern: {type: Code, value: both}
                index: 31
              line:
                mustSupport: true
                index: 32
                extensions:
                  Strasse: {url: null, min: 1, mustSupport: true, _required: true, index: 34}
                  Hausnummer: {url: null, min: 1, mustSupport: true, _required: true, index: 35}
                  Adresszusatz: {url: null, mustSupport: true, index: 36}
                  Postfach: {url: null, max: 0, index: 37}
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 33
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, _required: true, index: 34}
                          min: 1
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, _required: true, index: 35}
                          min: 1
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 36}
                        Postfach:
                          match: {}
                          schema: {index: 37}
                          max: 0
              city: {mustSupport: true, index: 38}
              postalCode: {mustSupport: true, index: 39}
              country: {mustSupport: true, index: 40}
            _required: true
            extensions:
              GKZ: {url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfGemeindekennzahlExtension', min: 0, max: 1, type: Extension, mustSupport: true, index: 30}
            required: [city, postalCode, type]
package_version: 1.0.0-beta.1
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]