2027 ICD-10-CM Diagnosis Code K87Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere
ICD-10-CM Codes›K00–K95›K80-K87›K87
- Billable — Valid for Submission
- Not Chronic
K87 is a billable ICD-10-CM diagnosis code for disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 444 through 446. The code is a manifestation code that cannot be reported as the principal diagnosis. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Biliary tract disease.
K87 does not risk-adjust for Medicare Advantage under the CMS-HCC V28 model. It still risk-adjusts in the RxHCC Part D (V08) category 66 for payment year 2027.
Code Identity
Code Classification
Code EditsBilling
Medicare Code Editor checks that affect claim validity for K87.
Medicare Risk Adjustment (HCC)Billing
K87 does not risk-adjust for Medicare Advantage under the CMS-HCC V28 model, but it maps to payment categories in the other CMS models shown below.
Source: CMS Payment Year 2027 risk adjustment mappings and model software. Weights are relative factors, not dollar amounts; a beneficiary's total RAF also includes demographics and interactions. Browse all CMS-HCC categories.
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to K87: its own notes plus those printed at Chapter 11. A note printed at a category, block or chapter applies to every code under it.
Excludes1
Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.
Excludes2
Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.
- 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)
Code First
The underlying condition named in the note is sequenced before this code.
- underlying disease
Source: CMS ICD-10-CM Tabular List. How to read instructional notes.
Index to Diseases and InjuriesGuidance
Alphabetical index entries that point to this code.
Disorder (of) See Also: Disease;
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Patient EducationClinical
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 the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert K87 to ICD-9-CMHistory
Code HistoryHistory
Questions About K87Overview
Is K87 a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What MS-DRG does K87 group to?
On inpatient claims, disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere maps to MS-DRG 444, 445, 446, with relative weights from 0.8121 to 1.6662 depending on complications. Higher weights mean higher Medicare reimbursement.
Can K87 be a principal diagnosis?
No. This is a manifestation code: disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere describes the manifestation of an underlying disease rather than the disease itself, so the underlying condition is sequenced first.
Can K87 be reported with B25.2?
Not as a rule. The Excludes1 note on K87 lists "cytomegaloviral pancreatitis (B25.2)". An Excludes1 note means the excluded code is never reported together with this one; the only exception is when the two conditions are unrelated to each other (Official Guidelines, Section I.A.12.a).
What is coded first with K87?
The Code First note reads: underlying disease. When one of these applies, it is sequenced before K87.
Does K87 risk-adjust for Medicare Advantage payment?
Not for Medicare Advantage: K87 maps to no category in the CMS-HCC V28 model. It still risk-adjusts in the RxHCC Part D (V08) category 66 (Pancreatic Disorders and Intestinal Malabsorption, Except Pancreatitis).