4.4 Gastrointestinal Bleeding, Ulcers, and Acute Abdominal Pathologies
Key Takeaways
- Gastrointestinal hemorrhage symptom codes (hematemesis K92.0, melena K92.1, unspecified GI bleed K92.2) cannot be assigned when an underlying GI lesion with bleeding (e.g., bleeding peptic ulcer, bleeding diverticulosis, bleeding angiodysplasia) is clinically established.
- Peptic ulcer disease (categories K25–K28) requires specific anatomical classification (gastric, duodenal, peptic, gastrojejunal) and combination codes capturing acuity (acute vs. chronic) and complications (hemorrhage, perforation, or both).
- Acute pancreatitis (category K85) is classified by etiology and by necrosis or infection. CMS MS-DRG v43.1 designates the K85.- codes as MCCs when secondary, subject to exclusions and full grouper logic; verify the applicable version.
- Intestinal obstruction (category K56) distinguishes mechanical obstruction (postoperative peritoneal adhesions K56.50–K56.52, volvulus K56.2) from non-mechanical paralytic ileus (K56.0), while diverticular disease mandates combo codes for acute diverticulitis with perforation/abscess versus diverticular hemorrhage.
4.4 Gastrointestinal Bleeding, Ulcers, and Acute Abdominal Pathologies
Quick Summary: Acute gastrointestinal and abdominal pathologies represent high-volume inpatient admissions requiring precise clinical differentiation. On the AHIMA CCS examination, coders must master the coding conventions governing gastrointestinal hemorrhage symptom codes versus definitive bleeding sources, navigate peptic ulcer combination codes across categories K25–K28, correctly assign etiology- and complication-specific acute pancreatitis codes under category K85, and distinguish mechanical from functional bowel obstructions.
Gastrointestinal Hemorrhage Mechanics & Causal Linkage Rules
Gastrointestinal (GI) bleeding is classified anatomically into Upper GI bleeding (proximal to the ligament of Treitz) and Lower GI bleeding (distal to the ligament of Treitz).
+-------------------------------------------------------------------------+
| GI HEMORRHAGE CODING PRINCIPLES |
+-------------------------------------------------------------------------+
| SYMPTOM CODES (CATEGORY K92): |
| - K92.0: Hematemesis (Vomiting bright red blood or "coffee-grounds") |
| - K92.1: Melena (Black, tarry, foul-smelling stools) |
| - K92.2: Gastrointestinal hemorrhage, unspecified (Hematochezia NOS) |
+-------------------------------------------------------------------------+
| THE CAUSAL LINKAGE RULE (Coding Clinic / Section I.B.18): |
| -> When an EGD, colonoscopy, or clinical evaluation identifies a |
| definitive bleeding lesion (e.g., bleeding duodenal ulcer, bleeding |
| colonic diverticulum, bleeding angiodysplasia, bleeding varices): |
| CODE THE DEFINITIVE BLEEDING CONDITION COMBINATION CODE ONLY! |
| DO NOT ASSIGN K92.0, K92.1, OR K92.2 AS SECONDARY CODES. |
+-------------------------------------------------------------------------+
1. Common Upper Gastrointestinal Bleeding Sources
- Bleeding Esophageal Varices: In patients with cirrhotic portal hypertension (
K74.-+K76.6), bleeding varices are coded toI85.01(Esophageal varices with bleeding) orI85.11(Secondary esophageal varices with bleeding). Sequence the underlying liver cirrhosis or portal hypertension first, followed byI85.01/I85.11. - Mallory-Weiss Syndrome (
K22.6): Gastroesophageal mucosal laceration with bleeding resulting from severe retching or vomiting. CodeK22.6encompasses the hemorrhage. - Dieulafoy Lesion (
K31.811): Large, tortuous submucosal arteriole eroding through mucosal surface; assignK31.811(Dieulafoy lesion of stomach and duodenum with bleeding). - Gastric Antral Vascular Ectasia (GAVE /
K31.82): "Watermelon stomach"; assignK31.82(Gastric antral vascular ectasia), which includes with or without bleeding.
2. Common Lower Gastrointestinal Bleeding Sources
- Diverticular Hemorrhage:
- Diverticulosis of large intestine with hemorrhage:
K57.31 - Diverticulitis of large intestine with hemorrhage:
K57.33 - Diverticulosis of small intestine with hemorrhage:
K57.11
- Diverticulosis of large intestine with hemorrhage:
- Angiodysplasia of Colon:
K55.21(Angiodysplasia of colon with hemorrhage). - Ischemic Colitis with Hemorrhage:
K55.031–K55.039(Acute ischemic colitis with hemorrhage).
Peptic Ulcer Disease (Categories K25–K28)
ICD-10-CM organizes Peptic Ulcer Disease (PUD) into four anatomically distinct categories:
K25: Gastric ulcer (Stomach ulcer)K26: Duodenal ulcerK27: Peptic ulcer, site unspecifiedK28: Gastrojejunal ulcer (Marginal ulcer, stomal ulcer, anastomotic ulcer)
Combination Subcategories for Acuity and Complications
Each category utilizes identical 4th-character subcategories to capture the presence of acute bleeding, perforation, or both:
| Subcategory | Clinical Classification | MS-DRG CC / MCC Designation |
|---|---|---|
.0 | Acute with hemorrhage (e.g., K25.0 Acute gastric ulcer with hemorrhage) | CC |
.1 | Acute with perforation (e.g., K26.1 Acute duodenal ulcer with perforation) | MCC |
.2 | Acute with both hemorrhage and perforation (e.g., K25.2) | MCC |
.3 | Acute without hemorrhage or perforation (e.g., K26.3) | Non-CC |
.4 | Chronic with hemorrhage (e.g., K25.4 Chronic gastric ulcer with hemorrhage) | CC |
.5 | Chronic with perforation (e.g., K26.5 Chronic duodenal ulcer with perforation) | MCC |
.6 | Chronic with both hemorrhage and perforation (e.g., K25.6) | MCC |
.7 | Chronic without hemorrhage or perforation (e.g., K26.7) | Non-CC |
.9 | Unspecified as acute or chronic, without hemorrhage or perforation | Non-CC |
Acute-on-Chronic Peptic Ulcers
When the physician documents "acute and chronic peptic ulcer with hemorrhage" or "acute-on-chronic bleeding duodenal ulcer":
- Per ICD-10-CM Alphabetic Index and Tabular rules, acute takes precedence over chronic. Assign the code for acute with hemorrhage (
K26.0). Do not code both the acute (K26.0) and chronic (K26.4) codes for the same anatomical ulcer.
Acute Pancreatitis (Category K85)
Acute Pancreatitis is an acute inflammatory process of the pancreas characterized by premature intrapancreatic activation of digestive zymogens (trypsinogen) causing autodigestion of pancreatic parenchyma and peripancreatic tissues.
+-------------------------------------------------------------------------+
| ACUTE PANCREATITIS (CATEGORY K85) GRID |
+-------------------------------------------------------------------------+
| ETIOLOGY SUBCATEGORIES: |
| - K85.0-: Idiopathic acute pancreatitis |
| - K85.1-: Biliary acute pancreatitis (Gallstone pancreatitis) |
| - K85.2-: Alcohol-induced acute pancreatitis |
| - K85.3-: Drug-induced acute pancreatitis |
| - K85.8-: Other acute pancreatitis (Post-ERCP, hypertriglyceridemic) |
| - K85.9-: Acute pancreatitis, unspecified |
+-------------------------------------------------------------------------+
| 5TH/6TH CHARACTER SEVERITY & LOCAL COMPLICATIONS: |
| - .x0: Acute pancreatitis without necrosis or infection |
| - .x1: Acute pancreatitis with uninfected necrosis |
| - .x2: Acute pancreatitis with infected necrosis |
+-------------------------------------------------------------------------+
Severity note: In the reviewed FY 2026 MS-DRG v43.1 list, K85.- codes are MCCs when reported as secondary diagnoses, subject to exclusions and complete grouper logic; necrosis/infection specificity remains clinically and coding-relevant but does not alone define that version’s severity tier.
1. Etiologic Coding & Secondary Assignments
- Biliary Pancreatitis (
K85.1-): Resulting from gallstones transiently or persistently obstructing the ampulla of Vater. AssignK85.10–K85.12, and assign also the underlying cholelithiasis code (e.g.,K80.00Calculus of gallbladder with acute cholecystitis orK80.20Calculus of gallbladder without cholecystitis). - Alcohol-Induced Pancreatitis (
K85.2-): AssignK85.20–K85.22. Per Tabular List notes, assign also an additional code for alcohol abuse or dependence (F10.-). - Drug-Induced Pancreatitis (
K85.3-): Common causative agents include azathioprine, 6-mercaptopurine, didanosine, valproic acid, and thiazide diuretics. SequenceK85.3-first, followed by the adverse effect code from Chapter 19 (T36–T50).
2. Pancreatic Local Complications
- Pancreatic Pseudocyst (
K86.3): An encapsulated fluid collection with a well-defined fibrous wall occurring $>4$ weeks after the onset of interstitial edematous pancreatitis. CodeK86.3as an additional comorbidity. - Infected Pancreatic Necrosis (
.x2): Pancreatic or peripancreatic tissue necrosis superinfected with bacteria or fungi. Assigned as a 5th/6th character2(e.g.,K85.02Idiopathic acute pancreatitis with infected necrosis), which is an MCC in reviewed v43.1, as are the other K85.- codes, subject to exclusions and complete grouper logic.
Intestinal Obstruction (Category K56) & Diverticular Disease
1. Mechanical vs. Functional Bowel Obstruction
- Postoperative Peritoneal Adhesions with Obstruction: The leading cause of mechanical small bowel obstruction (SBO) in patients with prior abdominopelvic surgery.
K56.50: Intestinal adhesions [bands] with obstruction, unspecifiedK56.51: Intestinal adhesions [bands] with complete obstructionK56.52: Intestinal adhesions [bands] with partial obstruction
- Other Mechanical Obstructions: Volvulus (
K56.2), Intussusception (K56.1), Gallstone ileus (K56.3mechanical obstruction from an impacted gallstone; not a paralytic ileus). - Paralytic / Adynamic Ileus (
K56.0): Neurogenic failure of peristalsis without mechanical lumen blockage. CodeK56.0(Paralytic ileus). If documented as routine temporary postoperative ileus, it is generally considered an expected postoperative state and not coded unless it persists beyond normal postoperative duration and requires intervention.
2. Diverticular Disease of Intestine (Category K57)
Category K57 utilizes combination codes capturing anatomical location (small intestine K57.0-/K57.1-, large intestine K57.2-/K57.3-), inflammation status (diverticulosis vs. diverticulitis), and acute complications (perforation, abscess, or hemorrhage):
| Clinical Condition | Large Intestine Code | Small Intestine Code |
|---|---|---|
| Diverticulitis with perforation / abscess, without bleeding | K57.20 (MCC) | K57.00 (MCC) |
| Diverticulitis with perforation / abscess, with bleeding | K57.21 (MCC) | K57.01 (MCC) |
| Diverticulitis without perforation / abscess, without bleeding | K57.32 (CC) | K57.12 (CC) |
| Diverticulitis without perforation / abscess, with bleeding | K57.33 (CC) | K57.13 (CC) |
| Diverticulosis without diverticulitis, with bleeding | K57.31 (CC) | K57.11 (CC) |
| Diverticulosis without diverticulitis, without bleeding | K57.30 (Non-CC) | K57.10 (Non-CC) |
A 52-year-old male presents to the Emergency Department with severe coffee-ground emesis and melena. Emergent esophagogastroduodenoscopy (EGD) reveals a 2.0 cm acute gastric body ulcer with an actively spurting visible vessel, successfully treated with endoscopic thermal coagulation and hemoclip placement. In the duodenum, the gastroenterologist notes a separate, shallow chronic duodenal ulcer without active bleeding or stigmata of recent hemorrhage. The physician documents: 'Acute upper GI hemorrhage secondary to acute bleeding gastric ulcer; stable chronic duodenal ulcer without bleeding.' Which code assignment is correct?
A 49-year-old female presents with severe epigastric pain radiating to the back, nausea, and vomiting. Serum lipase is 1,850 U/L (markedly elevated). Right upper quadrant ultrasound demonstrates multiple gallstones in the gallbladder with gallbladder wall thickening and pericholecystic fluid, consistent with acute cholecystitis. Abdominal contrast CT confirms acute interstitial pancreatitis with peripancreatic stranding without necrosis. The physician documents: 'Acute gallstone pancreatitis with acute cholecystitis and cholelithiasis.' What is the appropriate ICD-10-CM code assignment and sequencing?
A 44-year-old female who underwent an open total abdominal hysterectomy 5 years ago presents with obstipation, severe crampy abdominal pain, vomiting, and abdominal distension. Abdominal CT demonstrates high-grade small bowel obstruction with a clear transition point in the ileum due to postoperative adhesive bands. She is taken for emergent exploratory laparotomy with lysis of extensive peritoneal adhesions. The surgeon documents: 'Complete acute mechanical small bowel obstruction secondary to dense postoperative peritoneal adhesions.' Which ICD-10-CM code should be assigned as principal diagnosis?