K87Billable, valid for claims from October 1, 2026

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

In Disorders of gallbladder, biliary tract and pancreas (K80-K87), chapter 11: Diseases of the Digestive System

  • K87 is billable and valid on claims for FY 2027. If the record has more detail, check the other codes under K80-K87 below.
  • As a secondary diagnosis it is not a CC or MCC, so it doesn't raise the MS-DRG payment.
  • Doesn't count toward a Medicare Advantage risk score (no HCC in V28).
  • AHRQ's Chronic Condition Indicator classes it as not chronic (an acute or short-term condition).
  • Can't be the principal diagnosis: code the underlying condition first. (Manifestation list)

Also indexed as: Disorder, gallbladder, biliary tract and pancreas in diseases classified elsewhere

Advertisements

Instructional notes

Excludes1: not coded here, use a different code

  • cytomegaloviral pancreatitis (B25.2)
  • mumps pancreatitis (B26.3)
  • syphilitic gallbladder (A52.74)
  • syphilitic pancreas (A52.74)
  • tuberculosis of gallbladder (A18.83)
  • tuberculosis of pancreas (A18.83)

Code first: code the underlying condition first, then this code

  • underlying disease

Official coding guidelines

From the ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027 (CMS and NCHS). Links open the PDF at the right page.

There are no chapter-specific rules for Chapter 11 yet, so the general rules in Section I.B apply.

Read Section I.C.11 (page 58)

Other codes under K80-K87

Disorders of gallbladder, biliary tract and pancreas (K80-K87)

K87 MS-DRGs

As the principal diagnosis, K87 groups to MS-DRG 444, 445, or 446 (v44.0). Which one applies depends on procedures performed, secondary diagnoses (CC/MCC), and the patient's age and discharge status.

Related conditions

Grouped by AHRQ's Clinical Classifications Software Refined (CCSR), which sorts every diagnosis code into clinically meaningful categories.

K87 is in Biliary tract disease (DIG017), with 65 codes. Others in it:

  • K56.3 Gallstone ileus
  • K80.00 Calculus of gallbladder with acute cholecystitis without obstruction
  • K80.01 Calculus of gallbladder with acute cholecystitis with obstruction
  • K80.10 Calculus of gallbladder with chronic cholecystitis without obstruction
  • K80.11 Calculus of gallbladder with chronic cholecystitis with obstruction
  • K80.12 Calculus of gallbladder with acute and chronic cholecystitis without obstruction
  • K80.13 Calculus of gallbladder with acute and chronic cholecystitis with obstruction
  • K80.18 Calculus of gallbladder with other cholecystitis without obstruction

Medicare coverage articles listing K87

These 9 Medicare billing and coding articles list K87 as a diagnosis that supports medical necessity for the services they cover. From the CMS Medicare Coverage Database; check your own contractor's article before billing.

About the condition

Plain-language background from MedlinePlus (National Library of Medicine), not coding guidance.

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.

Read more about bile duct diseases on 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.

Read more about gallbladder diseases on MedlinePlus

Code history

Valid since FY2016, when ICD-10-CM took effect on October 1, 2015. No changes since.

ICD-9-CM equivalent

Legacy crosswalk from the CMS General Equivalence Mappings (last updated 2018).

  • 576.8 Other specified disorders of biliary tract (approximate)
  • 577.8 Other specified diseases of pancreas (approximate)
ICD-9 to ICD-10 converter