ICD-10-CM 2027 diagnosis code
K87Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere
K87 is a valid, billable ICD-10-CM code for disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.Short description: Disord of GB, biliary trac and pancreas in dis classd elswhr
Code unchanged since ICD-10-CM took effect on October 1, 2015. Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About K87
K87 is the ICD-10-CM diagnosis code for disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. It belongs to block K80-K87 (disorders of gallbladder, biliary tract and pancreas) and chapter 11 (diseases of the digestive system). It is billable, so it can be reported on its own for dates of service from October 1, 2026 through September 30, 2027.
Don't report K87 together with the conditions in its Excludes1 note: cytomegaloviral pancreatitis (B25.2), mumps pancreatitis (B26.3), syphilitic gallbladder (A52.74), syphilitic pancreas (A52.74) and 2 more.
Code first: underlying disease.
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 444 (Disorders of the Biliary Tract with MCC, relative weight 1.6665), DRG 445 (Disorders of the Biliary Tract with CC, relative weight 1.0872) and DRG 446 (Disorders of the Biliary Tract without CC/MCC, relative weight 0.8124), in MDC 07 (Diseases and Disorders of the Hepatobiliary System and Pancreas), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
It is a manifestation code, so it describes the effect of an underlying disease and can't be the principal diagnosis. Code the underlying condition first.
It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.
Before ICD-10, this condition was coded in ICD-9-CM as 576.8 (other specified disorders of biliary tract) and 577.8 (other specified diseases of pancreas).
Coding notes
- underlying disease
Notes that apply from higher levels
Instructions written at a parent level also apply to K87.
Broader instructions also apply from Chapter 11: Diseases of the digestive system.
Alphabetic index entries
1 entriesTerms in the official ICD-10-CM index that lead to K87.
MS-DRG v44.0 grouping
All DRGs →Inpatient MS-DRGs this diagnosis can group to, as the principal or a secondary diagnosis, depending on the rest of the claim.
MDC 07 · Diseases and Disorders of the Hepatobiliary System and Pancreas
ICD-9-CM equivalent
Converter →- 576.8Other specified disorders of biliary tractapproximate
- 577.8Other specified diseases of pancreasapproximate
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- No changes since FY2016.
Common questions about K87
Is K87 billable?
- Yes. K87 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can K87 be used as a principal diagnosis?
- No. It is a manifestation code, so it describes the effect of an underlying disease and can't be the principal diagnosis. Code the underlying condition first.
Is K87 a CC or MCC?
- No. K87 is neither a CC nor an MCC under MS-DRG v44.0.
What DRG does K87 group to?
- K87 is used in the MS-DRG v44.0 logic for MS-DRG 444 (Disorders of the Biliary Tract with MCC), MS-DRG 445 (Disorders of the Biliary Tract with CC) and MS-DRG 446 (Disorders of the Biliary Tract without CC/MCC). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.
What is the ICD-9 code for K87?
- The CMS General Equivalence Mappings map K87 to ICD-9-CM 576.8 and 577.8.