PackagesCanonicalsLogsProblems
    Packages
    de.gematik.sterbefall@1.0.0-beta.2
    http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursache
description: Todesursache (kompatibel zu [MII PR Onkologie Tod](https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-tod) )
package_name: de.gematik.sterbefall
derivation: constraint
name: StfTodesursache
type: Observation
elements:
  hasMember:
    index: 17
    extensions:
      TodesursacheTyp: {url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursacheTypExtension', min: 1, max: 1, type: Extension, mustSupport: true, index: 19}
    elements:
      extension:
        index: 18
        slicing:
          slices:
            TodesursacheTyp:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursacheTypExtension', index: 19}
              min: 1
              max: 1
      reference: {mustSupport: true, index: 20}
    required: [extension]
  value[x]:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
            mustSupport: true
            index: 11
          version: {mustSupport: true, index: 12}
          code: {mustSupport: true, index: 13}
          display: {mustSupport: true, index: 14}
        required: [version, display, system, code]
  value:
    choices: [valueCodeableConcept]
    index: 9
  component:
    mustSupport: true
    index: 21
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfObservationCodes'}
        mustSupport: true
        index: 22
      value:
        mustSupport: true
        choices: []
        index: 24
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 26
              min: 0
              max: 1
      valueCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: value
        index: 27
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 27}
              min: 0
              max: 1
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        NichtNatuerlicherTod:
          match:
            code:
              coding:
              - {code: nichtNatuerlicherTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 28
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: nichtNatuerlicherTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 29
              value:
                choices: [valueCodeableConcept]
                index: 34
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 34
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 35
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 35}
              value[x]:
                elements:
                  coding:
                    binding: {strength: required, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfJaNeinUnbekanntVS'}
                    index: 36
        Details:
          match:
            code:
              coding:
              - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 37
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 38
              value:
                choices: [valueCodeableConcept]
                index: 43
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 43
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 44
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 44}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
                        mustSupport: true
                        index: 45
                      version: {mustSupport: true, index: 46}
                      code: {mustSupport: true, index: 47}
                      display: {mustSupport: true, index: 48}
                    required: [version, display, system, code]
        Quelle:
          match:
            code:
              coding:
              - {code: quelle, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 49
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: quelle, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 50
              value:
                choices: [valueCodeableConcept]
                index: 55
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 55
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 56
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 56}
  note: {index: 16}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 6
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 6}
  effective:
    choices: [effectiveDateTime]
    index: 5
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 5
  code:
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: '184305005', system: 'http://snomed.info/sct'}
        index: 0
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
  performer: {mustSupport: true, index: 7}
  dataAbsentReason: {mustSupport: true, index: 15}
package_version: 1.0.0-beta.2
class: profile
kind: resource
url: http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursache
base: http://gematik.de/fhir/oegd/stf/StructureDefinition/StfBasisObservation
version: 1.0.0-beta.1