ICDcodes.org
FY2027

Z87.8903Personal history of surgical gender transition

BillableNew in FY2027

Is Z87.8903 billable?

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

Z87.8903 at a glance

CodeZ87.8903
DescriptionPersonal history of surgical gender transition
BillableYes
Code setICD-10-CM FY2027
Valid for encountersOctober 1, 2026 – September 30, 2027
FY2027 changeNew in FY2027

What Medicare edits apply to Z87.8903?

The Medicare Code Editor screens inpatient claims before they are grouped. These edits name Z87.8903 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.8903 group to?

Z87.8903 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.8903 listed in the Alphabetic Index?

The Alphabetic Index lists these routes under Z87.890, the nearest indexed parent of Z87.8903. 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.8903. Z87.8903 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.8903, but a patient may have both at the same time. When documentation supports it, Z87.8903 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.8903 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)