K87

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

FY2027Chapter 11: Diseases of the digestive system/K80–K87 Disorders of gallbladder, biliary tract and pancreas

BillableComplete code, valid to report

K87 is a billable ICD-10-CM diagnosis code for disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. It is part of the FY2027 code set, effective October 1, 2026. The Alphabetic Index lists it under 1 entry. Its coding notes include a Code first instruction, 6 Excludes1 entries and 8 Excludes2 entries.

Code first

If the underlying condition listed here is present and known, sequence it first.

This code
  • underlying disease

Excludes1

Not coded here. The listed conditions generally should not be reported together.

This 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)

Excludes2

Not included here. Both codes may be reported if the patient has both conditions.

Also from chapter/block level (8 notes)
Inherited from Chapter 11 Diseases of the digestive system
  • certain conditions originating in the perinatal period (P04-P96)
  • certain infectious and parasitic diseases (A00-B99)
  • complications of pregnancy, childbirth and the puerperium (O00-O9A)
  • congenital malformations, deformations and chromosomal abnormalities (Q00-Q99)
  • endocrine, nutritional and metabolic diseases (E00-E88)
  • injury, poisoning and certain other consequences of external causes (S00-T88)
  • neoplasms (C00-D49)
  • symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (R00-R94)

Care settings

How CMS programs treat this code. These are CMS claim edits and list entries, not coverage or eligibility rules.

Hospice: not accepted as primary

Not accepted as the principal diagnosis on a hospice claim (bill types 081x and 082x). The Integrated OCE returns an edit for this code.
Reason: Manifestation code. Report the underlying condition first (see the Code first note).

Source: CMS Integrated Outpatient Code Editor (IOCE) v27.3, effective October 1, 2026, edit 86

Alphabetic Index terms

Terms the official Alphabetic Index lists for this code. 1 entry