2026 ICD-10-CM Diagnosis Code O07.0Genital tract and pelvic infection following failed attempted termination of pregnancy

ICD-10-CM CodesO00-O9AO00-O08O07

ICD-10-CM O07.0
CMSSource: CMS FY 2026 ICD-10-CM dataset · Effective Oct 1, 2025 – Sep 30, 2026

O07.0 is a billable ICD-10-CM diagnosis code for genital tract and pelvic infection following failed attempted termination of pregnancy. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026). The code is restricted by the Medicare Code Editor to maternity cases (age 9 through 64). In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Induced abortion and complications of termination of pregnancy.

Code Identity

ICD-10-CM Code
O07.0
Billable Status
Yes — Valid for Submission
Code Describes
Genital tract and pelvic infection following failed attempted termination of pregnancy
Short Description
Genitl trct and pelvic infct fol failed attempt term of preg
Parent Code
Failed attempted termination of pregnancy

Code Classification

ChapterO00-O9APregnancy, childbirth and the puerperium
SectionO00-O08Pregnancy with abortive outcome
CategoryO07Failed attempted termination of pregnancy
This CodeO07.0Genital tract and pelvic infection following failed attempted termination of pregnancy

Code EditsBilling

Medicare Code Editor checks that affect claim validity for O07.0.

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).

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Failed attempted medical termination of pregnancy
  • Failed attempted termination of pregnancy complicated by genital-pelvic infection
  • Failed attempted termination of pregnancy with endometritis
  • Failed attempted termination of pregnancy with genital tract or pelvic infection
  • Failed attempted termination of pregnancy with parametritis
  • Failed attempted termination of pregnancy with pelvic peritonitis
  • Failed attempted termination of pregnancy with salpingitis
  • Failed attempted termination of pregnancy with salpingo-oophoritis
  • Failed medical termination of pregnancy, complicated by genital tract or pelvic infection
  • Genital tract infection due to incomplete induced termination of pregnancy
  • Tubo-ovarian inflammatory disease

Tabular List NotesGuidance

Coding notes and annotation back-references applicable to this code.

Inclusion Terms

  • Endometritis following failed attempted termination of pregnancy
  • Oophoritis following failed attempted termination of pregnancy
  • Parametritis following failed attempted termination of pregnancy
  • Pelvic peritonitis following failed attempted termination of pregnancy
  • Salpingitis following failed attempted termination of pregnancy
  • Salpingo-oophoritis following failed attempted termination of pregnancy

Type 1 Excludes

  • sepsis following failed attempted termination of pregnancy O07.37
  • urinary tract infection following failed attempted termination of pregnancy O07.38

Index to Diseases and InjuriesGuidance

External Cause of Injuries IndexGuidance

References for this code in the External Cause of Injuries Index.

    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • endometritis
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • genital tract and pelvic infection
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • infection
            • genital tract or pelvic
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • oophoritis
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • parametritis
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • pelvic peritonitis
    • Abortion(complete) (spontaneous)
      • attempted (elective) (failed)
        • complicated by
          • salpingitis or salpingo-oophoritis

Clinical ClassificationClinical

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

CCSR PRG004
Induced abortion and complications of termination of pregnancy
Default principal diagnosis: inpatient Yes · outpatient Yes

Patient EducationClinical

Abortion

An induced abortion is a procedure to end a pregnancy. It can be done two different ways:

Read the full article at MedlinePlus

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

Convert O07.0 to ICD-9-CMHistory

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

ICD-9-CM
638.0 Attem abort w pelvic inf
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–2025No changes
FY 2026CurrentCurrent code set, no changesEffective October 1, 2025 through September 30, 2026.

Questions About O07.0Overview

Is O07.0 (Failed attempted termination of pregnancy) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report genital tract and pelvic infection following failed attempted termination of pregnancy on HIPAA-covered claims from October 1, 2025 through September 30, 2026.

Who can O07.0 be reported for?

The Medicare Code Editor checks genital tract and pelvic infection following failed attempted termination of pregnancy against patient demographics: this code is intended for maternity cases (age 9 through 64). Claims outside these limits are flagged as inconsistent.

What is the ICD-9 equivalent of O07.0?

Under the General Equivalence Mappings, genital tract and pelvic infection following failed attempted termination of pregnancy converts to ICD-9-CM 638.0 (attem abort w pelvic inf). The mapping is approximate, so confirm the match fits the documentation.

Footnotes

[1] Not chronic - A diagnosis code that does not fit the criteria for chronic condition (duration, ongoing medical treatment, and limitations) is considered not chronic. Some codes designated as not chronic are acute conditions. Other diagnosis codes that indicate a possible chronic condition, but for which the duration of the illness is not specified in the code description (i.e., we do not know the condition has lasted 12 months or longer) also are considered not chronic.