PackagesCanonicalsLogsProblems
    Packages
    de.dktk.oncology@1.3.0
    http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Observation-TNMp
description: Staging von Tumorerkrankungen nach der TNM-Klassifikation (pathologisch) gemäß der aktuellen Ausgabe  AJCC
package_name: de.dktk.oncology
derivation: constraint
name: TNMp
type: Observation
elements:
  category:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/observation-category'}
            index: 1
          code:
            pattern: {type: Code, value: laboratory}
            index: 2
        required: [system, code]
  value[x]:
    elements:
      coding:
        elements:
          version:
            short: TNM-Version
            binding: {strength: extensible, valueSet: 'http://dktk.dkfz.de/fhir/onco/core/ValueSet/TNMVersionVS'}
            index: 15
          code: {short: UICC Stadium, index: 16}
        required: [version, code]
  encounter:
    type: Reference
    refers: ['http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Encounter-Fall']
    index: 8
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 13
  component:
    index: 17
    slicing:
      id: '394'
      rules: open
      ordered: false
      discriminator:
      - {path: code.coding.code, type: value}
      min: null
      slices:
        TNM-T:
          match:
            code:
              coding: {code: 21899-0}
          schema:
            mustSupport: true
            index: 18
            extensions:
              TNM-cpu-Praefix: {url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', type: Extension, index: 20}
            elements:
              extension:
                index: 19
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    TNM-cpu-Praefix:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', index: 20}
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 21
                      code:
                        pattern: {type: Code, value: 21899-0}
                        index: 22
                    required: [code]
              value:
                short: TNM-T
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, short: TNM-T, mustSupport: true, choiceOf: value, index: 25}
        TNM-N:
          match:
            code:
              coding: {code: 21900-6}
          schema:
            mustSupport: true
            index: 26
            extensions:
              TNM-cpu-Praefix: {url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', type: Extension, index: 28}
            elements:
              extension:
                index: 27
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    TNM-cpu-Praefix:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', index: 28}
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 29
                      code:
                        pattern: {type: Code, value: 21900-6}
                        index: 30
              value:
                short: TNM-N
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 32
              valueCodeableConcept: {type: CodeableConcept, short: TNM-N, mustSupport: true, choiceOf: value, index: 33}
        TNM-M:
          match:
            code:
              coding: {code: 21901-4}
          schema:
            mustSupport: true
            index: 34
            extensions:
              TNM-cpu-Praefix: {url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', max: 1, type: Extension, mustSupport: true, index: 36}
            elements:
              extension:
                index: 35
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    TNM-cpu-Praefix:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Extension-TNMcpuPraefix', index: 36}
                      max: 1
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 37
                      code:
                        pattern: {type: Code, value: 21901-4}
                        index: 38
              value:
                short: TNM-M
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept: {type: CodeableConcept, short: TNM-M, mustSupport: true, choiceOf: value, index: 41}
        TNM-y-Symbol:
          match:
            code:
              coding: {code: 59479-6}
          schema:
            mustSupport: true
            index: 42
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 43
                      code:
                        pattern: {type: Code, value: 59479-6}
                        index: 44
                    required: [code]
              value:
                short: TNM-y-Symbol
                choices: [valueCodeableConcept]
                index: 46
              valueCodeableConcept: {type: CodeableConcept, short: TNM-y-Symbol, choiceOf: value, index: 47}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 48}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-r-Symbol:
          match:
            code:
              coding: {code: 21983-2}
          schema:
            mustSupport: true
            index: 49
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 50
                      code:
                        pattern: {type: Code, value: 21983-2}
                        index: 51
                    required: [code]
              value:
                short: TNM-r-Symbol
                choices: [valueCodeableConcept]
                index: 53
              valueCodeableConcept: {type: CodeableConcept, short: TNM-r-Symbol, choiceOf: value, index: 54}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 55}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-m-Symbol:
          match:
            code:
              coding: {code: 42030-7}
          schema:
            mustSupport: true
            index: 56
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 57
                      code:
                        pattern: {type: Code, value: 42030-7}
                        index: 58
                    required: [code]
              value:
                short: TNM-m-Symbol
                choices: [valueCodeableConcept]
                index: 60
              valueCodeableConcept: {type: CodeableConcept, short: TNM-m-Symbol, choiceOf: value, index: 61}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 62}
                    required: [code]
            required: [value, valueCodeableConcept]
  effectiveDateTime: {type: dateTime, short: Datum der TNM-Dokumentation/Datum Befund, choiceOf: effective, index: 11}
  status: {mustSupport: true, index: 0}
  effective:
    short: Datum der TNM-Dokumentation/Datum Befund
    choices: [effectiveDateTime]
    index: 10
  code:
    mustSupport: true
    index: 3
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 4
          code:
            pattern: {type: Code, value: 21902-2}
            index: 5
        required: [system, code]
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Condition-Primaerdiagnose', 'http://hl7.org/fhir/StructureDefinition/Resource']
    index: 7
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Patient-Patient', 'http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Patient-Pseudonym']
    index: 6
package_version: 1.3.0
class: profile
kind: resource
url: http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Observation-TNMp
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.0
required: [subject]