Coding For a Diabetic Pregnant Patient? It’s Easier Than You Think.

Do you find coding for a diabetic pregnant patient intimidating? Read this post before you panic. Here I break down the guidelines and make things a little more digestible and a little less headache-inducing. 

Diabetes is a condition characterized by high blood sugar. According to the CDC, more than 37 million adults in the United States have diabetes – that’s about 1-10.[1] So, there’s a pretty good chance that you’ll need to get nice and comfortable with the diabetes guidelines – hold their hand, buy them dinner, get to know them, be their creepy friend. Just kidding. But seriously – know your guidelines. 

I would absolutely love to dive into the diabetes guidelines for you and dissect them like a tender Texas brisket, but for today I’m going to focus on something that is more of a nuance in medical coding – coding for diabetes in pregnancy.

There are two types of diabetes you’re going to encounter when coding for a pregnant diabetic patient: 

  • Pre-existing diabetes 
  • Gestational diabetes 

Why is it important to know the difference between the two?

Not only are there different guidelines when reporting pre-existing and gestational diabetes, but some categories in Chapter 15 actually distinguish between conditions that existed before the pregnancy and conditions that are the direct result of the pregnancy. 

Alright, let’s dive into a little more detail . . . 

First, let’s talk a bit about pre-existing diabetes

What is pre-existing diabetes? Well, in this context, the term pre-existing just means that the patient had diabetes before the pregnancy. Pretty simple, right? No really, that wasn’t a trick question, it really is that simple. When a patient has pre-existing diabetes in pregnancy, they can either have type 1 or type 2 diabetes. 

Let me elaborate a little on the types of diabetes . . .

What is Type 1 diabetes?

When someone has type 1 diabetes their pancreas doesn’t create enough insulin, and in some cases, it doesn’t create any at all. Why is insulin so important, you might ask? Because insulin regulates blood sugar levels. Insulin is the reason you can eat an entire pint of double chocolate chunky fudge ice cream on a Tuesday night in your underpants and feel nothing but shame. 

I like to think of insulin like a key and the body’s cells like a locked door. This key lets blood sugar into the cells so it can do what blood sugar is supposed to do – be used as energy. But without insulin, blood sugar just kind of hangs around in your bloodstream and has nowhere to go. When too much blood sugar is in your bloodstream for too long, it can cause some serious health conditions, like heart disease, kidney disease, and vision loss. 

And what about Type 2 diabetes?

Do you remember when I said that more than 37 million adults in the United States have diabetes? Well, approximately 90-95% of those 37 million people have type 2 diabetes.[2] 

What is type 2 diabetes? When someone has type 2 diabetes their body’s cells don’t respond the way they should when they encounter insulin. The key doesn’t quite shimmy into the lock like it used to. When that happens, the pancreas creates more and more insulin to fix the issue, and eventually, your poor pancreas just can’t keep up. I mean, imagine chucking a ton of keys at a locked door and hoping one makes it into the keyhole. Sure, it might work, but I’m guessing not very well. When your pancreas can’t keep up, your blood sugar rises. And like I talked about when discussing type 1 diabetes, high blood sugar levels cause damage to the body and can lead to serious health conditions. 

Let’s move on to how to code for pre-existing diabetes in pregnancy. . . 

Category O24

Alright, let’s talk category O24 for a minute. Category O24 is used for patients with diabetes mellitus in pregnancy, childbirth, and the puerperium. Pre-existing type 1 diabetes in pregnancy, pre-existing type 2 diabetes in pregnancy, and gestational diabetes are all coded from this category. 

When looking at your ICD-10-CM manual, you will notice that the subcategories for O24 are broken down to be pretty specific. Not only do the codes that fall under this category specify the type of diabetes and whether it was during pregnancy, childbirth, or the puerperium, but some of them actually specify the trimester.

Trimester?

For those of you who aren’t familiar with what week is considered what trimester, don’t worry, I got you. The first trimester is from week one to the end of week twelve. The second trimester is week thirteen through week twenty-eight, and the third trimester is week twenty-nine through week forty.

This might make it a little easier . . .

  • First trimester = Weeks 1-12
  • Second Trimester = Weeks 13-28
  • Third trimester = Weeks 29-40  

Ok, but how do you code for pre-existing diabetes in pregnancy?

Well, unlike with gestational diabetes, there are at least two codes required when coding for pre-existing diabetes in pregnancy. The first code you want to select should come from that category O24 that we just talked about. After selecting a code from category O24 it should be followed by a code from code range E08-E13 to report the type of diabetes.[3] It is important that you document the type of diabetes because this is pre-existing diabetes and codes from category O24 do not specify the type of diabetes. 

And what if pre-existing diabetes in pregnancy is controlled by medication?

Many pregnant patients with pre-existing diabetes control their condition through the use of insulin, oral medications, or diet. If medication is documented, it should be coded in addition to codes from categories O24 and E08-E13.[4]

Here are some examples of coding for a pregnant patient with pre-existing diabetes:

Controlled by insulin?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.4 (long-term use of insulin)

Controlled by oral hypoglycemic drugs?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.84 (long-term use of oral hypoglycemic drugs)

Controlled by injectable non-insulin antidiabetic drugs?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.85 (long-term use of injectable non-insulin antidiabetic drugs)

Controlled by oral hypoglycemic drugs AND insulin?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.84 (oral hypoglycemic) or Z79.4 (insulin)

4th: Z79.4 (insulin) or Z79.84 (oral hypoglycemic)

Controlled by insulin AND injectable non-insulin antidiabetics?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.4 (insulin) or Z79.85 (injectable non-insulin)

4th: Z79.85 (injectable non-insulin) or Z79.4 (insulin)

Controlled by oral hypoglycemic drugs AND injectable non-insulin antidiabetic drugs?

1st: O24.- (diabetes mellitus in pregnancy, childbirth, and the puerperium)

2nd: E08-E13 (type of diabetes)

3rd: Z79.84 (oral hypoglycemic) or Z79.85 (injectable non-insulin)

4th: Z79.85 (injectable non-insulin) or Z79.84 (oral hypoglycemic)

Easy peasy lemon squeezy. Moving on . . .

Now let’s talk a little bit about gestational diabetes

What is gestational diabetes? Well, I’m glad that you asked. Gestational diabetes is a type of diabetes that can develop sometime in the second or third trimester of pregnancy. It can cause complications that are similar to pre-existing diabetes, but unlike pre-existing diabetes, gestational diabetes is directly caused by the pregnancy. That’s right, patients who develop gestational diabetes did not have diabetes before the pregnancy. But it does unfortunately give the patient a higher risk of developing diabetes after the pregnancy. Cute, right? Here’s your baby – and a chronic disease. Thanks, pancreas. 

Alright, let’s get into how to code for gestational diabetes

Gestational diabetes is coded from subcategory O24.4, Gestational diabetes mellitus. When coding for gestational diabetes it is important to remember that you do not need to use a code from code range E08-E13, Diabetes mellitus, in addition to your O24.4 code. This is because the patient did not have diabetes before the pregnancy. If it didn’t happen, you don’t code it. The other thing I want you to remember about coding for gestational diabetes is that O24.4 should not be used with any other code from category O24.[5]

But what if the gestational diabetes is controlled by diet or medication?

We’ve got codes for that. Unlike with pre-existing diabetes, there is no need to report the method of diabetes control because codes that fall under subcategory O24.4 include details about whether the patient is controlling their diabetes through insulin, oral hypoglycemics, or through diet. In short, codes Z79.4, Z79.84, and Z79.85 should not be used with codes from subcategory O24.4.[6]

You also want to keep in mind that when gestational diabetes is being treated by both diet and insulin, you only use the code for insulin controlled. Similarly, if the patient is being treated with both diet and oral hypoglycemics, only the code for controlled by oral hypoglycemic drugs should be used.[7]

Let’s break this down

controlled by diet and insulin = Code for controlled by insulin

controlled by diet and oral hypoglycemics = Code for controlled by oral hypoglycemics 

Got it? Good. Let’s move on to abnormal glucose tolerance in pregnancy.

Abnormal glucose tolerance, you say?

Abnormal glucose tolerance in pregnancy is not diabetes and should not be coded as such. For this, you should select a code from subcategory O99.81, Abnormal glucose complicating pregnancy, childbirth, and the puerperium.[8]

To sum it all up

  • Diabetes is a condition characterized by high blood sugar.
  • Gestational diabetes and Pre-existing diabetes are coded differently.
  • When coding for pre-existing diabetes you must also use a code for the type of diabetes.
  • If pre-existing diabetes is being controlled by insulin, oral hypoglycemics, or injectable non-insulin antidiabetics you must code them in addition to the code from category O24 and the code for the type of diabetes.
  • When coding for gestational diabetes you should not use a code from code range E08-E13.
  • For gestational diabetes you should not use codes Z79.4, Z79.84, and Z79.85
  • When gestational diabetes is being treated by both diet and insulin only code for insulin controlled.
  • When gestational diabetes is being treated with both diet and oral hypoglycemics only code for controlled by oral hypoglycemic drugs.
  • Abnormal glucose intolerance is not diabetes. 

Alright, I know what you’re thinking, “How am I going to remember all this stuff? And “Why is this person so long-winded?”. Well, I have no answers for you about why I talk so much, but I can tell you something about remembering the guidelines – you don’t have to. That’s the beauty of the ICD-10-CM manual, you don’t have to memorize all the ins and outs and every detail of every guideline, you just have to know that they are there. Always keep it simple and trust the guidelines. 

So, in conclusion (I swear I’m done talking) whether it be pre-existing or gestational, diabetes can complicate a pregnancy, but you know what? That doesn’t mean that you have to let it complicate coding. 

P.S. Like the step-by-step coding sequencing instruction featured in this post? Check out AMCI’s Medical Coding Guideline Manual for more step-by-step instruction like this. It can be found at: https://www.amcicoding.com/mcg 

References

  1. Centers for Disease Control and Prevention. (2022, July 7). What is diabetes? Centers for Disease Control and Prevention. Retrieved January 5, 2023, from https://www.cdc.gov/diabetes/basics/diabetes.html
  2. Centers for Disease Control and Prevention. (2021, December 16). Type 2 diabetes. Centers for Disease Control and Prevention. Retrieved January 5, 2023, from https://www.cdc.gov/diabetes/basics/type2.html
  3. American Medical Association. (2022). Chapter Specific Coding Guidelines 15.g. In ICD-10-CM 2023: The Complete Official Codebook. Essay.
  4. American Medical Association. (2022). Chapter Specific Coding Guidelines 4.a.3. In ICD-10-CM 2023: The Complete Official Codebook. Essay.
  5. American Medical Association. (2022). Chapter Specific Coding Guidelines 15.i. In ICD-10-CM 2023: The Complete Official Codebook. Essay.
  6. American Medical Association. (2022). Chapter Specific Coding Guidelines 15.i. In ICD-10-CM 2023: The Complete Official Codebook. Essay.
  7. American Medical Association. (2022). Chapter Specific Coding Guidelines 15.i. In ICD-10-CM 2023: The Complete Official Codebook. Essay.
  8. American Medical Association. (2022). Chapter Specific Coding Guidelines 15.i. In ICD-10-CM 2023: The Complete Official Codebook. Essay.

Meet the Blogger

Melissa Mathieu, CPC-A, is the editor at Absolute Medical Coding Institute. She has worked on projects such as AMCI’s Medical Coding Guidelines Manual. Melissa is also a writer and freelance proofreader with a lifelong commitment to learning.