ICD-10 · PDGM grouping
Z87 Personal history of other diseases and conditions
All 54 codes in the Z87 family, with the PDGM clinical group, comorbidity subgroup and primary-position rule CMS assigns, read from the CMS grouper crosswalk v07.2.26 and the CDC FY2027 code file.
Codes in family
54
Can lead a claim
0
Cannot lead a claim
54
What CMS assigns to Z87
None of the 54 codes is assigned a clinical group. None of the 54 is assigned a comorbidity subgroup. None can lead a claim. CMS attaches a code-first note to all 54.
Code first
CMS grouper convention 178, on all 54 codes. Code first:
- any follow-up examination after treatment (Z09)
Every code in Z87
Descriptions are CDC’s FY2027 wording; where CMS’s grouper abbreviates one, its form is shown beneath.
| Code | Description | Primary position | Clinical group | Comorbidity subgroup |
|---|---|---|---|---|
| Z87.0 Personal history of diseases of the respiratory system | ||||
| Z87.01 | Personal history of pneumonia (recurrent) | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.09 | Personal history of other diseases of the respiratory system | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.1 Personal history of diseases of the digestive system | ||||
| Z87.11 | Personal history of peptic ulcer disease | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.19 | Personal history of other diseases of the digestive system | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.2 | Personal history of diseases of the skin and subcutaneous tissueCMS: Personal history of diseases of the skin, subcu | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.3 Personal history of diseases of the musculoskeletal system and connective tissue | ||||
| Z87.31 Personal history of (healed) nontraumatic fracture | ||||
| Z87.310 | Personal history of (healed) osteoporosis fracture | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.311 | Personal history of (healed) other pathological fracture | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.312 | Personal history of (healed) stress fracture | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.39 | Personal history of other diseases of the musculoskeletal system and connective tissueCMS: Personal history of diseases of the ms sys and conn tiss | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.4 Personal history of diseases of genitourinary system | ||||
| Z87.41 Personal history of dysplasia of the female genital tract | ||||
| Z87.410 | Personal history of cervical dysplasia | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.411 | Personal history of vaginal dysplasia | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.412 | Personal history of vulvar dysplasia | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.42 | Personal history of other diseases of the female genital tractCMS: Personal history of oth diseases of the female genital tract | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.43 Personal history of diseases of male genital organs | ||||
| Z87.430 | Personal history of prostatic dysplasia | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.438 | Personal history of other diseases of male genital organs | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.44 Personal history of diseases of urinary system | ||||
| Z87.440 | Personal history of urinary (tract) infections | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.441 | Personal history of nephrotic syndrome | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.442 | Personal history of urinary calculi | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.448 | Personal history of other diseases of urinary system | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.5 Personal history of complications of pregnancy, childbirth and the puerperium | ||||
| Z87.51 | Personal history of pre-term labor | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.59 | Personal history of other complications of pregnancy, childbirth and the puerperiumCMS: Personal history of comp of preg, chldbrth and the puerp | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.6 Personal history of certain (corrected) conditions arising in the perinatal period | ||||
| Z87.61 | Personal history of (corrected) necrotizing enterocolitis of newbornCMS: Pers hx of (corrected) necrotizing enterocolitis of newborn | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.68 | Personal history of other (corrected) conditions arising in the perinatal periodCMS: Pers hx of other conditions arising in the perinatal period | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.7 Personal history of (corrected) congenital malformations | ||||
| Z87.71 Personal history of (corrected) congenital malformations of genitourinary system | ||||
| Z87.710 | Personal history of (corrected) hypospadias | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.718 | Personal history of other specified (corrected) congenital malformations of genitourinary systemCMS: Personal history of (corrected) congenital malform of GU sys | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.72 Personal history of (corrected) congenital malformations of nervous system and sense organs | ||||
| Z87.720 | Personal history of (corrected) congenital malformations of eyeCMS: Personal history of (corrected) congenital malform of eye | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.721 | Personal history of (corrected) congenital malformations of earCMS: Personal history of (corrected) congenital malform of ear | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.728 | Personal history of other specified (corrected) congenital malformations of nervous system and sense organsCMS: Prsnl hx of congen malform of nervous sys and sense organs | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.73 Personal history of (corrected) congenital malformations of digestive system | ||||
| Z87.730 | Personal history of (corrected) cleft lip and palate | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.731 | Personal history of (corrected) tracheoesophageal fistula or atresiaCMS: Pers hx of (corrected) tracheoesophageal fistula or atresia | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.732 | Personal history of (corrected) persistent cloaca or cloacal malformationsCMS: Pers hx of (corrected) persistent cloaca or cloacal malform | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.738 | Personal history of other specified (corrected) congenital malformations of digestive systemCMS: Personal history of congenital malform of dgstv sys | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.74 | Personal history of (corrected) congenital malformations of heart and circulatory systemCMS: Personal history of congenital malform of heart and circ sys | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.75 | Personal history of (corrected) congenital malformations of respiratory systemCMS: Personal history of congenital malform of resp sys | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.76 Personal history of (corrected) congenital malformations of integument, limbs and musculoskeletal system | ||||
| Z87.760 | Personal history of (corrected) congenital diaphragmatic hernia or other congenital diaphragm malformationsCMS: Pers hx congen diaphragm hernia/oth congen diaphragm malform | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.761 | Personal history of (corrected) gastroschisis | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.762 | Personal history of (corrected) prune belly malformation | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.763 | Personal history of other (corrected) congenital abdominal wall malformationsCMS: Pers hx of other (corrected) congenital abd wall malform | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.768 | Personal history of other specified (corrected) congenital malformations of integument, limbs and musculoskeletal systemCMS: Pers hx of oth congen malform of integument, lmbs and ms sys | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.79 Personal history of other (corrected) congenital malformations | ||||
| Z87.790 | Personal history of (corrected) congenital malformations of face and neckCMS: Personal history of congenital malform of face and neck | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.798 | Personal history of other (corrected) congenital malformationsCMS: Personal history of oth (corrected) congenital malformations | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.8 Personal history of other specified conditions | ||||
| Z87.81 | Personal history of (healed) traumatic fracture | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.82 Personal history of other (healed) physical injury and trauma | ||||
| Z87.820 | Personal history of traumatic brain injury | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.821 | Personal history of retained foreign body fully removed | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.828 | Personal history of other (healed) physical injury and traumaCMS: Personal history of oth (healed) physical injury and trauma | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.89 Personal history of other specified conditions | ||||
| Z87.890 Personal history of sex reassignment | ||||
| Z87.8901 | Personal history of social gender transition | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.8902 | Personal history of medical gender transition | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.8903 | Personal history of surgical gender transition | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.8904 | Personal history of intersex surgery | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.8909 | Personal history of unspecified gender transition | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.891 | Personal history of nicotine dependence | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.892 | Personal history of anaphylaxis | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
| Z87.893 | Personal history of gender detransition | Cannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosis | None | None |
| Z87.898 | Personal history of other specified conditions | Cannot lead a claimPrincipal diagnosis not assigned to a clinical group | None | None |
Sources: CMS HH PPS Grouper Software v07.2.26, effective 2026-10-01, for the clinical group, comorbidity subgroup, code-first conventions and primary-position flags; CDC NCHS ICD-10-CM FY2027 code descriptions for the family title and code wording. This is the crosswalk Medicare runs a claim through. Grouping also depends on admission source, timing, the OASIS functional items and the rest of the diagnosis list.
The monthly home health regs digest
What CMS changed, what's due next, and what to do about it — one email a month, no fluff. Read the first issue