PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mcode@2.0.0
    http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor
description: Identifies a tumor that has not been removed from the body. Whenever possible, a single resource conforming to this profile will be used to track a tumor over time (as opposed to creating new Tumor-conforming BodyStructure resources each time that tumor is measured). Use TumorSpecimen to represent the tumor after removal from the body.
package_name: hl7.fhir.us.mcode
derivation: constraint
name: Tumor
type: BodyStructure
elements:
  extension:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        relatedCondition:
          match: {url: null}
          schema:
            short: Reference to cancer condition associated with this tumor
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition
            index: 1
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition', 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-secondary-cancer-condition']
                index: 4
  identifier:
    short: Stable identifier(s) for this tumor
    mustSupport: true
    index: 5
    slicing:
      rules: open
      description: Slice containing at least one tumor identifier
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        tumorIdentifier:
          match: {type: null}
          schema: {type: Identifier, short: Identifier to associate this specimen with a specific Tumor, array: true, min: 1, _required: true, index: 6}
          min: 1
  morphology:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '367651003', system: 'http://snomed.info/sct', display: 'Malignant neoplasm of primary, secondary, or uncertain origin (morphologic abnormality)'}
    index: 7
  location:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-cancer-body-location-vs'}
    mustSupport: true
    index: 8
  locationQualifier:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-body-location-and-laterality-qualifier-vs'}
    mustSupport: true
    index: 9
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient']
    index: 10
package_version: 2.0.0
extensions:
  relatedCondition:
    url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition
    short: Reference to cancer condition associated with this tumor
    type: Extension
    mustSupport: true
    index: 1
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition', 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-secondary-cancer-condition']
        index: 4
class: profile
kind: resource
url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor
base: http://hl7.org/fhir/StructureDefinition/BodyStructure
version: 2.0.0
required: [location, identifier]