O03.38

Urinary tract infection following incomplete spontaneous abortion

FY2027Chapter 15: Pregnancy, childbirth and the puerperium/O00–O08 Pregnancy with abortive outcome

BillableComplete code, valid to report

O03.38 (also written O0338) is a billable ICD-10-CM diagnosis code for urinary tract infection following incomplete spontaneous abortion. It is part of the FY2027 code set, effective October 1, 2026. It is one of the 28 codes in category O03 (Spontaneous abortion). The Alphabetic Index lists it under 3 entries. Its coding notes include a Use additional code instruction, 2 Excludes1 entries and 4 Excludes2 entries.

Guidelines tip

From the FY2027 Official Guidelines. ICD10Ref adds no rules of its own.

The trimester character comes from the provider's documentation for the current encounter. The unspecified trimester code should rarely be used.

Guidelines I.C.15.a.3; I.C.15.a.5Pregnancy: the trimester characterRead the official text

Use additional code

Add the listed code as a secondary code, if known.

Also from chapter/block level (1 note)
Inherited from Chapter 15 Pregnancy, childbirth and the puerperium
  • code, if applicable, from category Z3A, Weeks of gestation, to identify the specific week of the pregnancy, if known.

Excludes1

Not coded here. The listed conditions generally should not be reported together.

Also from chapter/block level (2 notes)
Inherited from O00–O08 Pregnancy with abortive outcome
  • continuing pregnancy in multiple gestation after abortion of one fetus or more (O31.1-, O31.3-)
Inherited from Chapter 15 Pregnancy, childbirth and the puerperium
  • supervision of normal pregnancy (Z34.-)

Excludes2

Not included here. Both codes may be reported if the patient has both conditions.

Also from chapter/block level (4 notes)
Inherited from Chapter 15 Pregnancy, childbirth and the puerperium
  • mental and behavioral disorders associated with the puerperium (F53.-)
  • obstetrical tetanus (A34)
  • postpartum necrosis of pituitary gland (E23.0)
  • puerperal osteomalacia (M83.0)

Care settings

How CMS programs treat this code. These are CMS claim edits and list entries, not coverage or eligibility rules.

Home Health Primary

Accepted as the primary (principal) diagnosis on a home health claim. The Home Health Grouper assigns it to the MMTA - Other clinical group.

Source: CMS Home Health Grouper Software v07.2.26, effective October 1, 2026

Hospital CC

Counts as a complication or comorbidity (CC) when reported as a secondary diagnosis on an inpatient claim. It does not count when the principal diagnosis is one of the 311 codes in its exclusion list. Some MS-DRGs also ignore a CC or MCC that defines the DRG.

Source: CMS MS-DRG Definitions Manual v44, effective October 1, 2026, Appendix C

Includes

Further defines or gives examples of the content of the category.

Inherited from O03 Spontaneous abortion
  • miscarriage

Inclusion terms

Conditions classified to this code.

This code
  • Cystitis following incomplete spontaneous abortion

Notes

Inherited from O03 Spontaneous abortion
  • Incomplete abortion includes retained products of conception following spontaneous abortion
Also from chapter/block level (6 notes)
Inherited from Chapter 15 Pregnancy, childbirth and the puerperium
  • 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

Alphabetic Index terms

Terms the official Alphabetic Index lists for this code. 3 entries