2026 ICD-10-CM Diagnosis Code O98.712Human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester

ICD-10-CM CodesO00-O9AO94-O9AO98

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

O98.712 is a billable ICD-10-CM diagnosis code for human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026) and groups to MS-DRG 817 through 819, 831 through 833. 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 HIV infection and Other specified complications in pregnancy.

Code Identity

ICD-10-CM Code
O98.712
Billable Status
Yes — Valid for Submission
Code Describes
Human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester
Short Description
Human immunodef virus disease comp preg, second trimester
Parent Code
Human immunodeficiency virus [HIV] disease complicating pregnancy

Code Classification

ChapterO00-O9APregnancy, childbirth and the puerperium
SectionO94-O9AOther obstetric conditions, not elsewhere classified
CategoryO98Maternal infectious and parasitic diseases classifiable elsewhere but complicating pregnancy, childbirth and the puerperium
This CodeO98.712Human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester

Code EditsBilling

Medicare Code Editor checks that affect claim validity for O98.712.

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

Clinical ClassificationClinical

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

CCSR INF006
HIV infection
Default principal diagnosis: inpatient No · outpatient No
CCSR PRG028
Other specified complications in pregnancy
Default principal diagnosis: inpatient Yes · outpatient Yes

Patient EducationClinical

HIV and Pregnancy

If you are pregnant or planning to get pregnant, it's important to get tested for HIV as soon as possible. If you find out that do have HIV, you can start treatment right away to protect your health and the health of your baby.

The full article covers:

  • If I have HIV, can I pass it on to my baby during pregnancy?
  • If I have HIV, how can I prevent giving it to my baby?
  • What if I want to get pregnant and my partner has HIV?

Read the full article at MedlinePlus

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

Convert O98.712 to ICD-9-CMHistory

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

ICD-9-CM
647.61 Oth viral dis-delivered
Approximate The match is approximate rather than exact.
ICD-9-CM
647.63 Oth viral dis-antepartum
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 O98.712Overview

Is O98.712 a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester on HIPAA-covered claims from October 1, 2025 through September 30, 2026.

What MS-DRG does O98.712 group to?

When human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester is the principal diagnosis on an inpatient stay, it groups to MS-DRG 817, 818, 819, 831, 832, 833, with relative weights from 0.5229 to 1.6880 depending on complications. Higher weights mean higher Medicare reimbursement.

Who can O98.712 be reported for?

The Medicare Code Editor checks human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester 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 O98.712?

Under the General Equivalence Mappings, human immunodeficiency virus [HIV] disease complicating pregnancy, second trimester converts to ICD-9-CM 647.61 (oth viral dis-delivered) and 647.63 (oth viral dis-antepartum). The mapping is approximate, so confirm the match fits the documentation.

Footnotes

[1] Chronic - a chronic condition code indicates a condition lasting 12 months or longer and its effect on the patient based on one or both of the following criteria:

  • The condition results in the need for ongoing intervention with medical products,treatment, services, and special equipment
  • The condition places limitations on self-care, independent living, and social interactions.