Z87 ICD-10-CM Code: Personal history of other diseases and conditions
Billing Status: NO. This is a clinician non-billable / parent hierarchy grouping in the ICD-10-CM system.
Coding at a Glance
- Tabular directives
- 1 code-first instruction · 1 code-also instruction
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for Z87 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025
Notes without a marker are published on Z87 itself; “inherited from” names the category or block whose note applies here.
Code First
Underlying conditions that must be sequenced before this code.
- any follow-up examination after treatment (Z09)
Code Also
Additional codes that may be required to fully describe the encounter.
- any follow-up examination (Z08-Z09)
Source: inherited from Z77-Z99
Coder workflow for Z87
MedCoder structured workflow — derived from this code’s own official record
Before you code Z87
- Z87 is not reportable as written. Select the more specific code beneath it that the documentation supports. Codes are reported to the highest level of specificity the classification provides (Guidelines I.B.2).
ReviewZ87.0, Z87.1, Z87.2, Z87.3, Z87.4, Z87.5, Z87.6, Z87.7, Z87.8
See the relationships section · Guide: How to choose an ICD-10-CM code →
- Confirm the reason for the encounter this Z code records: a personal or family history — a condition no longer present or present in a relative — never a current condition. Check whether the code may be reported as first-listed or principal — some Z codes are limited to one position — and do not report a history or status code for a condition documented as current. Z code categories and their reporting positions (Guidelines I.C.21.c.4, I.C.21.c.15).
Choose the right path
- Does the documentation support one of the more specific codes beneath Z87?
Yes → Select that code and continue the checks below on its own page.
No → Z87 cannot be reported as written; query for the specificity its subcategory needs.ReviewZ87.0, Z87.1, Z87.2, Z87.3, Z87.4, Z87.5, Z87.6, Z87.7, Z87.8
- Is the underlying (etiologic) condition the Code First note names documented?
Yes → Sequence the underlying condition first, then Z87.
No → Continue; do not add an underlying condition the record does not document.ReviewZ09
Consider Z87. Then review the Code Also note, and confirm the code is valid for the date of service in the Verify section.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
- The underlying (etiologic) condition
- Named in the Code First note; sequenced before this code when documented (Guidelines I.A.13).
- The reason for the encounter
- Whether the code records the encounter’s purpose, a status, or a history — and whether it may be first-listed (Guidelines I.C.21.c).
Official instructions as workflow
Code First — sequencing check(1 note)
Coding workflow: Check whether the underlying or etiologic condition the note names is documented. When it is, sequence it before Z87. Do not add an underlying condition the record does not document.
ReviewZ09
See the official tabular notes · Guidelines I.A.13
Code Also — related condition(1 note)
Coding workflow: Review the related condition when both are documented and the instruction applies. A Code Also note does not fix sequencing; the order follows the circumstances of the encounter.
See the official tabular notes · Guidelines I.A.17
Coding decision scenarios
Pattern scenarios for this code’s structure — decision rules, not clinical cases
Documentation: The underlying condition the Code First note names is documented alongside this condition.
Coding question: How are the two sequenced?
Path: Review the Code First note.
Reason: The underlying condition is sequenced first and the manifestation follows (Guidelines I.A.13).
ReviewZ09
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Official Coding Guidelines
Official source data — quoted verbatim from the CMS/NCHS Official Guidelines
Official source data — quoted verbatim from the CMS/NCHS Official Guidelines
Verbatim excerpts from the ICD-10-CM Official Guidelines for Coding and Reporting (CMS/NCHS) that govern this code.
Chapter 21: Factors influencing health status and contact with health services (Z00-Z99)
The history Z code categories are: Z80 Family history of primary malignant neoplasm Z81 Family history of mental and behavioral disorders Z82 Family history of certain disabilities and chronic diseases (leading to disablement) Z83 Family history of other specific disorders Z84 Family history of other conditions Z85 Personal history of malignant neoplasm Z86 Personal history of certain other diseases Z87 Personal history of other diseases and conditions Z91.4- Personal history of psychological trauma, not elsewhere classified Z91.5- Personal history of self- harm Z91.81 History of falling Z91.82 Personal history of military deployment Z91.85 Personal history of military service Z92 Personal history of medical treatment Except: Z92.0, Personal history of contraception Except: Z92.82, Status post administration of tPA (rtPA) in a different facility within the last 24 hours prior to admission to a current facility
Verify Before Coding
From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.
Relationships & Classification
MedCoder structured relationships — computed from published CMS and AHRQ datasets
Other codes that name Z87 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.
Referenced by 1 Use Additional Code instruction: Z09 — Encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm.
These codes instruct coders to additionally report this code when it applies.
Contextual Map
Every relationship of Z87 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.
Run Z87 with these 2 related codes in Claim Check
Hierarchy
- Z00-Z99 — Chapter 21: Factors Influencing Health Status and Contact with Health Services (Z00-Z99) (Z00-Z99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z77-Z99 — Persons with potential health hazards related to family and personal history and certain conditions influencing health status[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Code First
- Z09 — Encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm[Code First]: “any follow-up examination after treatment (Z09)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Code Also
- Z08 — Encounter for follow-up examination after completed treatment for malignant neoplasm[Code Also]: “any follow-up examination (Z08-Z09)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- Z09 — Encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm[Code Also]: “any follow-up examination (Z08-Z09)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Use Additional Code instructions
- Z09 — Encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm[Use Additional Code]: “code to identify any applicable history of disease code (Z86.-, Z87.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Nearest codes (74)
- Z87.0 — Personal history of diseases of the respiratory system[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.01 — Personal history of pneumonia (recurrent)[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.09 — Personal history of other diseases of the respiratory system[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.1 — Personal history of diseases of the digestive system[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.11 — Personal history of peptic ulcer disease[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.19 — Personal history of other diseases of the digestive system[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.2 — Personal history of diseases of the skin and subcutaneous tissue[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- Z87.3 — Personal history of diseases of the musculoskeletal system and connective tissue[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- and 66 more
Change history
- FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016
Common coding questions
Can Z87 be billed directly?
No. Z87 (Personal history of other diseases and conditions) is a non-billable ICD-10-CM category code. A more specific billable subcode must be selected based on clinical documentation.
Sources for this page
Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.
- Code, title, tabular notes and index terms Official source data
- CMS/CDC ICD-10-CM FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
- Coding guidelines Official source data
- ICD-10-CM Official Guidelines for Coding and Reporting (FY2026), quoted by section Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v43.1 (April 2026) Release, file and checksum · Publisher’s page
- Change history and date-of-service validity Official source data
- CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
- Comparisons, relationships and the contextual map MedCoder structured relationship
- Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
- Summary and FAQ answers MedCoder explanation
- Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.
Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates
Cite this page
Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.
MedCoder.ai. "Z87 — Personal history of other diseases and conditions." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/z87-personal-history-of-other-diseases-and-conditions
Change history
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionPersonal history of other diseases and conditions
No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027 (effective October 1, 2026), and none are recorded for this code. Note changes are tracked from FY2027 only.
Nearest Codes in This Family
Official ICD-10-CM classifications closest to Z87 in its code family, with their registry titles.
- Z87.0 — Personal history of diseases of the respiratory system
- Z87.01 — Personal history of pneumonia (recurrent)
- Z87.09 — Personal history of other diseases of the respiratory system
- Z87.1 — Personal history of diseases of the digestive system
- Z87.11 — Personal history of peptic ulcer disease
- Z87.19 — Personal history of other diseases of the digestive system
- Z87.2 — Personal history of diseases of the skin and subcutaneous tissue
- 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
- Z87.311 — Personal history of (healed) other pathological fracture
- Z87.312 — Personal history of (healed) stress fracture
- Z87.39 — Personal history of other diseases of the musculoskeletal system and connective tissue
- 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
- Z87.411 — Personal history of vaginal dysplasia
- Z87.412 — Personal history of vulvar dysplasia
- Z87.42 — Personal history of other diseases of the female genital tract
- Z87.43 — Personal history of diseases of male genital organs
- Z87.430 — Personal history of prostatic dysplasia
- Z87.438 — Personal history of other diseases of male genital organs
- Z87.44 — Personal history of diseases of urinary system
- Z87.440 — Personal history of urinary (tract) infections
- Z87.441 — Personal history of nephrotic syndrome
- Z87.442 — Personal history of urinary calculi
- Z87.448 — Personal history of other diseases of urinary system
- Z87.5 — Personal history of complications of pregnancy, childbirth and the puerperium
- Z87.51 — Personal history of pre-term labor
- Z87.59 — Personal history of other complications of pregnancy, childbirth and the puerperium
- Z87.6 — Personal history of certain (corrected) conditions arising in the perinatal period
- Z87.61 — Personal history of (corrected) necrotizing enterocolitis of newborn
- Z87.68 — Personal history of other (corrected) conditions arising in the perinatal period
- 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
- Z87.718 — Personal history of other specified (corrected) congenital malformations of genitourinary system
- Z87.72 — Personal history of (corrected) congenital malformations of nervous system and sense organs
- Z87.720 — Personal history of (corrected) congenital malformations of eye
- Z87.721 — Personal history of (corrected) congenital malformations of ear
- Z87.728 — Personal history of other specified (corrected) congenital malformations of nervous system and sense organs
- Z87.73 — Personal history of (corrected) congenital malformations of digestive system
- Z87.730 — Personal history of (corrected) cleft lip and palate
- Z87.731 — Personal history of (corrected) tracheoesophageal fistula or atresia
- Z87.732 — Personal history of (corrected) persistent cloaca or cloacal malformations
- Z87.738 — Personal history of other specified (corrected) congenital malformations of digestive system
- Z87.74 — Personal history of (corrected) congenital malformations of heart and circulatory system
- Z87.75 — Personal history of (corrected) congenital malformations of respiratory system
- 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 malformations
- Z87.761 — Personal history of (corrected) gastroschisis
- Z87.762 — Personal history of (corrected) prune belly malformation
- Z87.763 — Personal history of other (corrected) congenital abdominal wall malformations
- Z87.768 — Personal history of other specified (corrected) congenital malformations of integument, limbs and musculoskeletal system
- Z87.79 — Personal history of other (corrected) congenital malformations
- Z87.790 — Personal history of (corrected) congenital malformations of face and neck
- Z87.798 — Personal history of other (corrected) congenital malformations
- Z87.8 — Personal history of other specified conditions
- Z87.81 — Personal history of (healed) traumatic fracture
- Z87.82 — Personal history of other (healed) physical injury and trauma
- Z87.820 — Personal history of traumatic brain injury
- Z87.821 — Personal history of retained foreign body fully removed
- Z87.828 — Personal history of other (healed) physical injury and trauma
- Z87.89 — Personal history of other specified conditions
- Z87.890 — Personal history of sex reassignment
- Z87.8901 — Personal history of social gender transition
- Z87.8902 — Personal history of medical gender transition
- Z87.8903 — Personal history of surgical gender transition
- Z87.8904 — Personal history of intersex surgery
- Z87.8909 — Personal history of unspecified gender transition
- Z87.891 — Personal history of nicotine dependence
- Z87.892 — Personal history of anaphylaxis
- Z87.893 — Personal history of gender detransition
- Z87.898 — Personal history of other specified conditions