October 1 update. Our PDGM and ICD-10 tools now use the FY2027 code set: 190 codes added, 30 deleted, and no existing code changed clinical group.

See what changed

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.

ICD-10-CM FY2027 · CMS grouper v07.2.26

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.

CodeDescriptionPrimary positionClinical groupComorbidity subgroup
Z87.0 Personal history of diseases of the respiratory system
Z87.01Personal history of pneumonia (recurrent)Cannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.09Personal history of other diseases of the respiratory systemCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.1 Personal history of diseases of the digestive system
Z87.11Personal history of peptic ulcer diseaseCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.19Personal history of other diseases of the digestive systemCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.2Personal history of diseases of the skin and subcutaneous tissueCMS: Personal history of diseases of the skin, subcuCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.3 Personal history of diseases of the musculoskeletal system and connective tissue
Z87.31 Personal history of (healed) nontraumatic fracture
Z87.310Personal history of (healed) osteoporosis fractureCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.311Personal history of (healed) other pathological fractureCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.312Personal history of (healed) stress fractureCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.39Personal history of other diseases of the musculoskeletal system and connective tissueCMS: Personal history of diseases of the ms sys and conn tissCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.4 Personal history of diseases of genitourinary system
Z87.41 Personal history of dysplasia of the female genital tract
Z87.410Personal history of cervical dysplasiaCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.411Personal history of vaginal dysplasiaCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.412Personal history of vulvar dysplasiaCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.42Personal history of other diseases of the female genital tractCMS: Personal history of oth diseases of the female genital tractCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.43 Personal history of diseases of male genital organs
Z87.430Personal history of prostatic dysplasiaCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.438Personal history of other diseases of male genital organsCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.44 Personal history of diseases of urinary system
Z87.440Personal history of urinary (tract) infectionsCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.441Personal history of nephrotic syndromeCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.442Personal history of urinary calculiCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.448Personal history of other diseases of urinary systemCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.5 Personal history of complications of pregnancy, childbirth and the puerperium
Z87.51Personal history of pre-term laborCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.59Personal history of other complications of pregnancy, childbirth and the puerperiumCMS: Personal history of comp of preg, chldbrth and the puerpCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.6 Personal history of certain (corrected) conditions arising in the perinatal period
Z87.61Personal history of (corrected) necrotizing enterocolitis of newbornCMS: Pers hx of (corrected) necrotizing enterocolitis of newbornCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.68Personal history of other (corrected) conditions arising in the perinatal periodCMS: Pers hx of other conditions arising in the perinatal periodCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.7 Personal history of (corrected) congenital malformations
Z87.71 Personal history of (corrected) congenital malformations of genitourinary system
Z87.710Personal history of (corrected) hypospadiasCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.718Personal history of other specified (corrected) congenital malformations of genitourinary systemCMS: Personal history of (corrected) congenital malform of GU sysCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.72 Personal history of (corrected) congenital malformations of nervous system and sense organs
Z87.720Personal history of (corrected) congenital malformations of eyeCMS: Personal history of (corrected) congenital malform of eyeCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.721Personal history of (corrected) congenital malformations of earCMS: Personal history of (corrected) congenital malform of earCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.728Personal history of other specified (corrected) congenital malformations of nervous system and sense organsCMS: Prsnl hx of congen malform of nervous sys and sense organsCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.73 Personal history of (corrected) congenital malformations of digestive system
Z87.730Personal history of (corrected) cleft lip and palateCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.731Personal history of (corrected) tracheoesophageal fistula or atresiaCMS: Pers hx of (corrected) tracheoesophageal fistula or atresiaCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.732Personal history of (corrected) persistent cloaca or cloacal malformationsCMS: Pers hx of (corrected) persistent cloaca or cloacal malformCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.738Personal history of other specified (corrected) congenital malformations of digestive systemCMS: Personal history of congenital malform of dgstv sysCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.74Personal history of (corrected) congenital malformations of heart and circulatory systemCMS: Personal history of congenital malform of heart and circ sysCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.75Personal history of (corrected) congenital malformations of respiratory systemCMS: Personal history of congenital malform of resp sysCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.76 Personal history of (corrected) congenital malformations of integument, limbs and musculoskeletal system
Z87.760Personal history of (corrected) congenital diaphragmatic hernia or other congenital diaphragm malformationsCMS: Pers hx congen diaphragm hernia/oth congen diaphragm malformCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.761Personal history of (corrected) gastroschisisCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.762Personal history of (corrected) prune belly malformationCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.763Personal history of other (corrected) congenital abdominal wall malformationsCMS: Pers hx of other (corrected) congenital abd wall malformCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.768Personal history of other specified (corrected) congenital malformations of integument, limbs and musculoskeletal systemCMS: Pers hx of oth congen malform of integument, lmbs and ms sysCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.79 Personal history of other (corrected) congenital malformations
Z87.790Personal history of (corrected) congenital malformations of face and neckCMS: Personal history of congenital malform of face and neckCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.798Personal history of other (corrected) congenital malformationsCMS: Personal history of oth (corrected) congenital malformationsCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.8 Personal history of other specified conditions
Z87.81Personal history of (healed) traumatic fractureCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.82 Personal history of other (healed) physical injury and trauma
Z87.820Personal history of traumatic brain injuryCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.821Personal history of retained foreign body fully removedCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.828Personal history of other (healed) physical injury and traumaCMS: Personal history of oth (healed) physical injury and traumaCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.89 Personal history of other specified conditions
Z87.890 Personal history of sex reassignment
Z87.8901Personal history of social gender transitionCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.8902Personal history of medical gender transitionCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.8903Personal history of surgical gender transitionCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.8904Personal history of intersex surgeryCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.8909Personal history of unspecified gender transitionCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.891Personal history of nicotine dependenceCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.892Personal history of anaphylaxisCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone
Z87.893Personal history of gender detransitionCannot lead a claimUnacceptable principal diagnosis, code is not reportable as principal diagnosisNoneNone
Z87.898Personal history of other specified conditionsCannot lead a claimPrincipal diagnosis not assigned to a clinical groupNoneNone

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