2.4 Official ICD-10-CM Guidelines for Specific Diagnostic Categories

Key Takeaways

  • Outpatient coding rules strictly prohibit coding unconfirmed, probable, suspected, rule-out, or working diagnoses; coders must report signs, symptoms, or abnormal test findings instead.
  • Inpatient coding rules allow qualified 'probable,' 'suspected,' 'likely,' or 'possible' diagnoses to be coded as if established, provided they are documented at the time of discharge.
  • Type 1 (E10) and Type 2 (E11) Diabetes Mellitus require combination codes that specify body system complications alongside secondary codes for CKD stages or long-term insulin therapy (Z79.4).
  • For patients diagnosed with HIV/AIDS, code B20 is assigned only for confirmed cases of symptomatic HIV or AIDS-related illness; asymptomatic HIV status is reported using code Z21.
  • Neoplasm coding is guided by the Neoplasm Table across six behavior categories, and personal history codes (Z85.-) are assigned only after a primary malignancy has been fully eradicated without active treatment.
Last updated: August 2026

2.4 Official ICD-10-CM Guidelines for Specific Diagnostic Categories

The Official Guidelines for Coding and Reporting are a set of rules developed by the Centers for Medicare & Medicaid Services (CMS) and the National Center for Health Statistics (NCHS). These guidelines accompany the ICD-10-CM code set and provide authoritative instructions for coding specific disease categories and clinical circumstances.

For medical insurance and coding specialists, mastery of category-specific rules is routinely tested on the NCCT NCICS examination. This section details the required coding logic for outpatient versus inpatient diagnostic rules, hypertension, diabetes mellitus, infectious diseases (HIV/AIDS), neoplasms, and pregnancy.


Outpatient vs. Inpatient Diagnostic Coding Guidelines

One of the most critical legal and regulatory distinctions in medical billing is the difference between outpatient and inpatient diagnostic coding rules regarding unconfirmed conditions.

Guideline CategoryOutpatient Coding Rules (Physician Offices, Clinics, ED, Ambulatory Surgery)Inpatient Coding Rules (Hospital Acute Care Admissions - UHDDS)
Unconfirmed / Probable DiagnosesDO NOT CODE diagnoses documented as "probable," "suspected," "questionable," "rule out," "possible," or "working diagnosis."DO CODE unconfirmed diagnoses documented at the time of discharge as "probable," "suspected," "likely," or "rule out" as if they were established.
Action Taken for Unconfirmed CasesCode the presenting signs, symptoms, abnormal test results, or chief complaints that prompted the visit.Code the condition being worked up as established; do not report symptom codes if a probable diagnosis is documented.
Regulatory RationaleOutpatient claims represent single services; coding unconfirmed serious conditions creates inaccurate patient medical records and false insurance profiles.Inpatient stays involve multi-day intensive resource consumption driven by the condition under investigation.

[!CAUTION] NCICS Exam Tip: If a physician writes "Outpatient visit for chest pain; rule out acute myocardial infarction," the correct outpatient diagnosis code is Chest Pain (R07.9), NOT acute myocardial infarction (I21.9).


Hypertension Coding Guidelines (Category I10–I16)

ICD-10-CM presumes a causal relationship between hypertension and certain target-organ conditions when documented together.

  1. Essential (Primary) Hypertension (I10): Assigned when hypertension is documented as essential, primary, systemic, or arterial without organ involvement.
  2. Hypertensive Heart Disease (I11): ICD-10-CM presumes a causal relationship between hypertension and heart conditions specified in categories I50.- (heart failure) or I51.4I51.9.
    • I11.0 – Hypertensive heart disease with heart failure (Assign secondary code from I50.- to specify heart failure type).
    • I11.9 – Hypertensive heart disease without heart failure.
  3. Hypertensive Chronic Kidney Disease (I12): ICD-10-CM presumes a causal relationship between hypertension and chronic kidney disease (CKD).
    • I12.0 – Hypertensive CKD with Stage 5 CKD or End-Stage Renal Disease (ESRD).
    • I12.9 – Hypertensive CKD with Stage 1 through Stage 4 CKD.
    • Mandatory Sequencing: Assign code I12.- first, followed by an additional code from category N18.- to identify the specific stage of CKD.
  4. Hypertensive Heart and Chronic Kidney Disease (I13): Assigned when both heart disease and CKD are present with hypertension. Category I13 combination codes specify the presence of heart failure and CKD stage.

Diabetes Mellitus Guidelines (Categories E08–E13)

ICD-10-CM classifies diabetes mellitus into five distinct categories based on underlying etiology:

  • E08 – Diabetes mellitus due to underlying condition
  • E09 – Drug or chemical induced diabetes mellitus
  • E10 – Type 1 diabetes mellitus
  • E11 – Type 2 diabetes mellitus (Default category if diabetes type is unstated in documentation)
  • E13 – Other specified diabetes mellitus

Diabetes Combination Codes & Complications

Diabetes codes in ICD-10-CM are combination codes that combine the type of diabetes with body system manifestations (e.g., ophthalmic, neurological, renal, vascular complications).

Structure: [Category Type] . [Complication / Manifestation]
Example:   E11.311 (Type 2 DM with background diabetic retinopathy with macular edema)

Secondary Codes for Long-Term Drug Therapy

  • Z79.4 (Long-term use of insulin): Assign as a secondary code when a Type 2 diabetic patient routinely uses insulin for glucose control. Do NOT assign Z79.4 if insulin is administered temporarily during an acute hospital encounter or if the patient is Type 1 (since Type 1 diabetics require insulin by definition).
  • Z79.84 (Long-term use of oral hypoglycemic drugs): Assign as a secondary code for Type 2 diabetics managed with oral agents (e.g., Metformin, Glipizide).

Infectious Diseases: HIV / AIDS Coding Rules

Coding human immunodeficiency virus (HIV) infections requires strict compliance with specific diagnostic sequencing rules.

  1. Confirmation Rule: Code B20 (Human immunodeficiency virus [HIV] disease) is assigned only for confirmed cases of HIV disease or AIDS. Provider documentation stating HIV disease, AIDS, or HIV-related illness is sufficient; laboratory test proof is not required on the claim.
  2. B20 vs. Z21 Selection:
    • B20 (Symptomatic HIV / AIDS): Assigned if the patient has an active HIV-related condition (e.g., Kaposi's sarcoma, Pneumocystis jirovecii pneumonia, HIV encephalopathy) or a documented history of symptomatic HIV.
    • Z21 (Asymptomatic HIV status): Assigned when the patient is HIV positive but has never experienced any HIV-related symptoms or opportunistic infections.
    • Rule of No Return: Once a patient is diagnosed with symptomatic HIV (B20), they can NEVER be coded Z21 on any future encounter, even if their symptoms resolve completely.
  3. Sequencing Rules:
    • If a patient is admitted/seen for an HIV-related condition, code B20 is listed first, followed by secondary codes for the HIV-related conditions.
    • If a patient with HIV is seen for an entirely unrelated condition (e.g., wrist fracture, acute appendicitis), the unrelated condition is listed first, followed by B20 or Z21 as a secondary diagnosis.

Neoplasm Coding Guidelines

Coding neoplasms requires navigating the ICD-10-CM Neoplasm Table, which organizes neoplasms across six clinical behavior columns:

Behavior ColumnClinical DefinitionCoding & Sequencing Rule
Malignant PrimaryOriginal site of the malignant tumor growth.Code as primary diagnosis if treatment (surgery, chemo, radiation) is directed at the primary site.
Malignant SecondaryMetastatic site where cancer has spread.Code as primary diagnosis if encounter is solely for treatment of the secondary metastatic site.
Malignant In SituNon-invasive tumor confined to origin cells.Assigned when pathology explicitly states carcinoma in situ.
BenignNon-cancerous, non-malignant tumor growth.Assigned when tumor is pathologically benign.
Uncertain BehaviorHistology cannot determine benign vs. malignant.Requires explicit pathology documentation of uncertain behavior.
Unspecified BehaviorClinical details lack diagnostic histology.Used only when documentation lacks all specificity.

Active Neoplasm vs. Personal History (Z85.-)

  • Active Neoplasm: Code from the Neoplasm Table when the tumor is currently present or when the patient is receiving active treatment (chemotherapy, radiation therapy, targeted immunotherapy, or planned surgical excision).
  • Personal History of Malignant Neoplasm (Z85.-): Assign a personal history Z-code when the primary tumor has been completely excised or eradicated, there is no evidence of remaining malignancy, and the patient is receiving no active treatment for that site.

Obstetrics & Pregnancy Guidelines (Chapter 15: O00–O9A)

  1. Chapter 15 Priority Rule: Codes from Chapter 15 (Pregnancy, childbirth and the puerperium) take sequencing priority over codes from all other chapters. Whenever a pregnant patient is treated for any condition that complicates or is affected by the pregnancy, a Chapter 15 code MUST be listed first.
  2. Weeks of Gestation (Z3A.-): Code category Z3A must be reported as a secondary diagnosis on all obstetric claims to identify the specific week of pregnancy (e.g., Z3A.24 24 weeks gestation of pregnancy).
  3. Outcome of Delivery (Z37.-): A secondary code from category Z37 must be included on every maternal record when a delivery occurs (e.g., Z37.0 Single live birth).
Test Your Knowledge

A patient is evaluated in an outpatient clinic for severe epigastric pain. The physician writes in the assessment: 'Abdominal pain, probable acute cholecystitis; rule out gallstones.' How should the outpatient medical coder assign diagnosis codes for this visit?

A
B
C
D
Test Your Knowledge

A patient with Type 2 diabetes mellitus is admitted for diabetic chronic kidney disease. The physician notes that the patient takes daily insulin injections. What is the correct sequencing and coding rule for this encounter?

A
B
C
D
Test Your Knowledge

A patient previously diagnosed with symptomatic HIV disease (B20) is seen in an outpatient facility for treatment of a sprained ankle. The patient's HIV infection is currently stable and asymptomatic during this visit. How should the HIV status be coded for this encounter?

A
B
C
D