2027 ICD-10-CM Diagnosis Code O98.412Viral hepatitis complicating pregnancy, second trimester

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

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

O98.412 is a billable ICD-10-CM diagnosis code for viral hepatitis complicating pregnancy, second 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 Hepatitis and Other specified complications in pregnancy.

Code Identity

ICD-10-CM Code
O98.412
Billable Status
Yes — Valid for Submission
Code Describes
Viral hepatitis complicating pregnancy, second trimester
Short Description
Viral hepatitis complicating pregnancy, second trimester
Same as the full description in the CMS dataset.
Parent Code
Viral hepatitis 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.412Viral hepatitis complicating pregnancy, second trimester

Code EditsBilling

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

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.412: its own notes plus those printed at 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 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.412, its category, or a range that includes it.

Excludes2 1

These codes carry an Excludes2 note naming O98.412: 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

Clinical ClassificationClinical

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

CCSR INF007
Hepatitis
Default principal diagnosis: inpatient No · outpatient No
CCSR PRG028
Other specified complications in pregnancy
Default principal diagnosis: inpatient Yes · outpatient Yes

Patient EducationClinical

Hepatitis

Hepatitis is inflammation of the liver. Inflammation is swelling that happens when tissues of the body are injured or infected. It can damage your liver. This swelling and damage can affect how well your liver functions.

The full article covers:

  • What is hepatitis?
  • What causes hepatitis?
  • How is viral hepatitis spread?
  • Who is at risk for hepatitis?
  • What are the symptoms of hepatitis?
  • What other problems can hepatitis cause?
  • How is hepatitis diagnosed?
  • What are the treatments for hepatitis?

Read the full article at MedlinePlus

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

Convert O98.412 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.412Overview

What is the ICD-10 code for viral hepatitis complicating pregnancy, second trimester?

The ICD-10-CM code for viral hepatitis complicating pregnancy, second trimester is O98.412 (sometimes written as O98412). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is O98.412 (Viral hepatitis complicating pregnancy) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report viral hepatitis complicating pregnancy, second trimester on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does O98.412 group to?

When viral hepatitis complicating pregnancy, second 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.412 a CC or MCC?

CMS lists O98.412 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.412 be reported for?

The Medicare Code Editor checks viral hepatitis 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.