2021 ICD-10-CM Code K87

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

Version 2021

Valid for Submission

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 K87 is valid during the fiscal year 2021 from October 01, 2020 through September 30, 2021 for the submission of HIPAA-covered transactions.

ICD-10:K87
Short Description:Disord of GB, biliary trac and pancreas in dis classd elswhr
Long Description:Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere

Code Classification

Tabular List of Diseases and Injuries

The Tabular List of Diseases and Injuries is a list of ICD-10 codes, organized "head to toe" into chapters and sections with coding notes and guidance for inclusions, exclusions, descriptions and more. The following references are applicable to the code K87:


Code First

Code First
Certain conditions have both an underlying etiology and multiple body system manifestations due to the underlying etiology. For such conditions, the ICD-10-CM has a coding convention that requires the underlying condition be sequenced first followed by the manifestation. Wherever such a combination exists, there is a "use additional code" note at the etiology code, and a "code first" note at the manifestation code. These instructional notes indicate the proper sequencing order of the codes, etiology followed by manifestation.

Type 1 Excludes

Type 1 Excludes
A type 1 excludes note is a pure excludes note. It means "NOT CODED HERE!" An Excludes1 note indicates that the code excluded should never be used at the same time as the code above the Excludes1 note. An Excludes1 is used when two conditions cannot occur together, such as a congenital form versus an acquired form of the same condition.

Index to Diseases and Injuries

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

Code Edits

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

Convert K87 to ICD-9 Code

The General Equivalency Mapping (GEM) crosswalk indicates an approximate mapping between the ICD-10 code K87 its ICD-9 equivalent. The approximate mapping means there is not an exact match between the ICD-10 code and the ICD-9 code and the mapped code is not a precise representation of the original code.

Information for Patients


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:

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

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 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 (First year ICD-10-CM implemented into the HIPAA code set)