PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mcode@3.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 HumanSpecimen to represent the tumor after removal from the body. \nNote that the required code for morphology used in STU2 is now inactive.  A new code has been specified and SHOULD be used, but the old code remains conformant.
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/core/StructureDefinition/us-core-condition-problems-health-concerns']
                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:
        bodyStructureIdentifier:
          match: {type: null}
          schema: {type: Identifier, short: A persistent identifier of this tumor., array: true, min: 1, _required: true, index: 6}
          min: 1
  morphology:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-tumor-morphology-code-vs'}
    mustSupport: true
    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: 3.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/core/StructureDefinition/us-core-condition-problems-health-concerns']
        index: 4
class: profile
kind: resource
url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor
base: http://hl7.org/fhir/StructureDefinition/BodyStructure
version: 3.0.0
required: [location, identifier]