Z87.8904BillableNon-CCNew for FY2027Unacceptable PrincipalPOA Exempt

Personal history of intersex surgery

Factors Influencing Health Status and Contact with Health Services·Personal history of sex reassignment·subcategory·FY 2027

Instructional notes

Also applies, from Z87.890: Personal history of sex reassignment

These notes sit on Z87.890 and apply to every code under it, including Z87.8904.

Includes: conditions that are coded here

  • Personal history of gender transition

Also applies, from Z87.8: Personal history of other specified conditions

These notes sit on Z87.8 and apply to every code under it, including Z87.8904.

Excludes2: not included here, code separately if applicable

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

Also applies, from Z87: Personal history of other diseases and conditions

These notes sit on Z87 and apply to every code under it, including Z87.8904.

Code first: code the underlying condition first, then this code

  • any follow-up examination after treatment (Z09)

Also applies, from Persons with potential health hazards related to family and personal history and certain conditions influencing health status (Z77-Z99)

These notes sit on Z77-Z99 and apply to every code under it, including Z87.8904.

Code also: add a code for this too, order depends on the encounter

  • any follow-up examination (Z08-Z09)

MS-DRGs

As the principal diagnosis, this code groups to these MS-DRGs (v44.0).

Code history

  • FY 2026: replaced Z87.890 (Personal history of sex reassignment)