2027 ICD-10-CM Diagnosis Code Z87.893Personal history of gender detransition
Z87.893 is a billable ICD-10-CM diagnosis code for personal history of gender detransition. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 951. The code is not accepted as a principal diagnosis by the Medicare Code Editor and exempt from POA reporting.
Code Identity
Code Classification
Code EditsBilling
Medicare Code Editor checks that affect claim validity for Z87.893.
Present on Admission (POA)Billing
Z87.893 is exempt from POA reporting on inpatient claims to general acute care hospitals. Review the other POA exempt codes in Persons with potential health hazards related to family and personal history and certain conditions influencing health status (Z77-Z99).
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to Z87.893: its own notes plus those printed at Z87.8, Z87, block Z77-Z99, and Chapter 21. A note printed at a category, block or chapter applies to every code under it.
Excludes2
Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.
Code First
The underlying condition named in the note is sequenced before this code.
Code Also
A second code may be needed to fully describe the condition; the note gives no sequencing direction.
- personal history of sex reassignment (Z87.890-)
Notes
General instructions on how these codes are used.
- Z codes represent reasons for encounters. A corresponding procedure code must accompany a Z code if a procedure is performed. Categories Z00-Z99 are provided for occasions when circumstances other than a disease, injury or external cause classifiable to categories A00-Y89 are recorded as 'diagnoses' or 'problems'. This can arise in two main ways:
- (a) When a person who may or may not be sick encounters the health services for some specific purpose, such as to receive limited care or service for a current condition, to donate an organ or tissue, to receive prophylactic vaccination (immunization), or to discuss a problem which is in itself not a disease or injury.
- (b) When some circumstance or problem is present which influences the person's health status but is not in itself a current illness or injury.
Source: CMS ICD-10-CM Tabular List. How to read instructional notes.
Referenced in Other NotesGuidance
Instructional notes printed at other codes that name Z87.893, its category, or a range that includes it.
Use Additional Code 1
These codes say to use an additional code from the note, and Z87.893 is one of the codes named.
Code History & ChangesHistory
New Code Z87.893 was added to the ICD-10-CM code set for FY 2027, effective October 1, 2026.
Replacement Z87.893 replaces the following previously assigned code(s):
- Z87.898 - Personal history of other specified conditions
Questions About Z87.893Overview
What is the ICD-10 code for personal history of gender detransition?
The ICD-10-CM code for personal history of gender detransition is Z87.893 (sometimes written as Z87893). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
Is Z87.893 (Personal history of other specified conditions) a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report personal history of gender detransition on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What MS-DRG does Z87.893 group to?
On inpatient claims, personal history of gender detransition maps to MS-DRG 951 (other Factors Influencing Health Status), which carries a relative weight of 0.5574. Higher weights mean higher Medicare reimbursement.
Can Z87.893 be a principal diagnosis?
No. The Medicare Code Editor rejects this code as a principal diagnosis because personal history of gender detransition describes a circumstance that influences health status rather than a current illness. Report it as a secondary diagnosis.
Is Z87.893 exempt from POA reporting?
Yes. CMS lists this code among those exempt from present on admission reporting, so hospitals do not assign a POA indicator for personal history of gender detransition on inpatient claims. The code appears in the Persons with potential health hazards related to family and personal history and certain conditions influencing health status (Z77-Z99) range of the CMS exempt list.