PackagesCanonicalsLogsProblems
    Packages
    cce.fhir.full@0.2.0
    https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Observation-TNMc
description: Staging of tumor diseases according to the TNM classification (clinical) in accordance with the current AJCC edition
package_name: cce.fhir.full
derivation: constraint
name: TNMc
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: 'https://www.cancercoreeurope.eu/fhir/core/ValueSet/TNMVersionVS'}
            index: 15
          code: {short: UICC Stadium, index: 16}
        required: [version, code]
  encounter:
    type: Reference
    refers: ['https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-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-r-Symbol:
          match:
            code:
              coding: {code: 21983-2}
          schema:
            mustSupport: true
            index: 43
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 44
                      code:
                        pattern: {type: Code, value: 21983-2}
                        index: 45
                    required: [code]
              value:
                short: TNM-r-Symbol
                choices: [valueCodeableConcept]
                index: 47
              valueCodeableConcept: {type: CodeableConcept, short: TNM-r-Symbol, choiceOf: value, index: 48}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 49}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-L-Category:
          match:
            code:
              coding: {code: 33739-4}
          schema:
            mustSupport: true
            index: 57
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 58
                      code:
                        pattern: {type: Code, value: 33739-4}
                        index: 59
                    required: [code]
              value:
                short: TNM-L-Category
                choices: [valueCodeableConcept]
                index: 61
              valueCodeableConcept: {type: CodeableConcept, short: TNM-L-Category, choiceOf: value, index: 62}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 63}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-y-Symbol:
          match:
            code:
              coding: {code: 59479-6}
          schema:
            mustSupport: true
            index: 36
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 37
                      code:
                        pattern: {type: Code, value: 59479-6}
                        index: 38
                    required: [code]
              value:
                short: TNM-y-Symbol
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept: {type: CodeableConcept, short: TNM-y-Symbol, choiceOf: value, index: 41}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 42}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-V-Category:
          match:
            code:
              coding: {code: 33740-2}
          schema:
            mustSupport: true
            index: 64
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 65
                      code:
                        pattern: {type: Code, value: 33740-2}
                        index: 66
                    required: [code]
              value:
                short: TNM-V-Category
                choices: [valueCodeableConcept]
                index: 68
              valueCodeableConcept: {type: CodeableConcept, short: TNM-V-Category, choiceOf: value, index: 69}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 70}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-N:
          match:
            code:
              coding: {code: 21906-3}
          schema:
            mustSupport: true
            index: 24
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 25
                      code:
                        pattern: {type: Code, value: 21906-3}
                        index: 26
              value:
                short: TNM-N
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 28
              valueCodeableConcept: {type: CodeableConcept, short: TNM-N, mustSupport: true, choiceOf: value, index: 29}
        TNM-T:
          match:
            code:
              coding: {code: 21905-5}
          schema:
            mustSupport: true
            index: 18
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 19
                      code:
                        pattern: {type: Code, value: 21905-5}
                        index: 20
                    required: [code]
              value:
                short: TNM-T
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 22
              valueCodeableConcept: {type: CodeableConcept, short: TNM-T, mustSupport: true, choiceOf: value, index: 23}
        TNM-M:
          match:
            code:
              coding: {code: 21907-1}
          schema:
            mustSupport: true
            index: 30
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 31
                      code:
                        pattern: {type: Code, value: 21907-1}
                        index: 32
              value:
                short: TNM-M
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 34
              valueCodeableConcept: {type: CodeableConcept, short: TNM-M, mustSupport: true, choiceOf: value, index: 35}
        TNM-S-Category:
          match:
            code:
              coding: {code: 21924-6}
          schema:
            mustSupport: true
            index: 78
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 79
                      code:
                        pattern: {type: Code, value: 21924-6}
                        index: 80
                    required: [code]
              value:
                short: TNM-S-Category
                choices: [valueCodeableConcept]
                index: 82
              valueCodeableConcept: {type: CodeableConcept, short: TNM-S-Category, choiceOf: value, index: 83}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 84}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-m-Symbol:
          match:
            code:
              coding: {code: 42030-7}
          schema:
            mustSupport: true
            index: 50
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 51
                      code:
                        pattern: {type: Code, value: 42030-7}
                        index: 52
                    required: [code]
              value:
                short: TNM-m-Symbol
                choices: [valueCodeableConcept]
                index: 54
              valueCodeableConcept: {type: CodeableConcept, short: TNM-m-Symbol, choiceOf: value, index: 55}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 56}
                    required: [code]
            required: [value, valueCodeableConcept]
        TNM-Pn-Category:
          match:
            code:
              coding: {code: 92837-4}
          schema:
            mustSupport: true
            index: 71
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 72
                      code:
                        pattern: {type: Code, value: 92837-4}
                        index: 73
                    required: [code]
              value:
                short: TNM-Pn-Category
                choices: [valueCodeableConcept]
                index: 75
              valueCodeableConcept: {type: CodeableConcept, short: TNM-Pn-Category, choiceOf: value, index: 76}
              value[x]:
                elements:
                  coding:
                    elements:
                      code: {index: 77}
                    required: [code]
            required: [value, valueCodeableConcept]
  effectiveDateTime: {type: dateTime, short: Date of TNM documentation/Date of findings, choiceOf: effective, index: 11}
  status: {mustSupport: true, index: 0}
  effective:
    short: Date of TNM documentation/Date of findings
    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: 21908-9}
            index: 5
        required: [system, code]
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Condition-Primarydiagnosis']
    index: 7
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Patient-Patient', 'https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Patient-Pseudonym']
    index: 6
package_version: 0.2.0
class: profile
kind: resource
url: https://www.cancercoreeurope.eu/fhir/StructureDefinition/cce-core-Observation-TNMc
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.0.1
required: [subject]