ICD-10-CM 2027 diagnosis code
Z40.02Encounter for prophylactic removal of ovary(s)
Z40.02 is a valid, billable ICD-10-CM code for encounter for prophylactic removal of ovary(s). It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.
Code last changed in FY2018 (effective October 1, 2017). Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About Z40.02
Z40.02 is the ICD-10-CM diagnosis code for encounter for prophylactic removal of ovary(s). It belongs to category Z40 (encounter for prophylactic surgery), block Z40-Z53 (Encounters for other specific health care) 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 Z40.0 (encounter for prophylactic surgery for risk factors related to malignant neoplasms), Z40.02 is specifically for encounter for prophylactic removal of ovary(s). Related codes cover unspecified organ (Z40.00), breast (Z40.01), fallopian tube(s) (Z40.03) and other organ (Z40.09).
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 742 (Uterine and Adnexa Procedures for Non-Malignancy with CC/MCC, relative weight 1.8456), DRG 743 (Uterine and Adnexa Procedures for Non-Malignancy without CC/MCC, relative weight 1.2974), DRG 760 (Menstrual and Other Female Reproductive System Disorders with CC/MCC, relative weight 1.0129) and DRG 761 (Menstrual and Other Female Reproductive System Disorders without CC/MCC, relative weight 0.7041), in MDC 13 (Diseases and Disorders of the Female Reproductive System), 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 on the CMS list of diagnoses consistent only with female patients (the sex-conflict edit itself was retired in FY2025).
It has been part of ICD-10-CM since the code set took effect on October 1, 2015, and changed in FY2018 (title revised).
Before ICD-10, this condition was coded in ICD-9-CM as V50.42 (prophylactic ovary removal).
Notes that apply from higher levels
Instructions written at a parent level also apply to Z40.02.
› From Z40.0 Encounter for prophylactic surgery for risk factors related to malignant neoplasms
- code to identify risk factor, such as genetic susceptibility to malignant neoplasm Z15.-
› From Z40 Encounter for prophylactic surgery
- organ donations (Z52.-)
- therapeutic organ removal-code to condition
Broader instructions also apply from Z40-Z53 Encounters for other specific health care and Chapter 21: Factors influencing health status and contact with health services.
Alphabetic index entries
3 entriesTerms in the official ICD-10-CM index that lead to Z40.02.
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 13 · Diseases and Disorders of the Female Reproductive System
MDC 13 · Diseases and Disorders of the Female Reproductive System
ICD-9-CM equivalent
Converter →- V50.42Prophylactic ovary removalexact
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)
- FY2018 (effective 10/1/2017): Title revised — was “Encounter for prophylactic removal of ovary”
Common questions about Z40.02
Is Z40.02 billable?
- Yes. Z40.02 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can Z40.02 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict Z40.02 as a principal diagnosis.
Is Z40.02 a CC or MCC?
- No. Z40.02 is neither a CC nor an MCC under MS-DRG v44.0.
What DRG does Z40.02 group to?
- Z40.02 is used in the MS-DRG v44.0 logic for MS-DRG 742 (Uterine and Adnexa Procedures for Non-Malignancy with CC/MCC), MS-DRG 743 (Uterine and Adnexa Procedures for Non-Malignancy without CC/MCC), MS-DRG 760 (Menstrual and Other Female Reproductive System Disorders with CC/MCC) and MS-DRG 761 (Menstrual and Other Female Reproductive System Disorders without CC/MCC). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.