Z87.8902 — Personal history of medical gender transition
Is Z87.8902 billable?
Yes — Z87.8902 is billable for FY2027. Z87.8902 is a valid, billable ICD-10-CM code at the highest level of specificity in its branch. Z87.8902 may be submitted for encounters from October 1, 2026 through September 30, 2027. Z87.8902 is new in FY2027.
Z87.8902 at a glance
| Code | Z87.8902 |
|---|---|
| Description | Personal history of medical gender transition |
| Billable | Yes |
| Code set | ICD-10-CM FY2027 |
| Valid for encounters | October 1, 2026 – September 30, 2027 |
| FY2027 change | New in FY2027 |
What Medicare edits apply to Z87.8902?
The Medicare Code Editor screens inpatient claims before they are grouped. These edits name Z87.8902 directly.
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.8902 group to?
Z87.8902 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.8902 listed in the Alphabetic Index?
The Alphabetic Index lists these routes under Z87.890, the nearest indexed parent of Z87.8902. Use them to find the family, then select the specific code.
- Sex › reassignment surgery status
- Status › sex reassignment surgery status (post)
- History › personal › sex reassignment
- History › personal › surgery NEC › sex reassignment
Inclusion terms
Alternative wording in documentation that is classified to Z87.8902.
- Personal history of pharmacological (hormonal) gender transition
Code first — inherited from Z87
The underlying condition below must be sequenced before Z87.8902. Z87.8902 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.8902, but a patient may have both at the same time. When documentation supports it, Z87.8902 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.8902 is sequenced first depends on the reason for the encounter.
- any follow-up examination (Z08-Z09)