5.1 Neoplasm Table, Primary, Secondary & Encounters for Therapy

Key Takeaways

  • The ICD-10-CM Neoplasm Table organizes neoplasms across six clinical behavior axes: Malignant Primary, Malignant Secondary, Ca In Situ, Benign, Uncertain Behavior, and Unspecified Behavior.
  • When an encounter is solely for the administration of chemotherapy (Z51.11), immunotherapy (Z51.12), or radiation therapy (Z51.0), the Z-code is sequenced as the principal diagnosis, followed by the active malignancy.
  • Admissions for antineoplastic treatment complications follow strict sequencing: dehydration is sequenced first (E86.0), whereas anemia induced by antineoplastic therapy requires the anemia code (D64.81) first, followed by the malignancy and adverse effect code (T45.1X5A).
  • A personal history code (Z85.x) is reported only when the primary malignancy has been completely excised or eradicated, with no remaining tumor, no recurrence, and no ongoing primary-directed treatment.
Last updated: August 2026

Neoplasms, Oncology Coding & Therapeutic Sequencing

AHIMA CCS Exam Focus: Oncology coding represents one of the most critical and complex clinical domains on the Certified Coding Specialist (CCS) examination. Inpatient coders must master the six behavioral columns of the ICD-10-CM Neoplasm Table, adhere strictly to the sequencing hierarchies outlined in ICD-10-CM Official Guidelines for Coding and Reporting (Section I.C.2), differentiate between active malignancy and personal history (Z85.x), correctly sequence encounters solely for antineoplastic therapy (Z51.xx), and accurately code treatment-related toxicities versus malignancy-related complications.


1. Architecture of the ICD-10-CM Neoplasm Table

To code neoplasms accurately, the coder must understand both the anatomical site and the biological behavior of the tumor. The ICD-10-CM Neoplasm Table is indexed alphabetically by anatomical site (e.g., breast, lung, colon) and structured into six distinct behavioral columns:

Neoplasm Table ColumnICD-10-CM CategoriesPathological & Clinical Definition
1. Malignant PrimaryC00C75, C76C96Autonomous, invasive neoplasm that originates at the specified anatomical site, characterized by uncontrolled cellular proliferation and stromal invasion.
2. Malignant SecondaryC77C79Metastatic lesion; tumor cells that have spread from a distant primary anatomical origin via hematogenous, lymphatic, or direct seeding pathways.
3. Carcinoma in SituD00D09Non-invasive, pre-malignant neoplastic proliferation confined within the epithelial basement membrane without invasion into the underlying stroma.
4. BenignD10D36Non-cancerous, non-invasive, localized tumor composed of well-differentiated mature cells that do not metastasize or invade adjacent tissue.
5. Uncertain BehaviorD37D48Microscopic histology is pathologically indeterminate; the pathologist cannot establish whether the lesion is benign or malignant at the cellular level.
6. Unspecified BehaviorD49Assigned when the medical record lacks histological characterization (e.g., clinical diagnosis of 'mass', 'growth', or 'tumor' without a completed pathology report).
                                  NEOPLASM TABLE LOOKUP WORKFLOW
                                                 │
                                 [Identify Anatomical Site]
                                                 │
               ┌─────────────────────────────────┴─────────────────────────────────┐
               ▼                                                                   ▼
    [Pathology Report Available]                                     [No Pathology / Pending]
               │                                                                   │
  ┌────────────┴────────────┐                                                      ▼
  ▼                         ▼                                            [Unspecified Behavior (D49)]
[Invasive Malignancy]    [Non-Invasive / Benign]
  │                         │
  ├─► Primary (C00-C76)     ├─► In Situ (D00-D09)
  └─► Secondary (C77-C79)   ├─► Benign (D10-D36)
                            └─► Uncertain Behavior (D37-D48)

Alphabetic Index vs. Neoplasm Table Entry Rules

  • Morphology First: If the diagnostic statement specifies a histological term (e.g., adenocarcinoma, osteosarcoma, melanoma, lymphoma, leukemia), the coder must first consult the Alphabetic Index under the specific morphological term.
  • Cross-References: The Alphabetic Index will direct the coder either to a specific code (e.g., Melanoma of trunk C43.59, Multiple myeloma C90.00) or to the Neoplasm Table for site-specific selection.
  • Contiguous / Overlapping Sites: A primary malignant neoplasm that overlaps two or more contiguous sites within the same three-character category is classified to the subcategory .8 (overlapping lesion), unless a specific combination code exists.

2. Sequencing Hierarchy: Primary vs. Secondary Malignancies (Section I.C.2.a–d)

The Uniform Hospital Discharge Data Set (UHDDS) definition of principal diagnosis governs oncology sequencing based on the clinical reason established after study for the acute inpatient admission.

Scenario A: Admission for Treatment of Primary Site

When an inpatient admission is directed primarily toward the surgical resection, ablation, or local therapy of the primary malignancy, the primary site code (C00C76) is sequenced as the Principal Diagnosis. Any documented secondary (metastatic) sites are reported as secondary diagnoses.

Scenario B: Admission for Treatment of Secondary / Metastatic Site Solely

When an admission is directed solely toward the management or treatment of a metastatic site (e.g., stereotactic radiosurgery for brain metastases, spinal cord decompression for metastatic vertebral lesions), the secondary malignancy code (C77C79) is sequenced as the Principal Diagnosis. The primary malignancy is reported as an additional secondary diagnosis if still active.

Scenario C: Primary Site Previously Eradicated with Active Metastasis

When the primary malignancy has been surgically resected or eradicated with no evidence of primary site recurrence, but the patient presents for treatment of a metastatic site:

  1. Principal Diagnosis: Secondary (metastatic) malignancy code (C77C79).
  2. Secondary Diagnosis: Personal history of malignant neoplasm (Z85.x) representing the original primary site.
Example: Inpatient admission for hepatic resection of metastatic colon adenocarcinoma;
primary sigmoid colon cancer was resected 2 years ago without local recurrence.
• Principal Diagnosis: C78.7 (Secondary malignant neoplasm of liver)
• Secondary Diagnosis: Z85.038 (Personal history of other malignant neoplasm of large intestine)

Scenario D: Multiple Primary Malignancies

When a patient presents with multiple independent primary sites (e.g., synchronous primary breast cancer and primary endometrial cancer) and treatment is directed equally at both during the same encounter, either primary malignancy may be sequenced first, followed by the other.


3. Encounters for Antineoplastic Therapy (Section I.C.2.e)

When a patient is admitted to an acute inpatient facility or presents to an outpatient oncology clinic solely for the administration of antineoplastic chemotherapy, immunotherapy, or radiation therapy, official coding guidelines mandate specific Z-code sequencing.

                    ADMISSION SOLELY FOR ANTINEOPLASTIC THERAPY
                                         │
        ┌────────────────────────────────┼────────────────────────────────┐
        ▼                                ▼                                ▼
  [Chemotherapy]                  [Immunotherapy]                 [Radiation Therapy]
     (Z51.11)                        (Z51.12)                           (Z51.0)
        │                                │                                │
        └────────────────────────────────┬────────────────────────────────┘
                                         ▼
                            [Principal Diagnosis: Z-Code]
                                         │
                                         ▼
                  [Secondary Diagnosis: Active Malignancy Code]

Key Rules for Therapeutic Z-Codes

  1. Sole Reason for Encounter: Code Z51.11 (Encounter for antineoplastic chemotherapy), Z51.12 (Encounter for antineoplastic immunotherapy), or Z51.0 (Encounter for antineoplastic radiation therapy) is sequenced as the Principal / First-Listed Diagnosis.
  2. Secondary Code: The active malignancy (primary or secondary) being treated is reported as the secondary diagnosis. Even if the primary tumor was resected and the patient is receiving adjuvant therapy to prevent recurrence, code the active malignancy code (C-code), not a history code (Z85.x).
  3. Multiple Modalities: If a patient receives both chemotherapy and radiation therapy during the same admission, code Z51.0 and Z51.11 may both be reported; sequence the modality that occasioned the inpatient admission first.
  4. Complication Developing During Therapy Stay: If a patient is admitted solely for chemotherapy (Z51.11) and develops an unexpected complication during the stay (e.g., severe nausea, acute vomiting, or dehydration), Z51.11 remains the Principal Diagnosis, with the complications coded as secondary conditions.

4. Sequencing Complications of Malignancy and Antineoplastic Therapy

One of the highest-yield testing areas on the AHIMA CCS exam is determining principal diagnosis when a patient is admitted with acute clinical complications related to cancer or its treatment.

Matrix of Oncology Complication Sequencing

Clinical PresentationPrincipal DiagnosisSecondary DiagnosesOfficial Guideline Rule
Anemia due to Antineoplastic Chemotherapy / RadiationD64.81 (Other antineoplastic chemotherapy induced anemia)1. Malignancy code (C00C96)<br/>2. T45.1X5A (Adverse effect of antineoplastic drugs, initial encounter)Admitted specifically for treatment of drug-induced anemia; D64.81 sequenced first.
Anemia Associated with Malignancy (Anemia of Chronic Disease)Malignancy code (C00C96)D63.0 (Anemia in neoplastic disease)Admitted for anemia associated with the cancer itself; malignancy is sequenced first.
Dehydration due to Malignancy or TherapyE86.0 (Dehydration)1. Malignancy code (C00C96)<br/>2. Adverse effect code (T45.1X5A if chemo-induced)When admission is solely for management of dehydration (IV hydration), E86.0 is PDX.
Neutropenic Fever due to ChemotherapyD70.1 (Agranulocytosis secondary to cancer chemotherapy) or D70.91. R50.81 (Fever presenting with conditions classified elsewhere)<br/>2. T45.1X5A<br/>3. Malignancy codeNeutropenia sequenced first, followed by fever code, adverse effect, and active cancer.
Surgical / Mechanical ComplicationsComplication code (e.g., T81.4- Infection following procedure)Malignancy codePostoperative infection or mechanical complication is principal diagnosis.

Critical Inpatient Distinction: Notice the fundamental contrast between chemotherapy-induced anemia (where D64.81 is Principal Diagnosis) and anemia of neoplastic disease (where the Malignancy is Principal Diagnosis and D63.0 is secondary). Confusing these two scenarios is a frequent pitfall on the CCS exam.


5. Pathological Fractures in Neoplastic Disease (Section I.C.2.m)

A pathological fracture occurs in a bone weakened by an underlying disease process (such as primary bone cancer or osteolytic metastatic bone disease) under physiological stress or minimal trauma.

                  ADMISSION FOR TREATMENT OF PATHOLOGICAL FRACTURE
                                         │
                                         ▼
                  [Principal Diagnosis: M84.5- Category Code]
                  (Pathological fracture in neoplastic disease)
                  (Requires 7th character for encounter/healing)
                                         │
                                         ▼
                    [Secondary Diagnosis: Malignancy Code]
                  • C79.51 (Secondary malignant neoplasm of bone)
                  • Primary Malignancy Code (e.g., C50.911 Breast)
  • Sequencing Mandate: When an encounter is for the acute management, surgical fixation, or reduction of a pathological fracture due to a neoplasm, code from subcategory M84.5 (Pathological fracture in neoplastic disease) is sequenced as the Principal Diagnosis.
  • Required 7th Character: The M84.5- code requires a 7th character extension indicating the encounter type and healing phase (A for initial encounter, D for subsequent encounter with routine healing, K for nonunion, P for malunion, S for sequela).
  • Secondary Neoplasm Assignment: Sequence the secondary bone neoplasm (C79.51) and the primary neoplasm (or Z85.x history code if primary was eradicated) as secondary diagnoses.
  • Traumatic vs. Pathologic: Never assign a traumatic fracture code (S-category) for a fracture occurring through a bone site compromised by metastatic tumor.
Test Your Knowledge

A 64-year-old female with known metastatic adenocarcinoma of the breast to the lumbar spine is admitted to the acute inpatient medical unit with severe fatigue and dizziness. Diagnostic workup reveals a hemoglobin of 6.8 g/dL. The physician documents 'severe anemia due to antineoplastic chemotherapy, metastatic breast cancer to lumbar spine; primary right breast cancer resected 3 years ago.' Packed red blood cells are transfused. How should this encounter be coded and sequenced?

A
B
C
D
Test Your Knowledge

A 59-year-old male with active small cell carcinoma of the right lung presents to the outpatient infusion center for his scheduled cycle of antineoplastic chemotherapy. Prior to infusion, the patient is evaluated, receives his planned intravenous chemotherapy regimen, and is discharged home without adverse events. What is the correct principal (first-listed) diagnosis code?

A
B
C
D
Test Your Knowledge

A 72-year-old female is admitted to the hospital with a displaced pathological fracture of the left femoral shaft. Diagnostic imaging and biopsy confirm that the fracture occurred through a lytic bone lesion caused by metastatic spread from primary follicular thyroid carcinoma (thyroidectomy performed 5 years ago, no primary recurrence). An open reduction with internal fixation (ORIF) is performed. What is the correct sequencing of diagnosis codes?

A
B
C
D