MedicalCoreCoding ICD-10-CM Explorer
FY2027 (October 1, 2026 release) effective from October 1, 2026 (end date set when the next release is published)
Change release or date of service

Releases: loading…

Z87 Personal history of other diseases and conditions

Not billable: has subcodes

Notes from higher levels

These apply to every code in Z87. They are shown here, at their own level, not copied onto codes.

From block Z77-Z99

Code also

  • any follow-up examination (Z08-Z09)

From chapter 21

Note

  • 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.

Codes in Z87

  • Z87 Personal history of other diseases and conditions Not billable: has subcodes

    Code first

    • any follow-up examination after treatment (Z09)
    • Z87.0 Personal history of diseases of the respiratory system Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to J00-J99
      • Z87.01 Personal history of pneumonia (recurrent) Billable
      • Z87.09 Personal history of other diseases of the respiratory system Billable
    • Z87.1 Personal history of diseases of the digestive system Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to K00-K93
      • Z87.11 Personal history of peptic ulcer disease Billable
      • Z87.19 Personal history of other diseases of the digestive system Billable
    • Z87.2 Personal history of diseases of the skin and subcutaneous tissue Billable

      Inclusion terms

      • Conditions classifiable to L00-L99

      Excludes2

      • personal history of diabetic foot ulcer (Z86.31)
    • Z87.3 Personal history of diseases of the musculoskeletal system and connective tissue Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to M00-M99

      Excludes2

      • personal history of (healed) traumatic fracture (Z87.81)
      • Z87.31 Personal history of (healed) nontraumatic fracture Not billable: has subcodes
        • Z87.310 Personal history of (healed) osteoporosis fracture Billable

          Inclusion terms

          • Personal history of (healed) fragility fracture
          • Personal history of (healed) collapsed vertebra due to osteoporosis
        • Z87.311 Personal history of (healed) other pathological fracture Billable

          Inclusion terms

          • Personal history of (healed) collapsed vertebra NOS

          Excludes2

          • personal history of osteoporosis fracture (Z87.310)
        • Z87.312 Personal history of (healed) stress fracture Billable

          Inclusion terms

          • Personal history of (healed) fatigue fracture
      • Z87.39 Personal history of other diseases of the musculoskeletal system and connective tissue Billable
    • Z87.4 Personal history of diseases of genitourinary system Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to N00-N99
      • Z87.41 Personal history of dysplasia of the female genital tract Not billable: has subcodes

        Excludes1

        • Z87.410 Personal history of cervical dysplasia Billable
        • Z87.411 Personal history of vaginal dysplasia Billable
        • Z87.412 Personal history of vulvar dysplasia Billable
      • Z87.42 Personal history of other diseases of the female genital tract Billable
      • Z87.43 Personal history of diseases of male genital organs Not billable: has subcodes
        • Z87.430 Personal history of prostatic dysplasia Billable

          Excludes1

          • personal history of malignant neoplasm of prostate (Z85.46)
        • Z87.438 Personal history of other diseases of male genital organs Billable
      • Z87.44 Personal history of diseases of urinary system Not billable: has subcodes

        Excludes1

        • personal history of malignant neoplasm of cervix uteri (Z85.41)
        • Z87.440 Personal history of urinary (tract) infections Billable
        • Z87.441 Personal history of nephrotic syndrome Billable
        • Z87.442 Personal history of urinary calculi Billable

          Inclusion terms

          • Personal history of kidney stones
        • Z87.448 Personal history of other diseases of urinary system Billable
    • Z87.5 Personal history of complications of pregnancy, childbirth and the puerperium Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to O00-O9A

      Excludes2

      • recurrent pregnancy loss (N96)
      • Z87.51 Personal history of pre-term labor Billable

        Excludes1

        • current pregnancy with history of pre-term labor (O09.21-)
      • Z87.59 Personal history of other complications of pregnancy, childbirth and the puerperium Billable

        Inclusion terms

        • Personal history of trophoblastic disease
    • Z87.6 Personal history of certain (corrected) conditions arising in the perinatal period Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to P00-P96

      Excludes1

      • personal history of (corrected) congenital malformations (Z87.7-)
      • Z87.61 Personal history of (corrected) necrotizing enterocolitis of newborn Billable
      • Z87.68 Personal history of other (corrected) conditions arising in the perinatal period Billable
    • Z87.7 Personal history of (corrected) congenital malformations Not billable: has subcodes

      Inclusion terms

      • Conditions classifiable to Q00-Q89 that have been repaired or corrected

      Excludes2

      • congenital malformations that have been partially corrected or repaired but which still require medical treatment - code to condition
      • other postprocedural states (Z98.-)
      • personal history of medical treatment (Z92.-)
      • presence of cardiac and vascular implants and grafts (Z95.-)
      • presence of other devices (Z97.-)
      • presence of other functional implants (Z96.-)
      • transplanted organ and tissue status (Z94.-)
      • Z87.71 Personal history of (corrected) congenital malformations of genitourinary system Not billable: has subcodes
        • Z87.710 Personal history of (corrected) hypospadias Billable
        • Z87.718 Personal history of other specified (corrected) congenital malformations of genitourinary system Billable
      • Z87.72 Personal history of (corrected) congenital malformations of nervous system and sense organs Not billable: has subcodes
        • Z87.720 Personal history of (corrected) congenital malformations of eye Billable
        • Z87.721 Personal history of (corrected) congenital malformations of ear Billable
        • Z87.728 Personal history of other specified (corrected) congenital malformations of nervous system and sense organs Billable
      • Z87.73 Personal history of (corrected) congenital malformations of digestive system Not billable: has subcodes
        • Z87.730 Personal history of (corrected) cleft lip and palate Billable
        • Z87.731 Personal history of (corrected) tracheoesophageal fistula or atresia Billable
        • Z87.732 Personal history of (corrected) persistent cloaca or cloacal malformations Billable
        • Z87.738 Personal history of other specified (corrected) congenital malformations of digestive system Billable
      • Z87.74 Personal history of (corrected) congenital malformations of heart and circulatory system Billable
      • Z87.75 Personal history of (corrected) congenital malformations of respiratory system Billable
      • Z87.76 Personal history of (corrected) congenital malformations of integument, limbs and musculoskeletal system Not billable: has subcodes
        • Z87.760 Personal history of (corrected) congenital diaphragmatic hernia or other congenital diaphragm malformations Billable
        • Z87.761 Personal history of (corrected) gastroschisis Billable
        • Z87.762 Personal history of (corrected) prune belly malformation Billable
        • Z87.763 Personal history of other (corrected) congenital abdominal wall malformations Billable
        • Z87.768 Personal history of other specified (corrected) congenital malformations of integument, limbs and musculoskeletal system Billable
      • Z87.79 Personal history of other (corrected) congenital malformations Not billable: has subcodes
        • Z87.790 Personal history of (corrected) congenital malformations of face and neck Billable
        • Z87.798 Personal history of other (corrected) congenital malformations Billable
    • Z87.8 Personal history of other specified conditions Not billable: has subcodes

      Excludes2

      • personal history of self harm (Z91.5-)
      • Z87.81 Personal history of (healed) traumatic fracture Billable

        Excludes2

        • personal history of (healed) nontraumatic fracture (Z87.31-)
      • Z87.82 Personal history of other (healed) physical injury and trauma Not billable: has subcodes

        Inclusion terms

        • Conditions classifiable to S00-T88, except traumatic fractures
        • Z87.820 Personal history of traumatic brain injury Billable

          Excludes1

          • personal history of transient ischemic attack (TIA), and cerebral infarction without residual deficits (Z86.73)
        • Z87.821 Personal history of retained foreign body fully removed Billable
        • Z87.828 Personal history of other (healed) physical injury and trauma Billable
      • Z87.89 Personal history of other specified conditions Not billable: has subcodes
        • Z87.890 Personal history of sex reassignment Not billable: has subcodes

          Inclusion terms

          • Personal history of gender transition
          • Z87.8901 Personal history of social gender transition Billable
          • Z87.8902 Personal history of medical gender transition Billable

            Inclusion terms

            • Personal history of pharmacological (hormonal) gender transition
          • Z87.8903 Personal history of surgical gender transition Billable
          • Z87.8904 Personal history of intersex surgery Billable
          • Z87.8909 Personal history of unspecified gender transition Billable
        • Z87.891 Personal history of nicotine dependence Billable

          Excludes1

          • current nicotine dependence (F17.2-)
        • Z87.892 Personal history of anaphylaxis Billable

          Code also

          • allergy status such as:
          • allergy status to drugs, medicaments and biological substances (Z88.-)
          • allergy status, other than to drugs and biological substances (Z91.0-)
        • Z87.893 Personal history of gender detransition Billable

          Code also

          • personal history of sex reassignment (Z87.890-)
        • Z87.898 Personal history of other specified conditions Billable