ICD-10-CM 2027 diagnosis code
Z98.870Personal history of in utero procedure during pregnancy
Z98.870 is a valid, billable ICD-10-CM code for personal history of in utero procedure during pregnancy. It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.
Code unchanged since ICD-10-CM took effect on October 1, 2015. Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About Z98.870
Z98.870 is the ICD-10-CM diagnosis code for personal history of in utero procedure during pregnancy. It belongs to category Z98 (other postprocedural states), block Z77-Z99 (persons with potential health hazards related to family and personal history and certain conditions influencing health status) and chapter 21 (factors influencing health status and contact with health services). It is billable, so it can be reported on its own for dates of service from October 1, 2026 through September 30, 2027.
Within Z98.87 (personal history of in utero procedure), Z98.870 is specifically for personal history of in utero procedure during pregnancy. Related codes cover while a fetus (Z98.871).
The conditions in its Excludes2 note aren't part of Z98.870, but may be coded alongside it if the patient has both: complications from in utero procedure for current pregnancy (O35.7) and supervision of current pregnancy with history of in utero procedure during previous pregnancy (O09.82-).
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 951 (Other Factors Influencing Health Status, relative weight 0.5577), in MDC 23 (Factors Influencing Health Status and Other Contacts with Health Services), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
It is not acceptable as the principal diagnosis for an inpatient stay; it may be reported as a secondary diagnosis.
It is on the CMS list of diagnoses consistent only with female patients (the sex-conflict edit itself was retired in FY2025).
It is exempt from present-on-admission (POA) reporting, so no POA indicator is required.
It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.
Before ICD-10, this condition was coded in ICD-9-CM as V15.21 (personal history of undergoing in utero procedure during pregnancy).
Coding notes
Notes that apply from higher levels
Instructions written at a parent level also apply to Z98.870.
Alphabetic index entries
2 entriesTerms in the official ICD-10-CM index that lead to Z98.870.
MS-DRG v44.0 grouping
All DRGs →Inpatient MS-DRGs this diagnosis can group to, as the principal or a secondary diagnosis, depending on the rest of the claim.
MDC 23 · Factors Influencing Health Status and Other Contacts with Health Services
ICD-9-CM equivalent
Converter →- V15.21Personal history of undergoing in utero procedure during pregnancyexact
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- No changes since FY2016.
Common questions about Z98.870
Is Z98.870 billable?
- Yes. Z98.870 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can Z98.870 be used as a principal diagnosis?
- No. It is not acceptable as the principal diagnosis for an inpatient stay; it may be reported as a secondary diagnosis.
Is Z98.870 a CC or MCC?
- No. Z98.870 is neither a CC nor an MCC under MS-DRG v44.0.
What DRG does Z98.870 group to?
- Z98.870 is used in the MS-DRG v44.0 logic for MS-DRG 951 (Other Factors Influencing Health Status). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.