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 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: 5 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-tumor-specimen'] index: 6 component: mustSupport: true index: 7 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: 8 elements: code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 33728-7, system: 'http://loinc.org'} index: 9 value: mustSupport: true choices: [valueQuantity] index: 11 valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 12} 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: 14 elements: code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 33729-5, system: 'http://loinc.org'} index: 15 value: mustSupport: true choices: [valueQuantity] index: 17 valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 18} package_version: 2.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.0.0 required: [component, subject]