On this page · 10 sections
Part 1 of 7
The six places diabetes can land
Diabetes mellitus codes live in E08 to E13. The category you use is the type of diabetes. The picture shows what the note says and where it points.
Picture it · what the note says, which category you land in
- Type 1, juvenile, brittle, ketosis-proneE10.-
- Type 2, or no type stated at allE11.-
- Caused by another disease (cystic fibrosis, pancreatic cancer)E08.-
- Caused by a drug or chemical (steroids)E09.-
- After pancreas surgery, genetic forms, other named typesE13.-
- Pregnancy-only (gestational) diabetesO24.4-
| Category | Meaning | Start with this when |
|---|---|---|
| E10 | Type 1 diabetes mellitus | The note says type 1, juvenile onset, brittle, or ketosis-prone |
| E11 | Type 2 diabetes mellitus | The note says type 2, or no type is stated |
| E08 | Diabetes due to an underlying condition | A disease such as cystic fibrosis or pancreatic disease caused it |
| E09 | Drug or chemical induced diabetes | A drug caused it, for example steroid-induced diabetes |
| E13 | Other specified diabetes | Postpancreatectomy, postprocedural, or other named types |
| O24.4- | Gestational diabetes (Chapter 15) | Diabetes that began in pregnancy |
No type stated: the default is E11
If the type of diabetes is not documented, the default is E11.- (I.C.4.a.2). The Index agrees: the main term Diabetes, diabetic itself points to E11.9.
Similarly, the terms "insulin dependent" and "non-insulin dependent" do not choose the type. The Index tells you to code to type of diabetes.
Two newer subcodes to know
- E10.A-: type 1 diabetes, presymptomatic. This is for early-stage type 1 diabetes before symptoms appear (I.C.4.a.1.a).
- E11.A: type 2 diabetes in remission. Use it only when the provider documents remission. If it is unclear, query. The word "resolved" is not the same as remission (I.C.4.a.1.b).
Part 2 of 7
Diabetes codes are combination codes
A diabetes code holds three facts in one: the type, the body system affected, and the complication. For example, E11.22 means type 2 diabetes with diabetic chronic kidney disease.
I.C.4.a says you may use as many codes from E08 to E13 as needed to describe all the patient's complications. Sequence them by the reason for the encounter.
Picture it · where diabetes does its damage
Eyes
E11.3-Retinopathy, cataract (E11.36)
Kidneys
E11.2-Nephropathy, chronic kidney disease (E11.22 + N18.-)
Blood sugar itself
E11.6-Hyperglycemia E11.65, hypoglycemia E11.649
Nerves
E11.4-Neuropathy, gastroparesis (E11.43)
Blood vessels
E11.5-Peripheral angiopathy (E11.51), with gangrene (E11.52)
Foot skin and joints
E11.6-Foot ulcer E11.621 + L97.- for the site
The presumption: "with" means linked
Under the main term Diabetes in the Alphabetic Index, there is a subterm with. It lists the conditions the classification assumes are linked to diabetes.
I.A.15 says "with" or "in" is interpreted as "associated with" or "due to." The classification presumes a causal relationship between the two conditions linked by these terms in the Alphabetic Index or Tabular List. They are coded as related even when the provider does not write the link, unless the documentation clearly states they are unrelated.
Some of the conditions listed under Diabetes, with in the FY2027 Index:
| Condition | Code for type 2 |
|---|---|
| Chronic kidney disease | E11.22 |
| Nephropathy | E11.21 |
| Retinopathy (unspecified, without macular edema) | E11.319 |
| Cataract | E11.36 |
| Neuropathy (unspecified) | E11.40 |
| Polyneuropathy | E11.42 |
| Gastroparesis | E11.43 |
| Peripheral angiopathy | E11.51 |
| Gangrene | E11.52 |
| Foot ulcer | E11.621 |
| Hyperglycemia | E11.65 |
| Hypoglycemia (no coma) | E11.649 |
Diabetic kidney disease
A patient with type 2 diabetes has chronic kidney disease stage 3b. The provider does not write that the kidney disease is from diabetes.
- E11.22: the Index presumes the link (CKD is listed under Diabetes, with)
- N18.32: CKD stage 3b. The Tabular List note under E11.22 says to use an additional code for the stage (N18.1 to N18.6).
If the patient also has documented hypertension, Chapter 9 presumes that link to the kidney disease too (the I12.- codes), so check that lesson for the combined coding.
Several complications, several codes
Type 2 diabetes with polyneuropathy and unspecified diabetic retinopathy without macular edema.
- E11.42: with diabetic polyneuropathy
- E11.319: with unspecified diabetic retinopathy without macular edema
You need no extra "link" statement for either. Sequence them by what the visit is about.
Diabetic foot ulcer: a second code for the site
A patient with type 2 diabetes has a foot ulcer on the top of the right foot limited to breakdown of skin.
- E11.621: type 2 diabetes mellitus with foot ulcer
- L97.511: non-pressure chronic ulcer of other part of right foot limited to breakdown of skin
The Tabular List note at E11.621 tells you to use an additional code to identify the site of the ulcer (L97.4-, L97.5-).
Other complications that need a second code
- E11.69 (with other specified complication) has a note: use an additional code to identify the complication.
- E11.8 (with unspecified complications) is for a note that says only that the patient has complications, without naming them. Ask the provider for the specific one when you can.
Part 3 of 7
Z79: how the patient controls diabetes
The Tabular List notes at E08, E09, E11 and E13 say to use an additional code to identify control using insulin, oral hypoglycemic drugs, or injectable non-insulin antidiabetic drugs. The guideline (I.C.4.a.3) gives the rules.
| Patient takes | Add |
|---|---|
| Insulin | Z79.4 Long term (current) use of insulin |
| Oral hypoglycemic drugs | Z79.84 Long term (current) use of oral hypoglycemic drugs |
| An injectable non-insulin antidiabetic drug | Z79.85 Long-term (current) use of injectable non-insulin antidiabetic drugs |
| Oral drugs and insulin | Z79.4 and Z79.84 |
| Insulin and an injectable non-insulin drug | Z79.4 and Z79.85 |
| Oral drugs and an injectable non-insulin drug | Z79.84 and Z79.85 |
Insulin and metformin
A patient with type 2 diabetes without complications takes metformin and also injects insulin glargine each night.
- E11.9
- Z79.4: long-term insulin
- Z79.84: long-term oral hypoglycemic
Insulin mentioned, no type given
The note says "diabetes mellitus, on insulin" and the type is never stated.
- E11.9: the default, because the type is not documented
- Z79.4
Part 4 of 7
Hyperglycemia and hypoglycemia
These are written into the diabetes codes as complications.
| Provider writes | Index guidance | Type 2 code |
|---|---|---|
| Diabetes with hyperglycemia | Diabetes, with, hyperglycemia | E11.65 |
| "Poorly controlled," "out of control," "inadequately controlled" | Index sends you to by type, with hyperglycemia | E11.65 |
| "Uncontrolled," meaning hyperglycemia | Index: uncontrolled, meaning hyperglycemia sends you to with hyperglycemia | E11.65 |
| "Uncontrolled," meaning hypoglycemia | Sends you to with hypoglycemia | E11.649 |
| Hypoglycemia, no coma | Diabetes, with, hypoglycemia | E11.649 |
| Hypoglycemia with coma | Diabetes, with, hypoglycemia, with coma | E11.641 |
| Ketoacidosis, no coma | Diabetes, with, ketoacidosis | E11.10 |
"Uncontrolled" alone is not enough: the provider needs to say whether it means high or low sugar. Query if it does not.
For other types, replace the E11 with the matching category: type 1 hyperglycemia is E10.65, and diabetes due to an underlying condition with hyperglycemia is E08.65.
Part 5 of 7
E08, E09 and E13: the cause comes with a code
Secondary diabetes is always caused by another condition or event, such as cystic fibrosis, pancreatic cancer, removal of the pancreas, or a drug (I.C.4.a.6). These categories cover the complications as well, so the same with codes exist for each.
| Category | Cause | Sequencing |
|---|---|---|
| E08 | An underlying disease | Code first the underlying condition (Tabular note). Examples listed there: cystic fibrosis E84.-, Cushing's syndrome E24.-, malignant neoplasm, pancreatitis K85-K86.-. |
| E09 | A drug or chemical | Code first the poisoning if one applies. For a correctly taken drug, add the adverse effect T-code (5th or 6th character 5). |
| E13 | Postpancreatectomy, postprocedural, other named | No code-first note. See below for pancreatectomy. |
Steroid-induced diabetes
A patient taking prednisone correctly for asthma develops high blood sugar and is diagnosed with steroid-induced diabetes with hyperglycemia.
- E09.65: drug or chemical induced diabetes mellitus with hyperglycemia
- T38.0X5A: adverse effect of glucocorticoids, initial encounter
Diabetes after the pancreas was removed
For postpancreatectomy diabetes, I.C.4.a.6.b gives these steps: assign E89.1 (postprocedural hypoinsulinemia), assign a code from E13 as the first-listed code, and add Z90.41- for the missing pancreas.
For example, diabetes after a total pancreatectomy, managed with insulin:
- E13.9
- E89.1
- Z90.410: acquired total absence of pancreas
- Z79.4: the secondary diabetes rules for long-term insulin apply
Part 6 of 7
Problems with an insulin pump
When an insulin pump fails and the patient gets too little insulin (I.C.4.a.5.a):
- First-listed: a code from T85.6- that names the type of pump problem (for example T85.614A, breakdown of insulin pump)
- Then T38.3X6-: underdosing of insulin and oral hypoglycemic drugs
- Then the diabetes type and any complications caused by the underdose
When a malfunction causes too much insulin (I.C.4.a.5.b), first-list T85.6- and then add T38.3X1-: poisoning by insulin, accidental.
Pump breakdown with hyperglycemia
A patient with type 1 diabetes arrives with a high blood sugar. The insulin pump tubing had broken down, so the patient got less insulin than needed.
- T85.614A: breakdown (mechanical) of insulin pump, initial encounter
- T38.3X6A: underdosing of insulin
- E10.65: type 1 diabetes with hyperglycemia
Pregnancy and diabetes: look in Chapter 15
- Gestational diabetes (began in pregnancy) goes to O24.4-, such as O24.414 (insulin controlled). The O24.4 codes already include diet-controlled, insulin-controlled, or oral-hypoglycemic-controlled (I.C.15.i). No other O24 code is used with an O24.4 code.
- Diabetes the patient already had when she became pregnant: a code from O24.- goes first, then the diabetes code (E08 to E13) (I.C.15.g). For example, type 2 diabetes in the first trimester starts with O24.111.
The E11 category has an Excludes1 note for gestational diabetes (O24.4-), so the two never go together.
Part 7 of 7
Practice cases
Pick the codes, then read why each answer is right or wrong.
- questions
- 10questions
- exam time
- 15 minexam time
- to pass
- 70%to pass
End of the chapter: check what you remember
- Which category: E10, E11 (the default), E08, E09, E13, or pregnancy codes in Chapter 15
- Diabetes is linked to many conditions by the word 'with', so no link statement is needed for those
- Combination codes, and why you may use as many E codes as the patient needs
- Long-term drug codes Z79.4, Z79.84 and Z79.85, hyperglycemia, hypoglycemia and insulin pump problems
