ICD-10 Code O24.313

Unspecified pre-existing diabetes mellitus in pregnancy, third trimester

Version 2019 Billable Code Maternity Diagnoses Diagnoses For Females Only Third Trimester (28+ weeks)

Valid for Submission

O24.313 is a billable code used to specify a medical diagnosis of unspecified pre-existing diabetes mellitus in pregnancy, third trimester. The code is valid for the year 2019 for the submission of HIPAA-covered transactions.

ICD-10: O24.313
Short Description:Unsp pre-existing diabetes in pregnancy, third trimester
Long Description:Unspecified pre-existing diabetes mellitus in pregnancy, third trimester

Code Classification

  • Pregnancy, childbirth and the puerperium (O00–O99)
    • Other maternal disorders predominantly related to pregnancy (O20-O29)
      • Diabetes in pregnancy, childbirth, and the puerperium (O24)

Code History

  • FY 2016 - New Code, effective from 10/1/2015 through 9/30/2016
    (first year ICD-10-CM implemented into the HIPAA mandated code set)
  • FY 2017 - No Change, effective from 10/1/2016 through 9/30/2017
  • FY 2018 - No Change, effective from 10/1/2017 through 9/30/2018
  • FY 2019 - No Change, effective from 10/1/2018 through 9/30/2019

Information for Medical Professionals

Code Edits

The Medicare Code Editor (MCE) detects and reports errors in the coding of claims data. The following ICD-10 Code Edits are applicable to this code:

  • Maternity diagnoses - Maternity. Age range is 12–55 years inclusive (e.g., diabetes in pregnancy, antepartum pulmonary complication).
  • Diagnoses for females only - Medicare Code Editor detects inconsistencies between a patient’s sex and any diagnosis on the patient’s record, this code applies to FEMALES only .

Diagnostic Related Groups

The Diagnostic Related Groups (DRGs) are a patient classification scheme which provides a means of relating the type of patients a hospital treats. The DRGs divides all possible principal diagnoses into mutually exclusive principal diagnosis areas referred to as Major Diagnostic Categories (MDC). The diagnosis code O24.313 is grouped in the following groups for version MS-DRG V36.0 applicable from 10/01/2018 through 09/30/2019.

  • 817 - OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURE WITH MCC
  • 818 - OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURE WITH CC
  • 819 - OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURE WITHOUT CC/MCC

Convert O24.313 to ICD-9

The following crosswalk between ICD-10 to ICD-9 is based based on the General Equivalence Mappings (GEMS) information:

  • 648.01 - Diabetes-delivered (Approximate Flag)
  • 648.03 - Diabetes-antepartum (Approximate Flag)

Information for Patients


Diabetes and Pregnancy

Also called: Gestational diabetes

Diabetes is a disease in which your blood glucose, or blood sugar, levels are too high. When you are pregnant, high blood sugar levels are not good for your baby.

About seven out of every 100 pregnant women in the United States get gestational diabetes. Gestational diabetes is diabetes that happens for the first time when a woman is pregnant. Most of the time, it goes away after you have your baby. But it does increase your risk for developing type 2 diabetes later on. Your child is also at risk for obesity and type 2 diabetes.

Most women get a test to check for diabetes during their second trimester of pregnancy. Women at higher risk may get a test earlier.

If you already have diabetes, the best time to control your blood sugar is before you get pregnant. High blood sugar levels can be harmful to your baby during the first weeks of pregnancy - even before you know you are pregnant. To keep you and your baby healthy, it is important to keep your blood sugar as close to normal as possible before and during pregnancy.

Either type of diabetes during pregnancy increases the chances of problems for you and your baby. To help lower the chances talk to your health care team about

  • A meal plan for your pregnancy
  • A safe exercise plan
  • How often to test your blood sugar
  • Taking your medicine as prescribed. Your medicine plan may need to change during pregnancy.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases

  • Diabetes diet - gestational (Medical Encyclopedia)
  • Gestational diabetes (Medical Encyclopedia)
  • Gestational diabetes - self-care (Medical Encyclopedia)
  • Glucose screening and tolerance tests during pregnancy (Medical Encyclopedia)
  • Infant of diabetic mother (Medical Encyclopedia)

[Learn More]

ICD-10 Footnotes

General Equivalence Map Definitions
The ICD-10 and ICD-9 GEMs are used to facilitate linking between the diagnosis codes in ICD-9-CM and the new ICD-10-CM code set. The GEMs are the raw material from which providers, health information vendors and payers can derive specific applied mappings to meet their needs.

  • Approximate Flag - The approximate flag is on, indicating that the relationship between the code in the source system and the code in the target system is an approximate equivalent.
  • No Map Flag - The no map flag indicates that a code in the source system is not linked to any code in the target system.
  • Combination Flag - The combination flag indicates that more than one code in the target system is required to satisfy the full equivalent meaning of a code in the source system.