Study guide

4.4 Gastrointestinal Bleeding, Ulcers, and Acute Abdominal Pathologies

AHIMA Certified Coding Specialist CCS

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: ICD-10-CM Diagnosis Coding Fundamentals & UHDDS Guidelines

1.1 ICD-10-CM Structure, Formats, and Core Conventions 1.2 UHDDS Principal Diagnosis Selection Rules 1.3 Secondary Diagnoses Reporting & Present on Admission (POA) Indicators

2 Chapter 2: Circulatory, Cardiac & Vascular Inpatient Coding

2.1 Hypertension, Hypertensive Heart & Chronic Kidney Disease, and CAD 2.2 Acute Myocardial Infarction (AMI) Types & Sequencing 2.3 Heart Failure Types, Acuity & Cardiomyopathy 2.4 Cerebrovascular Disease, Acute Stroke, and Late Effects

3 Chapter 3: Respiratory, Sepsis & Infectious Conditions Coding

3.1 Sepsis, Severe Sepsis, and Septic Shock Guidelines 3.2 Pneumonias, Aspiration Pneumonia, and Influenza 3.3 COPD, Asthma, and Acute Respiratory Failure

4 Chapter 4: Renal, Endocrine, Gastrointestinal & Nutritional Disorders

4.1 Acute Kidney Injury (AKI) & Chronic Kidney Disease (CKD) 4.2 Diabetes Mellitus Types, Manifestations & Complications 4.3 Protein-Calorie Malnutrition & Endocrine Emergencies 4.4 Gastrointestinal Bleeding, Ulcers, and Acute Abdominal Pathologies

5 Chapter 5: Neoplasms, Obstetrics, Perinatal, Injury & Trauma Coding

5.1 Neoplasm Table, Primary, Secondary & Encounters for Therapy 5.2 Obstetrics, Normal/Complicated Deliveries & Puerperium 5.3 Perinatal Conditions & Congenital Malformations 5.4 Traumatic Injuries, Fractures & 7th Character Extensions

6 Chapter 6: ICD-10-PCS Architecture, Conventions & Approaches

6.1 ICD-10-PCS 7-Character System Architecture & Conventions 6.2 ICD-10-PCS The Seven Surgical Approaches 6.3 General PCS Guidelines & Multiple Procedure Rules

7 Chapter 7: ICD-10-PCS Root Operations: Cutting Out, Taking Out & Altering Body Parts

7.1 Excision vs Resection vs Destruction 7.2 Extraction, Drainage, and Extirpation 7.3 Detachment & Amputation Coding 7.4 Release vs Division

8 Chapter 8: ICD-10-PCS Root Operations: Putting In, Putting Back & Moving Body Parts

8.1 Replacement vs Supplement vs Insertion 8.2 Reposition, Transfer, and Reattachment 8.3 Bypass, Dilation, Occlusion, and Restriction

9 Chapter 9: High-Volume Inpatient Surgical & Medical Procedures in ICD-10-PCS

9.1 Coronary Artery Bypass Grafting (CABG) & Percutaneous Coronary Interventions 9.2 Total Joint Arthroplasties & Spinal Fusion 9.3 Mechanical Ventilation & Extracorporeal Therapies

10 Chapter 10: Outpatient CPT & HCPCS Level II Coding & Modifiers

10.1 CPT Evaluation and Management (E/M) Guidelines 10.2 CPT Surgical, Radiology, Pathology & HCPCS Level II Coding 10.3 CPT Modifiers in Hospital Outpatient & Professional Coding

11 Chapter 11: Inpatient Record Review, Clinical Validation & Documentation Integrity

11.1 Inpatient Health Record Analysis & UHDDS Documentation Hierarchy 11.2 Clinical Validation of Diagnoses vs Coding Compliance 11.3 Identifying Reportable Secondary Conditions & Complications

12 Chapter 12: Compliant Provider Queries & AHIMA/ACDIS Standards

12.1 AHIMA/ACDIS Compliant Query Standards & Ethical Principles 12.2 Compliant Query Formats: Open-Ended, Multiple-Choice & Yes/No 12.3 High-Impact Clinical Query Scenarios & Provider Workflow

13 Chapter 13: Inpatient Prospective Payment System (IPPS) & MS-DRG Mechanics

13.1 IPPS Reimbursement Structure & MS-DRG Grouping Logic 13.2 Complications and Comorbidities (CC) & Major CC (MCC) Impact 13.3 All-Patient Refined DRG (APR-DRG) System 13.4 Inpatient Transfer Policies, Cost Outliers & Short-Stay Rules

14 Chapter 14: Outpatient Reimbursement, Coding Edits & Fraud/Abuse Compliance

14.1 Hospital Outpatient Prospective Payment System (OPPS) & APCs 14.2 National Correct Coding Initiative (NCCI) Edits & MUEs 14.3 Hospital-Acquired Conditions (HAC) Reduction & Quality Programs 14.4 Healthcare Fraud, Abuse Laws, Audits & AHIMA Ethical Standards

15 Chapter 15: Health Information Technology, CAC, Encoders & Data Security

15.1 Electronic Health Records (EHR) & Computer-Assisted Coding (CAC) 15.2 Logic-Based Encoders, Groupers & Health Data Systems 15.3 HIPAA Privacy/Security, Cybersecurity & Internal Coding Audits

4.4 Gastrointestinal Bleeding, Ulcers, and Acute Abdominal Pathologies

Key Takeaways Explain This Topic AI

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.

Last updated: August 2026

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 to I85.01 ( Esophageal varices with bleeding ) or I85.11 ( Secondary esophageal varices with bleeding ). Sequence the underlying liver cirrhosis or portal hypertension first, followed by I85.01 / I85.11 .

Mallory-Weiss Syndrome ( K22.6 ): Gastroesophageal mucosal laceration with bleeding resulting from severe retching or vomiting. Code K22.6 encompasses the hemorrhage.

Dieulafoy Lesion ( K31.811 ): Large, tortuous submucosal arteriole eroding through mucosal surface; assign K31.811 ( Dieulafoy lesion of stomach and duodenum with bleeding ).

Gastric Antral Vascular Ectasia (GAVE / K31.82 ): "Watermelon stomach"; assign K31.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

Angiodysplasia of Colon: K55.21 ( Angiodysplasia of colon with hemorrhage ).

Ischemic Colitis with Hemorrhage: K55.031 – K55.039 ( Acute ischemic colitis with hemorrhage ).

Loading diagram... GI Bleeding Diagnostic Evaluation & Code Selection Algorithm

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 ulcer
  • K27 : Peptic ulcer, site unspecified
  • K28 : 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. Assign K85.10 – K85.12 , and assign also the underlying cholelithiasis code (e.g., K80.00 Calculus of gallbladder with acute cholecystitis or K80.20 Calculus of gallbladder without cholecystitis ).

Alcohol-Induced Pancreatitis ( K85.2- ): Assign K85.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. Sequence K85.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 >4 > 4 weeks after the onset of interstitial edematous pancreatitis. Code K86.3 as an additional comorbidity.

Infected Pancreatic Necrosis ( .x2 ): Pancreatic or peripancreatic tissue necrosis superinfected with bacteria or fungi. Assigned as a 5th/6th character 2 (e.g., K85.02 Idiopathic 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, unspecified
  • K56.51 : Intestinal adhesions [bands] with complete obstruction
  • K56.52 : Intestinal adhesions [bands] with partial obstruction

Other Mechanical Obstructions: Volvulus ( K56.2 ), Intussusception ( K56.1 ), Gallstone ileus ( K56.3 mechanical obstruction from an impacted gallstone; not a paralytic ileus ).

Paralytic / Adynamic Ileus ( K56.0 ): Neurogenic failure of peristalsis without mechanical lumen blockage. Code K56.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)