Skip to main content

O31.13X2 ICD-10-CM Code: Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 2

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

Inpatient Payment Groups (MS-DRG)

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

  • MS-DRG 817 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH MCC (MDC 14)
  • MS-DRG 818 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH CC (MDC 14)
  • MS-DRG 819 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITHOUT CC/MCC (MDC 14)
  • MS-DRG 831 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH MCC (MDC 14)
  • MS-DRG 832 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH CC (MDC 14)
  • MS-DRG 833 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITHOUT CC/MCC (MDC 14)

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.

Official Registry Overview & Definition

Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 2 is a billable ICD-10-CM diagnosis code (O31.132).

Official Tabular Instructional Notes

Sequencing, inclusion, and exclusion notes published for O31.13X2 in the official ICD-10-CM tabular list.

Excludes2 — Not Included Here

Conditions not covered by this code, but which may be reported alongside it when both are present.

Frequently Compared Codes

The official Excludes notes on O31.13X2 name these codes. Each comparison page covers when the two can — or must not — be reported together.

Change history

No changes recorded for this code — unchanged since the FY2016 baseline of the change ledger.

Verify Before Coding

  • Age-restricted: the Medicare Code Editor lists this as a maternity (age 9-64) diagnosis; other ages are presumed incorrect.

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

Relationships & Classification

Official ICD-10-CM tabular notes on other codes that name O31.13X2 or its code family.

8 Excludes1 notes: O00 (via O31.1.-), O00-O08 (via O31.1.-), O01 (via O31.1.-), O02 (via O31.1.-), O03 (via O31.1.-), O04 (via O31.1.-), O07 (via O31.1.-), O08 (via O31.1.-).

Potential MS-DRG Relationships (FY2026)

Not on the CMS CC/MCC list — as a secondary diagnosis this code does not change MS-DRG severity.

Named in the grouper logic of 6 MS-DRGs: DRG 817 (MDC 14), DRG 818 (MDC 14), DRG 819 (MDC 14), DRG 831 (MDC 14), DRG 832 (MDC 14), DRG 833 (MDC 14).

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

Clinical classification (AHRQ CCSR):PRG012 — Multiple gestation (default).

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

Contextual Map

Every relationship of O31.13X2 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.

Hierarchy

  • O00-O9A — Chapter 15: Pregnancy, Childbirth and the Puerperium (O00-O9A) (O00-O9A) [Hierarchy]
  • O30-O48 — Maternal care related to the fetus and amniotic cavity and possible delivery problems [Hierarchy]
  • O31 — Clinical Diagnosis [Hierarchy]
  • O31.1 — Clinical Diagnosis [Hierarchy]
  • O31.13 — Clinical Diagnosis [Hierarchy]
  • O31.13X — Clinical Diagnosis [Hierarchy]

Referenced by Excludes1 notes

  • O00 — Ectopic pregnancy [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O00-O08 — Pregnancy with abortive outcome (O00-O08) [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O01 — Hydatidiform mole [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O02 — Other abnormal products of conception [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O03 — Spontaneous abortion [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O04 — Complications following (induced) termination of pregnancy [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O07 — Failed attempted termination of pregnancy [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together
  • O08 — Complications following ectopic and molar pregnancy [Excludes1](via O31.1.-): “continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)” · check together

Clinical classification (CCSR)

  • PRG012 — Multiple gestation [CCSR]

Potential MS-DRG

  • DRG 817 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH MCC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH MCC (MDC 14)”
  • DRG 818 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH CC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITH CC (MDC 14)”
  • DRG 819 — OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITHOUT CC/MCC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITH O.R. PROCEDURES WITHOUT CC/MCC (MDC 14)”
  • DRG 831 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH MCC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH MCC (MDC 14)”
  • DRG 832 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH CC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITH CC (MDC 14)”
  • DRG 833 — OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITHOUT CC/MCC [MS-DRG]: “OTHER ANTEPARTUM DIAGNOSES WITHOUT O.R. PROCEDURES WITHOUT CC/MCC (MDC 14)”

MDC crossing · procedures (94)

  • MDC 14 — Pregnancy, Childbirth and the Puerperium [MDC crossing]: “Pregnancy, Childbirth and the Puerperium — 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.”
  • 0U570ZZ — Destruction of Bilateral Fallopian Tubes, Open Approach [Same-MDC procedure]: “Destruction of Bilateral Fallopian Tubes, Open Approach — grouped in MDC 14, the procedure side of this code's crossing.” · check together
  • 0U573ZZ — Destruction of Bilateral Fallopian Tubes, Percutaneous Approach [Same-MDC procedure]: “Destruction of Bilateral Fallopian Tubes, Percutaneous Approach — grouped in MDC 14, the procedure side of this code's crossing.” · check together
  • 0U574ZZ — Destruction of Bilateral Fallopian Tubes, Percutaneous Endoscopic Approach [Same-MDC procedure]: “Destruction of Bilateral Fallopian Tubes, Percutaneous Endoscopic Approach — grouped in MDC 14, the procedure side of this code's crossing.” · check together
  • 0U577ZZ — Destruction of Bilateral Fallopian Tubes, Via Natural or Artificial Opening [Same-MDC procedure]: “Destruction of Bilateral Fallopian Tubes, Via Natural or Artificial Opening — grouped in MDC 14, the procedure side of this code's crossing.” · check together
  • 0U578ZZ — Destruction of Bilateral Fallopian Tubes, Via Natural or Artificial Opening Endoscopic [Same-MDC procedure]: “Destruction of Bilateral Fallopian Tubes, Via Natural or Artificial Opening Endoscopic — grouped in MDC 14, the procedure side of this code's crossing.” · check together
  • and 89 more

Nearest codes (40)

  • O31 — Complications specific to multiple gestation [Sibling]
  • O31.10X9 — Continuing pregnancy after spontaneous abortion of one fetus or more, unspecified trimester, other fetus [Sibling]
  • O31.11 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester [Sibling]
  • O31.11X0 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester, not applicable or unspecified [Sibling]
  • O31.11X1 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester, fetus 1 [Sibling]
  • O31.11X2 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester, fetus 2 [Sibling]
  • O31.11X3 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester, fetus 3 [Sibling]
  • O31.11X4 — Continuing pregnancy after spontaneous abortion of one fetus or more, first trimester, fetus 4 [Sibling]
  • and 32 more

Frequently Asked Questions (FAQ) & Clinical Guidance

Does O31.13X2 require a 7th character?

Yes. One of the following 7th characters is to be assigned to each code under category O31. 7th character 0 is for single gestations and multiple gestations where the fetus is unspecified. 7th characters 1 through 9 are for cases of multiple gestations to identify the fetus for which the code applies. The appropriate code from category O30, Multiple gestation, must also be assigned when assigning a code from category O31 that has a 7th character of 1 through 9..

Nearest Codes in This Family

Official ICD-10-CM classifications closest to O31.13X2 in its code family, with their registry titles.

  • O31.12X5 — Continuing pregnancy after spontaneous abortion of one fetus or more, second trimester, fetus 5
  • O31.12X9 — Continuing pregnancy after spontaneous abortion of one fetus or more, second trimester, other fetus
  • O31.13 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester
  • O31.13X0 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, not applicable or unspecified
  • O31.13X1 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 1
  • O31.13X3 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 3
  • O31.13X4 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 4
  • O31.13X5 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, fetus 5
  • O31.13X9 — Continuing pregnancy after spontaneous abortion of one fetus or more, third trimester, other fetus
  • O31.2 — Continuing pregnancy after intrauterine death of one fetus or more

View all codes in the O31 family