PackagesCanonicalsLogsProblems
    Packages
    de.gematik.sterbefall@1.0.0-beta.3
    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: 18
    extensions:
      TodesursacheTyp: {url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursacheTypExtension', min: 1, max: 1, type: Extension, mustSupport: true, index: 20}
    elements:
      extension:
        index: 19
        slicing:
          slices:
            TodesursacheTyp:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://gematik.de/fhir/oegd/stf/StructureDefinition/StfTodesursacheTypExtension', index: 20}
              min: 1
              max: 1
      reference: {mustSupport: true, index: 21}
    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, system, code]
      text: {mustSupport: true, index: 15}
  value:
    choices: [valueCodeableConcept]
    index: 9
  component:
    mustSupport: true
    index: 22
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfObservationCodes'}
        mustSupport: true
        index: 23
      value:
        mustSupport: true
        choices: []
        index: 25
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 27
              min: 0
              max: 1
      valueCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: value
        index: 28
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 28}
              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: 29
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: nichtNatuerlicherTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 30
              value:
                choices: [valueCodeableConcept]
                index: 35
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 35
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 36
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 36}
              value[x]:
                elements:
                  coding:
                    binding: {strength: required, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfJaNeinUnbekanntVS'}
                    index: 37
        Details:
          match:
            code:
              coding:
              - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 38
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 39
              value:
                choices: [valueCodeableConcept]
                index: 44
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 44
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 45
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 45}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
                        mustSupport: true
                        index: 46
                      version: {mustSupport: true, index: 47}
                      code: {mustSupport: true, index: 48}
                      display: {mustSupport: true, index: 49}
                    required: [version, system, code]
                  text: {mustSupport: true, index: 50}
        ZeitdauerBeginnBisTod:
          match:
            code:
              coding:
              - {code: zeitdauerBeginnBisTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 51
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: zeitdauerBeginnBisTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 52
              value:
                mustSupport: true
                choices: [valueString]
                index: 57
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueString]
                        index: 57
                      min: 0
                      max: 1
              valueString:
                type: string
                mustSupport: true
                choiceOf: value
                index: 58
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, mustSupport: true, choiceOf: value, index: 58}
                      min: 0
                      max: 1
        Quelle:
          match:
            code:
              coding:
              - {code: quelle, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 59
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: quelle, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 60
              value:
                choices: [valueCodeableConcept]
                index: 65
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 65
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 66
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 66}
  note: {index: 17}
  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: 16}
package_version: 1.0.0-beta.3
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.3