2025 ICD-10-CM Diagnosis Code K87

Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere

ICD-10-CM Code:
K87
ICD-10 Code for:
Disord of GB, biliary trac and pancreas in dis classd elswhr
Is Billable?
Yes - Valid for Submission
Chronic Condition Indicator: [1]
Not chronic
Code Navigator:

K87 is a billable diagnosis code used to specify a medical diagnosis of disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. The code is valid during the current fiscal year for the submission of HIPAA-covered transactions from October 01, 2024 through September 30, 2025.

Code Classification

  • Diseases of the digestive system
    K00–K95
    • Disorders of gallbladder, biliary tract and pancreas
      K80-K87
      • Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere
        K87

Clinical Classification

Clinical Classifications group individual ICD-10-CM diagnosis codes into broader, clinically meaningful categories. These categories help simplify complex data by organizing related conditions under common clinical themes.

They are especially useful for data analysis, reporting, and clinical decision-making. Even when diagnosis codes differ, similar conditions can be grouped together based on their clinical relevance. Each category is assigned a unique CCSR code that represents a specific clinical concept, often tied to a body system or medical specialty.

Biliary tract disease

CCSR Code: DIG017

Inpatient Default: X - Not applicable.

Outpatient Default: X - Not applicable.

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 errors and inconsistencies in ICD-10-CM diagnosis coding that can affect Medicare claim validity. These Medicare code edits help medical coders and billing professionals determine when a diagnosis code is not appropriate as a principal diagnosis, does not meet coverage criteria. Use this list to verify whether a code is valid for Medicare billing and to avoid claim rejections or denials due to diagnosis coding issues.

Manifestation diagnoses

Manifestation codes describe the manifestation of an underlying disease, not the disease itself, and therefore should not be used as a principal diagnosis.

Convert K87 to ICD-9-CM

Below are the ICD-9 codes that most closely match this ICD-10 code, based on the General Equivalence Mappings (GEMs). This ICD-10 to ICD-9 crosswalk tool is helpful for coders who need to reference legacy diagnosis codes for audits, historical claims, or approximate code comparisons.

Dis of biliary tract NEC

ICD-9-CM: 576.8

Approximate Flag - The approximate mapping means this ICD-10 code does not have an exact ICD-9 equivalent. The matched code is the closest available option, but it may not fully capture the original diagnosis or clinical intent.

Pancreatic disease NEC

ICD-9-CM: 577.8

Approximate Flag - The approximate mapping means this ICD-10 code does not have an exact ICD-9 equivalent. The matched code is the closest available option, but it may not fully capture the original diagnosis or clinical intent.

Patient Education


Bile Duct Diseases

Your liver makes a digestive juice called bile. Your gallbladder stores it between meals. When you eat, your gallbladder pushes the bile into tubes called bile ducts. They carry the bile to your small intestine. The bile helps break down fat. It also helps the liver get rid of toxins and wastes.

Different diseases can block the bile ducts and cause a problem with the flow of bile:

  • Gallstones, which can increase pressure in the gallbladder and cause a gallbladder attack. The pain usually lasts from one to several hours.
  • Cancer
  • Infections
  • Birth defects, such as biliary atresia. It is the most common reason for liver transplants in children in the United States.
  • Inflammation, which can cause scarring. Over time, this can lead to liver failure.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Gallbladder Diseases

Your gallbladder is a pear-shaped organ under your liver. It stores bile, a fluid made by your liver to digest fat. As your stomach and intestines digest food, your gallbladder releases bile through a tube called the common bile duct. The duct connects your gallbladder and liver to your small intestine.

Your gallbladder is most likely to give you trouble if something blocks the flow of bile through the bile ducts. That is usually a gallstone. Gallstones form when substances in bile harden. Rarely, you can also get cancer in your gallbladder.

Many gallbladder problems get better with removal of the gallbladder. Fortunately, you can live without a gallbladder. Bile has other ways of reaching your small intestine.


[Learn More in MedlinePlus]

Pancreatic Diseases

The pancreas is a gland behind your stomach and in front of your spine. It produces juices that help break down food and hormones that help control blood sugar levels. Problems with the pancreas can lead to many health problems. These include:

  • Pancreatitis, or inflammation of the pancreas: This happens when digestive enzymes start digesting the pancreas itself
  • Pancreatic cancer
  • Cystic fibrosis, a genetic disorder in which thick, sticky mucus can also block tubes in your pancreas

The pancreas also plays a role in diabetes. In type 1 diabetes, the beta cells of the pancreas no longer make insulin because the body's immune system has attacked them. In type 2 diabetes, the pancreas loses the ability to secrete enough insulin in response to meals.


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

Footnotes

[1] Not chronic - A diagnosis code that does not fit the criteria for chronic condition (duration, ongoing medical treatment, and limitations) is considered not chronic. Some codes designated as not chronic are acute conditions. Other diagnosis codes that indicate a possible chronic condition, but for which the duration of the illness is not specified in the code description (i.e., we do not know the condition has lasted 12 months or longer) also are considered not chronic.