2024 ICD-10-CM Diagnosis Code Z87.11

Personal history of peptic ulcer disease

ICD-10-CM Code:
Z87.11
ICD-10 Code for:
Personal history of peptic ulcer disease
Is Billable?
Yes - Valid for Submission
Code Navigator:

Code Classification

  • Factors influencing health status and contact with health services
    (Z00–Z99)
    • Persons with potential health hazards related to family and personal history and certain conditions influencing health status
      (Z77-Z99)
      • Personal history of other diseases and conditions
        (Z87)

Z87.11 is a billable diagnosis code used to specify a medical diagnosis of personal history of peptic ulcer disease. The code is valid during the current fiscal year for the submission of HIPAA-covered transactions from October 01, 2023 through September 30, 2024. The code is exempt from present on admission (POA) reporting for inpatient admissions to general acute care hospitals.

This code describes a circumstance which influences the patient's health status but not a current illness or injury. The code is unacceptable as a principal diagnosis.

Approximate Synonyms

The following clinical terms are approximate synonyms or lay terms that might be used to identify the correct diagnosis code:

  • H/O: duodenal ulcer
  • H/O: gastric ulcer
  • H/O: gastric ulcer
  • H/O: peptic ulcer
  • H/O: peptic ulcer
  • Healed gastric ulcer
  • Healed gastric ulcer leaving a scar
  • History of gastrojejunal ulcer

Clinical Classification

Index to Diseases and Injuries References

The following annotation back-references for this diagnosis code are found in the injuries and diseases index. The Index to Diseases and Injuries is an alphabetical listing of medical terms, with each term mapped to one or more ICD-10-CM code(s).

Code Edits

The Medicare Code Editor (MCE) detects and reports errors in the coding of claims data. The following ICD-10-CM Code Edits are applicable to this code:

  • Unacceptable principal diagnosis - There are selected codes that describe a circumstance which influences an individual's health status but not a current illness or injury, or codes that are not specific manifestations but may be due to an underlying cause. These codes are considered unacceptable as a principal diagnosis.

Present on Admission (POA)

Z87.11 is exempt from POA reporting - The Present on Admission (POA) indicator is used for diagnosis codes included in claims involving inpatient admissions to general acute care hospitals. POA indicators must be reported to CMS on each claim to facilitate the grouping of diagnoses codes into the proper Diagnostic Related Groups (DRG). CMS publishes a listing of specific diagnosis codes that are exempt from the POA reporting requirement. Review other POA exempt codes here.

CMS POA Indicator Options and Definitions

POA IndicatorReason for CodeCMS will pay the CC/MCC DRG?
YDiagnosis was present at time of inpatient admission.YES
NDiagnosis was not present at time of inpatient admission.NO
UDocumentation insufficient to determine if the condition was present at the time of inpatient admission.NO
WClinically undetermined - unable to clinically determine whether the condition was present at the time of inpatient admission.YES
1Unreported/Not used - Exempt from POA reporting. NO

Convert Z87.11 to ICD-9-CM

  • ICD-9-CM Code: V12.71 - Prsnl hst peptic ulcr ds

Patient Education


Peptic Ulcer

A peptic ulcer is a sore in the lining of your stomach or your duodenum, the first part of your small intestine. A burning stomach pain is the most common symptom. The pain:

  • Starts between meals or during the night
  • Briefly stops if you eat or take antacids
  • Lasts for minutes to hours
  • Comes and goes for several days or weeks

Peptic ulcers happen when the acids that help you digest food damage the walls of the stomach or duodenum. The most common cause is infection with a bacterium called Helicobacter pylori. Another cause is the long-term use of nonsteroidal anti-inflammatory medicines (NSAIDs) such as aspirin and ibuprofen. Stress and spicy foods do not cause ulcers, but can make them worse.

To see if you have an H. pylori infection, your doctor will test your blood, breath, or stool. Your doctor also may look inside your stomach and duodenum by doing an endoscopy or x-ray.

Peptic ulcers will get worse if not treated. Treatment may include medicines to reduce stomach acids or antibiotics to kill H. pylori. Antacids and milk can't heal peptic ulcers. Not smoking and avoiding alcohol can help. You may need surgery if your ulcers don't heal.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Code History

  • FY 2024 - No Change, effective from 10/1/2023 through 9/30/2024
  • FY 2023 - No Change, effective from 10/1/2022 through 9/30/2023
  • FY 2022 - No Change, effective from 10/1/2021 through 9/30/2022
  • FY 2021 - No Change, effective from 10/1/2020 through 9/30/2021
  • FY 2020 - No Change, effective from 10/1/2019 through 9/30/2020
  • FY 2019 - No Change, effective from 10/1/2018 through 9/30/2019
  • FY 2018 - No Change, effective from 10/1/2017 through 9/30/2018
  • FY 2017 - No Change, effective from 10/1/2016 through 9/30/2017
  • FY 2016 - New Code, effective from 10/1/2015 through 9/30/2016. This was the first year ICD-10-CM was implemented into the HIPAA code set.