PackagesCanonicalsLogsProblems
    Packages
    de.gematik.sterbefall@1.0.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: 19
    elements:
      reference: {mustSupport: true, index: 20}
  value[x]:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
            mustSupport: true
            index: 12
          version: {mustSupport: true, index: 13}
          code: {mustSupport: true, index: 14}
          display: {mustSupport: true, index: 15}
        required: [version, system, code]
      text: {mustSupport: true, index: 16}
  value:
    choices: [valueCodeableConcept]
    index: 10
  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: 1
      slices:
        Todesursachensequenz:
          match:
            code:
              coding:
              - {code: 82791-5, system: 'http://loinc.org'}
          schema:
            mustSupport: true
            _required: true
            index: 28
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 82791-5, system: 'http://loinc.org'}
                index: 29
              value:
                choices: [valueCodeableConcept]
                index: 34
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        _required: true
                        index: 34
                      min: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 35
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 35}
                      min: 1
              value[x]:
                elements:
                  coding:
                    binding: {strength: required, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfTodesursachensequenzVS'}
                    mustSupport: true
                    index: 36
                required: [coding]
            required: [value, valueCodeableConcept]
        NichtNatuerlicherTod:
          match:
            code:
              coding:
              - {code: nichtNatuerlicherTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 37
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: nichtNatuerlicherTod, 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:
                    binding: {strength: required, valueSet: 'http://gematik.de/fhir/oegd/stf/ValueSet/StfJaNeinUnbekanntVS'}
                    index: 45
                  text: {mustSupport: true, index: 46}
        WeitereAngaben:
          match:
            code:
              coding:
              - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            array: true
            index: 47
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: todesursacheKlassifikation, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 48
              value:
                mustSupport: true
                choices: [valueString]
                index: 63
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueString]
                        index: 63
                      min: 0
                      max: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 55
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 55}
              valueString:
                type: string
                mustSupport: true
                choiceOf: value
                index: 64
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, mustSupport: true, choiceOf: value, index: 64}
                      min: 0
                      max: 1
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 56
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
                        mustSupport: true
                        index: 57
                      version: {mustSupport: true, index: 58}
                      code: {mustSupport: true, index: 59}
                      display: {mustSupport: true, index: 60}
                    required: [version, system, code]
                  text: {mustSupport: true, index: 61}
        ZeitdauerBeginnBisTod:
          match:
            code:
              coding:
              - {code: zeitdauerBeginnBisTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
          schema:
            mustSupport: true
            index: 65
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: zeitdauerBeginnBisTod, system: 'http://gematik.de/fhir/oegd/stf/CodeSystem/StfObservationCodesErweiterungCS'}
                index: 66
              value:
                mustSupport: true
                choices: [valueString]
                index: 71
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueString]
                        index: 71
                      min: 0
                      max: 1
              valueString:
                type: string
                mustSupport: true
                choiceOf: value
                index: 72
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, mustSupport: true, choiceOf: value, index: 72}
                      min: 0
                      max: 1
  note: {index: 18}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 7
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 7}
  effective:
    choices: [effectiveDateTime]
    index: 6
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 6
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            SCT:
              match: {code: '184305005', system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: '184305005', system: 'http://snomed.info/sct'}
                _required: true
                index: 1
              min: 1
              max: 1
    required: [coding]
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
  performer: {mustSupport: true, index: 8}
  dataAbsentReason: {mustSupport: true, index: 17}
package_version: 1.0.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.2
required: [component]