PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mcode@3.0.0-ballot
    http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size
description: Records the dimensions of a tumor
package_name: hl7.fhir.us.mcode
derivation: constraint
name: TumorSize
type: Observation
elements:
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 21889-1, system: 'http://loinc.org'}
    index: 0
  subject:
    type: Reference
    short: The patient whose tumor was measured.
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient']
    index: 1
  focus:
    short: Identifies a tumor that has NOT been removed from the body
    refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor']
    type: Reference
    mustSupport: true
    index: 2
  effective:
    mustSupport: true
    choices: []
    index: 4
  value:
    short: Not used in this profile
    choices: []
    index: 6
  method:
    short: Method for measuring the tumor
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-tumor-size-method-vs'}
    mustSupport: true
    index: 7
  specimen:
    type: Reference
    short: Identifies a tumor that has been removed from the body
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-human-specimen']
    index: 8
  component:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      description: Slice based on the component.code pattern
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        tumorLongestDimension:
          match:
            code:
              coding:
              - {code: 33728-7, system: 'http://loinc.org'}
          schema:
            short: Longest tumor dimension (cm or mm)
            mustSupport: true
            _required: true
            index: 10
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 33728-7, system: 'http://loinc.org'}
                index: 11
              value:
                mustSupport: true
                choices: [valueQuantity]
                index: 13
              valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 14}
        tumorOtherDimension:
          match:
            code:
              coding:
              - {code: 33729-5, system: 'http://loinc.org'}
          schema:
            short: 2nd or 3rd tumor dimension (cm or mm)
            mustSupport: true
            array: true
            max: 2
            index: 16
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 33729-5, system: 'http://loinc.org'}
                index: 17
              value:
                mustSupport: true
                choices: [valueQuantity]
                index: 19
              valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 20}
package_version: 3.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 3.0.0-ballot
required: [component, subject]