PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mcode@1.16.0
    http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-specimen
description: Represents a tumor after it has been removed from the body. Prior to excision, use [Tumor](StructureDefinition-mcode-tumor.html) (a BodyStructure) instead. If this tumor was represented by [Tumor](StructureDefinition-mcode-tumor.html) while still in the body, use `identifier` to associate with that resource.
package_name: hl7.fhir.us.mcode
derivation: constraint
name: TumorSpecimen
type: Specimen
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        relatedCondition:
          match: {url: null}
          schema:
            short: Cancer condition associated with this sample.
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-condition-related
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                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:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      description: Slicing by identifier.type to identify tumor identifier
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        tumorIdentifier:
          match: {type: null}
          schema:
            short: Identifier to associate this specimen with a specific Tumor
            type: Identifier
            mustSupport: true
            array: true
            index: 6
            elements:
              type: {mustSupport: true, index: 7}
              value: {mustSupport: true, index: 8}
  status: {mustSupport: true, index: 9}
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: TUMOR, system: 'http://terminology.hl7.org/CodeSystem/v2-0487'}
    index: 10
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient']
    index: 11
  collection:
    mustSupport: true
    index: 12
    elements:
      bodySite:
        mustSupport: true
        index: 13
        extensions:
          locationQualifier: {url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-location-qualifier', min: 0, type: Extension, mustSupport: true, index: 15}
        elements:
          extension:
            mustSupport: true
            index: 14
            slicing:
              slices:
                locationQualifier:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-location-qualifier', index: 15}
                  min: 0
package_version: 1.16.0
extensions:
  relatedCondition:
    url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-condition-related
    short: Cancer condition associated with this sample.
    type: Extension
    mustSupport: true
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        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-specimen
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 1.16.0
required: [type]