Skip to main content

E08.39 ICD-10-CM Code: Diabetes mellitus due to underlying condition with other diabetic ophthalmic complication

Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.

Coding at a Glance

Inpatient Payment Groups (MS-DRG)

Potential MS-DRG participation — not a DRG assignment.

MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v43, Appendix B.

  • MS-DRG 008 — SIMULTANEOUS PANCREAS AND KIDNEY TRANSPLANT (MDC PRE)
  • MS-DRG 010 — PANCREAS TRANSPLANT (MDC PRE)
  • MS-DRG 019 — SIMULTANEOUS PANCREAS AND KIDNEY TRANSPLANT WITH HEMODIALYSIS (MDC PRE)
  • MS-DRG 124 — OTHER DISORDERS OF THE EYE WITH MCC OR THROMBOLYTIC AGENT (MDC 02)
  • MS-DRG 125 — OTHER DISORDERS OF THE EYE WITHOUT MCC (MDC 02)

A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.

Risk Adjustment (CMS-HCC)

Payment categories this diagnosis maps to under CMS-HCC V28, payment year 2026.

  • HCC 37 — Diabetes with Chronic Complications (supersedes HCC 38)

Other models: CMS-HCC V22 HCC 18 · RxHCC V08 HCC 30

Risk scores depend on the enrollee's full accepted diagnosis set and segment; a category mapping alone does not determine payment.

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for E08.39 in the official ICD-10-CM tabular list, quoted as published.

Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025

Notes without a marker are published on E08.39 itself; “inherited from” names the category or block whose note applies here.

Excludes1 — Not Coded Here

Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

Source: inherited from E08

Code First

Underlying conditions that must be sequenced before this code.

  • the underlying condition, such as:
  • congenital rubella (P35.0)
  • Cushing's syndrome (E24.-)
  • cystic fibrosis (E84.-)
  • malignant neoplasm (C00-C96)
  • malnutrition (E40-E46)
  • pancreatitis and other diseases of the pancreas (K85-K86.-)

Source: inherited from E08

Use Additional Code

Supplementary codes the tabular list directs you to add.

  • Use additional code to identify manifestation, such as:
  • diabetic glaucoma (H40-H42)
  • Use additional code to identify control using:
  • injectable non-insulin antidiabetic drugs (Z79.85) inherited from E08
  • insulin (Z79.4) inherited from E08
  • oral antidiabetic drugs (Z79.84) inherited from E08
  • oral hypoglycemic drugs (Z79.84) inherited from E08

Coder workflow for E08.39

MedCoder structured workflow — derived from this code’s own official record

Before you code E08.39

  1. E08.39’s title joins a condition with an associated condition or complication. Confirm each component is documented. Where the classification presumes the link through the “with” convention, only a provider statement that the conditions are unrelated defeats it. A combination code is assigned only when it fully identifies the documented conditions; a required second code for the stage, type or manifestation is still reported when the notes ask for it (Guidelines I.B.9, I.A.15).

    Guide: Combination codes →

  2. Confirm the documented diabetes type or cause (the E08–E13 categories are separated by it) and every documented complication or manifestation; the code is built from the type first and the complication second. Then work the category’s Use Additional Code notes for medication and control status. Type 2 is the default only when the type is not documented, and insulin or other medication use does not by itself establish the type (Guidelines I.C.4.a.2, I.C.4.a.3).

    Guide: Secondary diabetes (E08, E09, E13) →

  3. Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with E08.39. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).

    See the official tabular notes

Choose the right path

  1. Does the documentation support a condition named in E08.39’s Excludes1 note?
    Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
    No → Continue.

    ReviewE09, O24.4, P70.2, E13, E10, E11

  2. Is the underlying (etiologic) condition the Code First note names documented?
    Yes → Sequence the underlying condition first, then E08.39.
    No → Continue; do not add an underlying condition the record does not document.

    ReviewP35.0, E24, E84

Consider E08.39. Then work the Use Additional Code note, and confirm the code is valid for the date of service in the Verify section.

Documentation check

The provider’s diagnostic statement
Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
The associated condition or complication
Whether the associated condition the title names is documented; the “with” convention presumes some links, and a provider statement that the conditions are unrelated defeats it (Guidelines I.A.15).
The underlying (etiologic) condition
Named in the Code First note; sequenced before this code when documented (Guidelines I.A.13).
The conditions the Use Additional Code note names
Reported with this code when documented; a conditional instruction (“if applicable”, “if known”) applies only when the record supports it.
Diabetes type or cause, each complication, and medication use
The type is documented, not inferred from medication (Guidelines I.C.4.a.3); each documented complication takes its own combination code.

Official instructions as workflow

  • Excludes1 — check before selecting E08.39(8 notes)

    Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with E08.39: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.

    CompareE09, O24.4, P70.2, E13, E10, E11

    See the official tabular notes · Guidelines I.A.12.a

  • Code First — sequencing check(7 notes)

    Coding workflow: Check whether the underlying or etiologic condition the note names is documented. When it is, sequence it before E08.39. Do not add an underlying condition the record does not document.

    ReviewP35.0, E24, E84

    See the official tabular notes · Guidelines I.A.13

  • Use Additional Code — after identifying E08.39(7 notes)

    Coding workflow: Check whether the documentation supports the additional code(s) the note names, and report them with E08.39 when it does. Where the instruction is conditional (“if applicable”, “if known”), it applies only when the record documents the condition.

    ReviewZ79.85, Z79.4, Z79.84

    See the official tabular notes · Guidelines I.A.13

Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.

Code Overview

Diabetes mellitus due to underlying condition with other diabetic ophthalmic complication is a billable ICD-10-CM diagnosis code (E08.39).

MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.

Indexed Clinical Terms (2)

Official source data — entries quoted as published, in the Index’s own lookup phrasing

Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.

Official Coding Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Verbatim excerpts from the ICD-10-CM Official Guidelines for Coding and Reporting (CMS/NCHS) that govern this code.

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

a. Diabetes mellitus The diabetes mellitus codes are combination codes that include the type of diabetes mellitus, the body system affected, and the complications affecting that body system. As many codes within a particular category as are necessary to describe all of the complications of the disease may be used. They should be sequenced based on the reason for a particular encounter. Assign as many codes from categories E08 – E13 as needed to identify all of the associated conditions that the patient has.

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

6) Secondary diabetes mellitus Codes under categories E08, Diabetes mellitus due to underlying condition, E09, Drug or chemical induced diabetes mellitus, and E13, Other specified diabetes mellitus, identify complications/manifestations associated with secondary diabetes mellitus. Secondary diabetes is always caused by another condition or event (e.g., cystic fibrosis, malignant neoplasm of pancreas, pancreatectomy, adverse effect of drug, or poisoning).

Chapter 4: Endocrine, Nutritional, and Metabolic Diseases (E00 -E89)

(b) Assigning and sequencing secondary diabetes codes and its causes The sequencing of the secondary diabetes codes in relationship to codes for the cause of the diabetes is based on the Tabular List instructions for categories E08, E09 and E13.

Chapter 15: Pregnancy, Childbirth, and the Puerperium (O00-O9A)

g. Diabetes mellitus in pregnancy Diabetes mellitus is a significant complicating factor in pregnancy. Pregnant patients who are diabetic should be assigned a code from category O24, Diabetes mellitus in pregnancy, childbirth, and the puerperium, first, followed by the appropriate diabetes code(s) (E08-E13) from Chapter 4.

Coding Notes

MedCoder editorial — not official ICD-10-CM text; reviewed against the cited source

What this code means

E08.39 is a secondary-diabetes combination code: diabetes caused by an underlying condition, with an ophthalmic complication other than the retinopathy and macular-edema forms that have their own codes. Secondary diabetes is, in the guidelines’ words, always caused by another condition or event — cystic fibrosis, malignant neoplasm of the pancreas, Cushing’s syndrome, malnutrition and pancreatic disease are the examples the code’s own Code First note names.

Coding guidance

  • Sequence the underlying condition first. The Code First note lists congenital rubella (P35.0), Cushing’s syndrome (E24.-), cystic fibrosis (E84.-), malignant neoplasm (C00-C96), malnutrition (E40-E46), and pancreatitis or other pancreatic disease (K85-K86.-).
  • The Medicare Code Editor carries E08.39 on its manifestation-code list: the underlying condition is sequenced first, so E08.39 cannot be the principal diagnosis on an inpatient claim.
  • Name the eye complication with an additional code — the code’s Use Additional note points to diabetic glaucoma (H40-H42) as the example.
  • Add the control-agent code the record supports: insulin (Z79.4), oral antidiabetic or hypoglycemic drugs (Z79.84), or injectable non-insulin antidiabetic drugs (Z79.85). The guidelines are explicit that a patient on two of these gets both codes.
  • Type matters more than it looks: the Excludes1 list separates E08 from drug- or chemical-induced diabetes (E09.-), type 1 (E10.-), type 2 (E11.-), gestational (O24.4-), neonatal (P70.2), and the postpancreatectomy/postprocedural/other-specified forms (E13.-). Picking the wrong category is the failure this list exists to prevent.

Decision-rule scenarios

Documentation: A patient with cystic fibrosis has diabetes with a documented ophthalmic complication that is not retinopathy.

Coding question: What sequencing does the classification require?

Rule: Cystic fibrosis (E84.-) is sequenced first per the Code First note, with the E08 combination code following it, plus an additional code naming the eye complication. The deciding element is the documented underlying condition that caused the diabetes.

Documentation: The record documents diabetes following a pancreatectomy.

Coding question: Does that belong in E08?

Rule: No — postpancreatectomy and postprocedural diabetes are on E08’s Excludes1 list and classify to E13.-. The deciding element is the cause: an underlying disease points to E08, a procedure to E13.

Documentation: The patient routinely uses both insulin and an oral hypoglycemic drug.

Coding question: Which long-term-use code is reported?

Rule: Both. The secondary-diabetes guideline states that a patient treated with both gets Z79.4 and Z79.84; the same pairing logic applies to insulin with an injectable non-insulin drug (Z79.4 and Z79.85).

Scenarios state the decision rule, not a code assignment — code selection always follows the provider's documentation and the ICD-10-CM Official Guidelines.

Documentation checklist

  • The underlying condition that caused the diabetes, which both selects E08 over its siblings and is sequenced first.
  • The specific ophthalmic complication, for the additional code.
  • Every long-term antidiabetic agent in routine use, since more than one can apply.

Codes are assigned from provider documentation; a coder never infers a diagnosis.

Common mistakes

  • Reporting E08.39 without the underlying condition sequenced first.
  • Using E08 for drug-induced (E09), postpancreatectomy or postprocedural (E13), type 1 (E10) or type 2 (E11) diabetes — all Excludes1 here.
  • Assigning E08.39 as an inpatient principal diagnosis — the MCE manifestation edit requires the underlying condition first.
  • Reporting only one Z79 control code when the record documents two agents.

Written and reviewed by MedCoder against the official ICD-10-CM files; educational, not medical or billing advice. The official tabular notes and guidelines above take precedence in every case.

Decision Points

The directives on this code's own record, as a pre-claim checklist.

  1. Sequencing: 7 Code First instructions — the underlying condition is sequenced before this code when present. See the Code First notes
  2. 7 Use Additional Code instructions — report the named additional code(s) when the documentation supports them. See the Use Additional Code notes
  3. 8 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes

Checklist rows are derived from this code's own official directives; the wording of each check is MedCoder editorial. The official notes themselves are in the sections each row links to.

Verify Before Coding

  • Principal-diagnosis restriction. This is a manifestation code: the Medicare Code Editor requires the underlying condition (etiology) to be sequenced first, with this code reported after it.

From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.

Relationships & Classification

MedCoder structured relationships — computed from published CMS and AHRQ datasets

Other codes that name E08.39 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.

Referenced by 24 Excludes1 notes across 8 chapters: E09 — Drug or chemical induced diabetes mellitus (via E08.-), E10 — Type 1 diabetes mellitus (via E08.-), E11 — Type 2 diabetes mellitus (via E08.-), E13 — Other specified diabetes mellitus (via E08.-), E74 — Other disorders of carbohydrate metabolism (via E08.-), E87.2 — Acidosis (via E08.-), G54.5 — Neuralgic amyotrophy (via E08.-), G59 — Mononeuropathy in diseases classified elsewhere (via E08.-), G63 — Polyneuropathy in diseases classified elsewhere (via E08.-), G99.0 — Autonomic neuropathy in diseases classified elsewhere (via E08.-), H20.0 — Acute and subacute iridocyclitis (via E08.-), H36 — Retinal disorders in diseases classified elsewhere (via E08.3.-), I73.8 — Other specified peripheral vascular diseases (via E08.-), I79.8 — Other disorders of arteries, arterioles and capillaries in diseases classified elsewhere (via E08.-), L92.1 — Necrobiosis lipoidica, not elsewhere classified (via E08.-), L99 — Other disorders of skin and subcutaneous tissue in diseases classified elsewhere (via E08.-), M14 — Arthropathies in other diseases classified elsewhere (via E08.-), M14.6 — Charcôt's joint (via E08.-), M90 — Osteopathies in diseases classified elsewhere (via E08.-), N08 — Glomerular disorders in diseases classified elsewhere (via E08.-), +4 more.

These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.

Referenced by 3 Excludes2 notes across 3 chapters: H35 — Other retinal disorders (via E08.-), I96 — Gangrene, not elsewhere classified (via E08.-), R11.15 — Cyclical vomiting syndrome unrelated to migraine (via E08.-).

These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.

Referenced by 2 Code First instructions across 2 chapters: D84.81 — Immunodeficiency due to conditions classified elsewhere (via E08.-), H42 — Glaucoma in diseases classified elsewhere.

Each of these codes carries a Code First note naming this condition — when that code is reported, THIS code is sequenced first, ahead of it.

Referenced by 2 Code Also instructions across 2 chapters: H40.84 — Neovascular secondary angle closure glaucoma, N76.82 — Fournier disease of vagina and vulva (via E08.-).

These codes suggest coding this condition alongside when both are present.

MS-DRG Grouper Relationships (FY2026)

Potential MS-DRG participation — not a DRG assignment.

FY2026 MS-DRG: not on the CMS CC/MCC list — as a secondary diagnosis this code does not change MS-DRG severity for that release.

Named in the grouper logic of 5 MS-DRGs: DRG 008 (MDC PRE), DRG 010 (MDC PRE), DRG 019 (MDC PRE), DRG 124 (MDC 02), DRG 125 (MDC 02).

From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.

Clinical classification (AHRQ CCSR):END003 — Diabetes mellitus with complication; END006 — Diabetes mellitus, due to underlying condition, drug or chemical induced, or other specified type.

Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.

Related Codes

Principal diagnosis restriction (Medicare Code Editor)

Manifestation code — the underlying condition is sequenced first.

Same CMS-HCC risk category (V28)

CMS maps these diagnoses to the same Hierarchical Condition Category (Diabetes with Chronic Complications) for risk-adjusted payment.

E08.3559 — Diabetes mellitus due to underlying condition with stable proliferative diabetic retinopathy, unspecified eye, E08.3591 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, right eye, E08.3592 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, left eye, E08.3593 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, bilateral, E08.3599 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, unspecified eye, E08.36 — Diabetes mellitus due to underlying condition with diabetic cataract, E08.37X1 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, right eye, E08.37X2 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, left eye, E08.37X3 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, bilateral, E08.37X9 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, unspecified eye, E08.40 — Diabetes mellitus due to underlying condition with diabetic neuropathy, unspecified, E08.41 — Diabetes mellitus due to underlying condition with diabetic mononeuropathy, E08.42 — Diabetes mellitus due to underlying condition with diabetic polyneuropathy, E08.43 — Diabetes mellitus due to underlying condition with diabetic autonomic (poly)neuropathy, E08.44 — Diabetes mellitus due to underlying condition with diabetic amyotrophy, E08.49 — Diabetes mellitus due to underlying condition with other diabetic neurological complication, E08.51 — Diabetes mellitus due to underlying condition with diabetic peripheral angiopathy without gangrene, E08.52 — Diabetes mellitus due to underlying condition with diabetic peripheral angiopathy with gangrene, E08.59 — Diabetes mellitus due to underlying condition with other circulatory complications, E08.610 — Diabetes mellitus due to underlying condition with diabetic neuropathic arthropathy, +287 more

Related risk categories

These categories interact through CMS's HCC hierarchy — one can suppress the other's risk-adjustment weight when both are present on a claim.

Pancreas Transplant Status, Diabetes with Severe Acute Complications, Diabetes with Glycemic, Unspecified, or No Complications

Same clinical category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical categories (Diabetes mellitus with complication, Diabetes mellitus, due to underlying condition, drug or chemical induced, or other specified type).

E08.359 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, E08.3591 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, right eye, E08.3592 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, left eye, E08.3593 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, bilateral, E08.3599 — Diabetes mellitus due to underlying condition with proliferative diabetic retinopathy without macular edema, unspecified eye, E08.36 — Diabetes mellitus due to underlying condition with diabetic cataract, E08.37X1 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, right eye, E08.37X2 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, left eye, E08.37X3 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, bilateral, E08.37X9 — Diabetes mellitus due to underlying condition with diabetic macular edema, resolved following treatment, unspecified eye, E08.40 — Diabetes mellitus due to underlying condition with diabetic neuropathy, unspecified, E08.41 — Diabetes mellitus due to underlying condition with diabetic mononeuropathy, E08.42 — Diabetes mellitus due to underlying condition with diabetic polyneuropathy, E08.43 — Diabetes mellitus due to underlying condition with diabetic autonomic (poly)neuropathy, E08.44 — Diabetes mellitus due to underlying condition with diabetic amyotrophy, E08.49 — Diabetes mellitus due to underlying condition with other diabetic neurological complication, E08.51 — Diabetes mellitus due to underlying condition with diabetic peripheral angiopathy without gangrene, E08.52 — Diabetes mellitus due to underlying condition with diabetic peripheral angiopathy with gangrene, E08.59 — Diabetes mellitus due to underlying condition with other circulatory complications, E08.610 — Diabetes mellitus due to underlying condition with diabetic neuropathic arthropathy, +445 more

Same Index main term, other category

The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Diabetes, diabetic”; these codes share that main term but sit in a different category of the Tabular List.

E09.00 — Drug or chemical induced diabetes mellitus with hyperosmolarity without nonketotic hyperglycemic-hyperosmolar coma (NKHHC) (due to drug or chemical, with, hyperosmolarity), E09.01 — Drug or chemical induced diabetes mellitus with hyperosmolarity with coma (due to drug or chemical, with, hyperosmolarity, with coma), E09.10 — Drug or chemical induced diabetes mellitus with ketoacidosis without coma (due to drug or chemical, with, ketoacidosis), E09.11 — Drug or chemical induced diabetes mellitus with ketoacidosis with coma (due to drug or chemical, with, ketoacidosis, with coma), E09.21 — Drug or chemical induced diabetes mellitus with diabetic nephropathy (due to drug or chemical, with, nephropathy), E09.22 — Drug or chemical induced diabetes mellitus with diabetic chronic kidney disease (due to drug or chemical, with, chronic kidney disease), E09.29 — Drug or chemical induced diabetes mellitus with other diabetic kidney complication (due to drug or chemical, with, renal complication NEC), E09.311 — Drug or chemical induced diabetes mellitus with unspecified diabetic retinopathy with macular edema (due to drug or chemical, with, retinopathy, with macular edema), E09.319 — Drug or chemical induced diabetes mellitus with unspecified diabetic retinopathy without macular edema (due to drug or chemical, with, retinopathy), E09.321 — Drug or chemical induced diabetes mellitus with mild nonproliferative diabetic retinopathy with macular edema (due to drug or chemical, with, retinopathy, nonproliferative, with macular edema), E09.329 — Drug or chemical induced diabetes mellitus with mild nonproliferative diabetic retinopathy without macular edema (due to drug or chemical, with, retinopathy, nonproliferative), E09.331 — Drug or chemical induced diabetes mellitus with moderate nonproliferative diabetic retinopathy with macular edema (due to drug or chemical, with, retinopathy, nonproliferative, moderate, with macular edema), E09.339 — Drug or chemical induced diabetes mellitus with moderate nonproliferative diabetic retinopathy without macular edema (due to drug or chemical, with, retinopathy, nonproliferative, moderate), E09.341 — Drug or chemical induced diabetes mellitus with severe nonproliferative diabetic retinopathy with macular edema (due to drug or chemical, with, retinopathy, nonproliferative, severe, with macular edema), E09.349 — Drug or chemical induced diabetes mellitus with severe nonproliferative diabetic retinopathy without macular edema (due to drug or chemical, with, retinopathy, nonproliferative, severe), E09.351 — Drug or chemical induced diabetes mellitus with proliferative diabetic retinopathy with macular edema (due to drug or chemical, with, retinopathy, proliferative, with, macular edema), E09.352 — Drug or chemical induced diabetes mellitus with proliferative diabetic retinopathy with traction retinal detachment involving the macula (due to drug or chemical, with, retinopathy, proliferative, with, traction retinal detachment involving the macula), E09.353 — Drug or chemical induced diabetes mellitus with proliferative diabetic retinopathy with traction retinal detachment not involving the macula (due to drug or chemical, with, retinopathy, proliferative, with, traction retinal detachment not involving the macula), E09.354 — Drug or chemical induced diabetes mellitus with proliferative diabetic retinopathy with combined traction retinal detachment and rhegmatogenous retinal detachment (due to drug or chemical, with, retinopathy, proliferative, with, combined traction retinal detachment and rhegmatogenous retinal detachment), E09.355 — Drug or chemical induced diabetes mellitus with stable proliferative diabetic retinopathy (due to drug or chemical, with, retinopathy, proliferative, with, stable proliferative diabetic retinopathy), +192 more

Lab tests where this diagnosis supports Medicare coverage (NCD)

Medicare's National Coverage Determination (NCD) program lists this diagnosis as medical justification for these lab tests.

HbA1c Test (Glycated Hemoglobin), Blood Glucose Test, Iron Panel, Lipid Panel, Thyroid Stimulating Hormone (TSH)

Contextual Map

Every relationship of E08.39 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.

Run E08.39 with these 16 related codes in Claim Check

Hierarchy

Use Additional Code

Referenced by Excludes1 notes (24)

Referenced by Excludes2 notes

Referenced by Code First instructions

Referenced by Code Also instructions

Clinical classification (CCSR)

Risk adjustment (CMS-HCC)

  • HCC 37 — Diabetes with Chronic Complications [CMS-HCC]: “Diabetes with Chronic Complications — supersedes HCC 38 (Diabetes with Glycemic, Unspecified, or No Complications)”— CMS-HCC V28 · 2026

MS-DRG Grouper

MDC crossing

  • Pre-MDC[MDC crossing]: “Pre-MDC — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 153 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026
  • MDC 02 — Diseases and Disorders of the Eye[MDC crossing]: “Diseases and Disorders of the Eye — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 1,200 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026

Index entries

  • Diabetes, diabetic (mellitus) (sugar), due to underlying condition, with, ophthalmic complication NEC[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Diabetes, diabetic (mellitus) (sugar), due to underlying condition, with, retinal, hemorrhage[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes (40)

Change history

  • FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016

Common coding questions

Can E08.39 be the principal diagnosis?

No — the Medicare Code Editor carries E08.39 on its manifestation-code list, so the underlying condition is sequenced first and E08.39 cannot be principal on an inpatient claim. Its Code First note sequences the underlying condition first: congenital rubella, Cushing’s syndrome, cystic fibrosis, malignant neoplasm, malnutrition, or pancreatic disease. The sequencing rule itself is worked through in Manifestation codes and code-first sequencing, and the family in Secondary diabetes: E08, E09 and E13.

E08.39 or E13 for diabetes after a pancreatectomy?

E13. Postpancreatectomy and postprocedural diabetes are both on E08.39’s Excludes1 list and classify to E13.-; E08 is for diabetes caused by an underlying disease, not by a procedure.

Does E08.39 risk-adjust?

Yes — E08.39 maps to CMS-HCC V28 category 37 (V22: HCC 18) and RxHCC V08 category 30 for payment year 2026. The long-term control-agent codes the tabular asks for (Z79.4, Z79.84, Z79.85) are reported alongside it, and a patient on two agents gets both codes.

Sources for this page

Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.

Code, title, tabular notes and index terms Official source data
CMS/CDC ICD-10-CM FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
Coding guidelines Official source data
ICD-10-CM Official Guidelines for Coding and Reporting (FY2026), quoted by section Release, file and checksum · Publisher’s page
Claim edits Official source data
CMS Definitions of Medicare Code Edits — v43.1 (April 2026) Release, file and checksum · Publisher’s page
Inpatient payment groups Official source data
CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v43 Release, file and checksum · Publisher’s page
Risk adjustment Official source data
2026 Mid-Year Final ICD-10 Mappings + Model Software (cms.gov/files/zip/2026-midyear-final-icd-10-mappings.zip, 2026-midyear-final-model-software.zip) — CMS-HCC V28, PY2026 mid-year final release Release, file and checksum · Publisher’s page
Change history and date-of-service validity Official source data
CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
Comparisons, relationships and the contextual map MedCoder structured relationship
Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
Summary, coding notes, decision checklist and FAQ answers MedCoder explanation
Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.

Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates

Cite this page

Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.

MedCoder.ai. "E08.39 — Diabetes mellitus due to underlying condition with other diabetic ophthalmic complication." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/e08.39-diabetes-mellitus-due-to-underlying-condition-with-other-diabetic-ophthalmic-complication

Change history

  • FY2016 — October 1, 2015
    In the code set at ICD-10-CM adoption
    Diabetes mellitus due to underlying condition with other diabetic ophthalmic complication

No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027 (effective October 1, 2026), and none are recorded for this code. Note changes are tracked from FY2027 only.

Nearest Codes in This Family

Official ICD-10-CM classifications closest to E08.39 in its code family, with their registry titles.

View all codes in the E08 family