2027 ICD-10-CM Diagnosis Code O98.711Human immunodeficiency virus [HIV] disease complicating pregnancy, first trimester

ICD-10-CM Codes›O00-O9A›O94-O9A›O98

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

O98.711 is a billable ICD-10-CM diagnosis code for human immunodeficiency virus [HIV] disease complicating pregnancy, first 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 36 closely related codes. 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.711
Billable Status
Yes — Valid for Submission
Code Describes
Human immunodeficiency virus [HIV] disease complicating pregnancy, first trimester
Short Description
Human immunodef virus disease comp preg, first 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.711Human immunodeficiency virus [HIV] disease complicating pregnancy, first trimester

Code EditsBilling

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

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

Instructional NotesGuidance

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

Includes

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

From O98 Maternal infectious and parasitic diseases classifiable elsewhere but complicating pregnancy, childbirth and the puerperium applies to 60 codes
  • the listed conditions when complicating the pregnant state, when aggravated by the pregnancy, or as a reason for obstetric care

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 O98 Maternal infectious and parasitic diseases classifiable elsewhere but complicating pregnancy, childbirth and the puerperium applies to 60 codes
  • herpes gestationis (O26.4-)
  • infectious carrier state (O99.82-, O99.83-)
  • obstetrical tetanus (A34)
  • puerperal infection (O86.-)
  • puerperal sepsis (O85)
  • when the reason for maternal care is that the disease is known or suspected to have affected the fetus (O35-O36)
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 O98.7 Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium applies to 6 codes
  • code to identify the type of HIV disease:
  • Acquired immune deficiency syndrome (AIDS) (B20)
  • Asymptomatic HIV status (Z21)
  • HIV positive NOS (Z21)
  • Symptomatic HIV disease (B20)
From O98 Maternal infectious and parasitic diseases classifiable elsewhere but complicating pregnancy, childbirth and the puerperium applies to 60 codes
  • code (Chapter 1), to identify specific infectious or parasitic disease
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 O98.711, its category, or a range that includes it.

Excludes1 1

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

  • O98.5 Other viral diseases complicating pregnancy, childbirth and the puerperium
    human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium (O98.7-) names O98.7-, which includes this code

Excludes2 1

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

  • Chapter 1 (A00-B99) Certain infectious and parasitic diseases
    infectious and parasitic diseases complicating pregnancy, childbirth and the puerperium (O98.-) names O98.-, which includes this code

Code First 2

These codes say to code first a condition named in the note, and O98.711 is one of the conditions named.

  • B20 Human immunodeficiency virus [HIV] disease
    Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium, if applicable (O98.7-) names O98.7-, which includes this code
  • Z21 Asymptomatic human immunodeficiency virus [HIV] infection status
    Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium, if applicable (O98.7-) names O98.7-, which includes this code

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.711 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–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About O98.711Overview

Is O98.711 a billable code?

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

What MS-DRG does O98.711 group to?

When human immunodeficiency virus [HIV] disease complicating pregnancy, first 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 O98.711 a CC or MCC?

CMS lists O98.711 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 36 closely related codes in its exclusion list.

Who can O98.711 be reported for?

The Medicare Code Editor checks human immunodeficiency virus [HIV] disease complicating pregnancy, first trimester against patient demographics: this code is intended for maternity cases (age 9 through 64). Claims outside these limits are flagged as inconsistent.

Does O98.711 need an additional code?

When the condition applies, yes. The Use Additional Code note at O98.7, which applies to O98.711, reads: code to identify the type of HIV disease: Acquired immune deficiency syndrome (AIDS) (B20); Asymptomatic HIV status (Z21); HIV positive NOS (Z21); Symptomatic HIV disease (B20). The additional code is reported after O98.711.