ICDcodes.org
FY2027

Z87.8904Personal history of intersex surgery

BillableNew in FY2027

Is Z87.8904 billable?

Yes — Z87.8904 is billable for FY2027. Z87.8904 is a valid, billable ICD-10-CM code at the highest level of specificity in its branch. Z87.8904 may be submitted for encounters from October 1, 2026 through September 30, 2027. Z87.8904 is new in FY2027.

Z87.8904 at a glance

CodeZ87.8904
DescriptionPersonal history of intersex surgery
BillableYes
Code setICD-10-CM FY2027
Valid for encountersOctober 1, 2026 – September 30, 2027
FY2027 changeNew in FY2027

What Medicare edits apply to Z87.8904?

The Medicare Code Editor screens inpatient claims before they are grouped. These edits name Z87.8904 directly.

Cannot be a principal diagnosis — MCE edit 9

CMS will reject this code as the principal diagnosis on an inpatient claim. It describes something other than the condition chiefly responsible for the admission.

Which MS-DRGs does Z87.8904 group to?

Z87.8904 sits in MDC 19 and helps define the logic of 1 MS-DRG (version 44, FY2027). Which one a stay actually groups to also depends on procedures and secondary diagnoses.

  • 887Other Mental Disorder Diagnosesmedical

How is Z87.8904 listed in the Alphabetic Index?

The Alphabetic Index lists these routes under Z87.890, the nearest indexed parent of Z87.8904. Use them to find the family, then select the specific code.

  • Sexreassignment surgery status
  • Statussex reassignment surgery status (post)
  • Historypersonalsex reassignment
  • Historypersonalsurgery NECsex reassignment

Code first — inherited from Z87

The underlying condition below must be sequenced before Z87.8904. Z87.8904 describes a manifestation and cannot be the principal or first-listed diagnosis.

  • any follow-up examination after treatment (Z09)

Excludes2 — not included here — inherited from Z87.8

The conditions below are not part of Z87.8904, but a patient may have both at the same time. When documentation supports it, Z87.8904 and the excluded code may both be reported.

  • personal history of self harm (Z91.5-)

Code also — inherited from Z77-Z99

Two codes may be needed to describe the condition fully. Whether Z87.8904 is sequenced first depends on the reason for the encounter.

  • any follow-up examination (Z08-Z09)

What other codes are in the Z87.890 family? (4)