2027 ICD-10-CM Diagnosis Code O24.319Unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester

ICD-10-CM Codes›O00-O9A›O20-O29›O24

ICD-10-CM O24.319
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

O24.319 is a billable ICD-10-CM diagnosis code for unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 817 through 819, 831 through 833. As a secondary diagnosis, it counts as a complication or comorbidity (CC) and moves an inpatient stay to a higher severity level within its MS-DRG family. It does not count, however, when the principal diagnosis is one of 250 closely related codes. The code is restricted by the Medicare Code Editor to maternity cases (age 9 through 64). Coders also document this condition as diabetes mellitus in mother complicating pregnancy, childbirth AND/OR puerperium. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Diabetes mellitus without complication and Diabetes or abnormal glucose tolerance complicating pregnancy; childbirth; or the puerperium.

This medical diagnosis code is frequently used in OB/GYN medical specialties to designate conditions such maternal disorders related to pregnancy.

Code Identity

ICD-10-CM Code
O24.319
Billable Status
Yes — Valid for Submission
Code Describes
Unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester
Short Description
Unsp pre-existing diabetes in pregnancy, unsp trimester
Parent Code
Unspecified pre-existing diabetes mellitus in pregnancy

Code Classification

ChapterO00-O9APregnancy, childbirth and the puerperium
SectionO20-O29Other maternal disorders predominantly related to pregnancy
CategoryO24Diabetes mellitus in pregnancy, childbirth, and the puerperium
This CodeO24.319Unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester

Code EditsBilling

Medicare Code Editor checks that affect claim validity for O24.319.

The Medicare Code Editor detects inconsistencies in maternity cases by checking a patient's age and any diagnosis on the patient's record. The maternity code edits apply to patients age ange is 9–64 years inclusive (e.g., diabetes in pregnancy, antepartum pulmonary complication).

Quality Payment Program MeasuresBilling

Medicare quality measures that can apply when O24.319 is part of the patient record.

Diabetes: Glycemic Status Assessment Greater Than 9%

High Priority: YES

Measure Type: Intermediateoutcome

Submission Methods: Claims, Electronic Health Record, Registry

Description: Percentage of patients 18-75 years of age with diabetes who had a glycemic status assessment (hemoglobin A1c [HbA1c] or glucose management indicator [GMI]) > 9.0% during the measurement period.

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Diabetes mellitus in mother complicating pregnancy, childbirth AND/OR puerperium
  • Pre-existing diabetes mellitus in pregnancy
  • Pregestational diabetes mellitus AND/OR impaired glucose tolerance, modified White class A
  • Pregestational diabetes mellitus AND/OR impaired glucose tolerance, modified White class C
  • Pregestational diabetes mellitus AND/OR impaired glucose tolerance, modified White class D
  • Pregestational diabetes mellitus AND/OR impaired glucose tolerance, modified White class FR

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to O24.319: its own notes plus those printed at O24.3, block O20-O29, and Chapter 15. A note printed at a category, block or chapter applies to every code under it.

Excludes1

Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.

From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • supervision of normal pregnancy (Z34.-)

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From Block O20-O29 Other maternal disorders predominantly related to pregnancy applies to 260 codes
  • maternal care related to the fetus and amniotic cavity and possible delivery problems (O30-O48)
  • maternal diseases classifiable elsewhere but complicating pregnancy, labor and delivery, and the puerperium (O98-O99)
From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • mental and behavioral disorders associated with the puerperium (F53.-)
  • obstetrical tetanus (A34)
  • postpartum necrosis of pituitary gland (E23.0)
  • puerperal osteomalacia (M83.0)

Use Additional Code

Add a second code, after this one, to fully describe the condition.

From O24.3 Unspecified pre-existing diabetes mellitus in pregnancy, childbirth and the puerperium applies to 6 codes
  • code (for):
  • from category E11 to further identify any manifestation
  • injectable non-insulin antidiabetic drugs (Z79.85)
  • long-term (current) use of insulin (Z79.4)
From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • code, if applicable, from category Z3A, Weeks of gestation, to identify the specific week of the pregnancy, if known.

Notes

General instructions on how these codes are used.

From Chapter 15 (O00-O9A) Pregnancy, childbirth and the puerperium applies to 2,481 codes
  • CODES FROM THIS CHAPTER ARE FOR USE ONLY ON MATERNAL RECORDS, NEVER ON NEWBORN RECORDS
  • Codes from this chapter are for use for conditions related to or aggravated by the pregnancy, childbirth, or by the puerperium (maternal causes or obstetric causes)
  • Trimesters are counted from the first day of the last menstrual period. They are defined as follows:
  • 1st trimester- less than 14 weeks 0 days
  • 2nd trimester- 14 weeks 0 days to less than 28 weeks 0 days
  • 3rd trimester- 28 weeks 0 days until delivery

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name O24.319, its category, or a range that includes it.

Excludes1 1

These codes carry an Excludes1 note naming O24.319: they are not reported together with it, unless the two conditions are unrelated.

  • R73 Elevated blood glucose level
    diabetes mellitus in pregnancy, childbirth and the puerperium (O24.-) names O24.-, which includes this code

Excludes2 1

These codes carry an Excludes2 note naming O24.319: its condition is not part of those codes, and both may be reported when the patient has both.

  • O99.2 Endocrine, nutritional and metabolic diseases complicating pregnancy, childbirth and the puerperium
    diabetes mellitus (O24.-) names O24.-, which includes this code

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR END002
Diabetes mellitus without complication
Default principal diagnosis: inpatient No · outpatient No
CCSR PRG019
Diabetes or abnormal glucose tolerance complicating pregnancy; childbirth; or the puerperium
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Pre-Gestational Diabetes

    diabetes diagnosed before current pregnancy. (revitalize)

Patient EducationClinical

Diabetes and Pregnancy

If you have diabetes, your blood glucose, or blood sugar, levels are too high. Glucose comes from the foods you eat. A hormone called insulin helps the glucose get into your cells to give them energy. With type 1 diabetes, your body does not make insulin. With type 2 diabetes, your body does not make or use insulin well.

The full article covers:

  • What is diabetes?
  • What is gestational diabetes?
  • Who is more likely to develop gestational diabetes?
  • How do I know if I have gestational diabetes?
  • How can diabetes affect my pregnancy?
  • How can I manage diabetes during pregnancy?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert O24.319 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
648.00 Diabetes in preg-unspec
Approximate The match is approximate rather than exact.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About O24.319Overview

Is O24.319 (Unspecified pre-existing diabetes mellitus in pregnancy) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does O24.319 group to?

When unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester is the principal diagnosis on an inpatient stay, it groups to MS-DRG 833, 832, 831, 819, 818, 817, with relative weights from 0.5000 to 1.7586 depending on complications. Higher weights mean higher Medicare reimbursement.

Is O24.319 a CC or MCC?

CMS lists O24.319 as a CC (complication or comorbidity) for FY 2027. Reported as a secondary diagnosis, it moves the inpatient stay to a higher-weighted DRG within its severity family. It does not count when the principal diagnosis is one of the 250 closely related codes in its exclusion list.

Who can O24.319 be reported for?

The Medicare Code Editor checks unspecified pre-existing diabetes mellitus in pregnancy, unspecified trimester against patient demographics: this code is intended for maternity cases (age 9 through 64). Claims outside these limits are flagged as inconsistent.

Does O24.319 need an additional code?

When the condition applies, yes. The Use Additional Code note at O24.3, which applies to O24.319, reads: code (for): from category E11 to further identify any manifestation; injectable non-insulin antidiabetic drugs (Z79.85); long-term (current) use of insulin (Z79.4). The additional code is reported after O24.319.