Contents
GI is one of the largest content areas on the medicine shelf, and most of its management questions come from four presentations: a GI bleed, acute pancreatitis, C. difficile diarrhea and acute cholangitis. Each one has a fixed order of steps. The question tells you where the patient is in that order, and the answer is the next step, not the most aggressive one.
Upper GI bleeding: the algorithm
- Resuscitate firstTwo large-bore IV lines and crystalloid. Transfuse red cells at a hemoglobin threshold of 7 g/dL (ACG 2021); a higher threshold is used with active cardiovascular disease.
- Stratify riskA Glasgow-Blatchford score of 0 or 1 identifies very-low-risk patients who can be discharged with outpatient follow-up.
- Suspect varices in cirrhosisStart a vasoactive drug (octreotide or terlipressin) and antibiotic prophylaxis, usually ceftriaxone, before endoscopy. Baveno VII uses a restrictive transfusion target of 7 to 8 g/dL.
- Prepare the stomachAn erythromycin infusion before endoscopy improves the view. An IV PPI is reasonable while waiting but does not replace endoscopy.
- Endoscopy within 24 hoursFor varices, within 12 hours with band ligation. Ulcers with active bleeding or a nonbleeding visible vessel get endoscopic therapy; a clean base or flat spot does not.
- After hemostasis of an ulcerHigh-dose PPI continuously or intermittently for 3 days, then oral PPI twice daily through the first 2 weeks. Test for H. pylori and stop NSAIDs.
- RebleedingRepeat endoscopy. If endoscopic therapy fails, transcatheter embolization, then surgery. For varices, high-risk patients (Child-Pugh C under 14 points, or B over 7 with active bleeding at endoscopy) get a preemptive TIPS within 72 hours.
Acute pancreatitis: the approach
The diagnosis needs two of three: typical epigastric pain, lipase or amylase above 3 times the upper limit of normal, and imaging findings. With the first two, no CT is needed.
- Right upper quadrant ultrasound in every patientGallstones change the plan. Check triglycerides and calcium if there is no stone or alcohol history.
- Moderate, goal-directed fluidsLactated Ringer's at a moderate rate, adjusted to urine output, heart rate and BUN. Aggressive fluid loading increases fluid overload without improving outcomes.
- Feed earlyOral feeding within 24 to 48 hours as tolerated. If the patient cannot eat, enteral nutrition is preferred over parenteral.
- No prophylactic antibioticsAntibiotics are for a documented infection, such as infected necrosis or cholangitis.
- ERCP only for cholangitisUrgent ERCP (within 24 hours) is for gallstone pancreatitis with cholangitis, not for every gallstone case.
- Cholecystectomy before dischargeMild gallstone pancreatitis: cholecystectomy during the same admission prevents recurrence.
- CT only when the course is off trackContrast CT after 48 to 72 hours if the patient does not improve, to look for necrosis. Infected necrosis is treated with antibiotics and delayed, minimally invasive drainage.
C. difficile infection: step by step
- Test the right patientThree or more unformed stools in 24 hours, no laxatives, and a risk factor such as recent antibiotics or hospitalization.
- Grade severitySevere: white count 15,000/mm³ or more, or creatinine above 1.5 mg/dL. Fulminant: hypotension or shock, ileus or megacolon.
- First episodeOral fidaxomicin for 10 days is preferred; oral vancomycin for 10 days is an acceptable alternative. Metronidazole is only for a nonsevere episode when neither is available.
- Fulminant infectionOral vancomycin 500 mg four times daily plus IV metronidazole, rectal vancomycin if there is ileus, and an early surgical consult.
- RecurrenceFidaxomicin, or a vancomycin taper and pulse. After two or more recurrences, fecal microbiota-based therapy. Bezlotoxumab, an option in the 2021 update, was discontinued in the United States in January 2025.
Acute cholangitis: the algorithm
- Recognize itCharcot triad: fever, right upper quadrant pain, jaundice. Reynolds pentad adds hypotension and confusion. The Tokyo criteria combine systemic inflammation, cholestatic labs and imaging showing dilated ducts or a cause.
- Grade severityGrade III (severe) means organ dysfunction. Grade II (moderate) needs any two of: abnormal white count, fever of 39 C or more, age 75 or older, bilirubin 5 mg/dL or more, low albumin.
- Antibiotics and fluids nowBroad-spectrum IV antibiotics covering enteric gram-negative organisms, plus resuscitation.
- Drain the bile ductSevere: as soon as possible once the patient is supported. Moderate: early drainage. Mild: drainage if there is no response to antibiotics. ERCP is first-line; percutaneous transhepatic drainage if ERCP fails or is not possible.
- Treat the causeRemove the stone, and plan cholecystectomy for gallstone disease once the patient recovers.
Clue in the stem, next best step
| Clue in the stem | What it points to | Next best step |
|---|---|---|
| Melena, hemoglobin 6.4 g/dL, no heart disease | Upper GI bleed below the threshold | Transfuse red cells, then endoscopy within 24 hours |
| Cirrhosis, ascites, hematemesis | Variceal bleed | Octreotide and ceftriaxone, then band ligation within 12 hours |
| Ulcer with a clean base on endoscopy | Low rebleeding risk | No endoscopic therapy; oral PPI and early feeding |
| Lipase 9 times normal, typical pain, no stones on ultrasound, no alcohol | Pancreatitis of unclear cause | Check triglycerides and calcium |
| Gallstone pancreatitis, improving, no cholangitis | Mild biliary pancreatitis | Cholecystectomy before discharge |
| Pancreatitis with fever on day 10 and gas in necrosis on CT | Infected necrosis | Carbapenem, delay drainage until walled off |
| Diarrhea after clindamycin, white count 22,000/mm³ | Severe C. difficile | Oral fidaxomicin or vancomycin |
| C. difficile with hypotension and a distended, silent abdomen | Fulminant colitis with ileus | Oral and rectal vancomycin, IV metronidazole, surgical consult |
| Fever, jaundice, RUQ pain, then hypotension and confusion | Severe cholangitis | Antibiotics, resuscitation and urgent ERCP |
Where students lose points
- Transfusing to a hemoglobin of 10 g/dL in a GI bleed. Restrictive transfusion is the standard.
- Skipping antibiotics in a cirrhotic patient with GI bleeding. Prophylaxis lowers infection, rebleeding and death.
- Ordering CT on day 1 of pancreatitis when pain and lipase already make the diagnosis.
- Choosing aggressive fluid boluses, prophylactic carbapenems or prolonged NPO status for pancreatitis.
- Sending every gallstone pancreatitis to urgent ERCP. Only cholangitis or persistent obstruction justifies it.
- Picking metronidazole for a severe C. difficile episode, or testing formed stool.
- Waiting for antibiotics to work in a hypotensive patient with cholangitis. Drainage is the treatment.
Practice question
A 46-year-old woman is admitted with severe epigastric pain radiating to the back that began 12 hours after a large meal. She does not drink alcohol. Temperature is 37.6 C, blood pressure 128/80 mm Hg and pulse 98/min. The abdomen is tender in the epigastrium without guarding. Lipase is 2,400 U/L. Total bilirubin is 1.1 mg/dL and alkaline phosphatase 118 U/L. Triglycerides are 160 mg/dL. Ultrasound shows multiple gallstones in the gallbladder and a common bile duct of 5 mm. She is treated with lactated Ringer's solution and analgesia. On hospital day 2, her pain has improved, she is hungry, and she has no fever.
Which of the following is the most appropriate next step in management?
- Urgent ERCP with sphincterotomy
- IV imipenem for 14 days
- Keep her NPO and start parenteral nutrition
- Contrast-enhanced CT of the abdomen
- Start an oral diet and perform cholecystectomy during this admission
Show the answer
Answer: E. She has mild gallstone pancreatitis that is improving. Early oral feeding is safe and shortens the stay, and cholecystectomy during the same admission prevents recurrent biliary events.
Why the others are wrong. A: she has no cholangitis and no persistent bile duct obstruction (normal bilirubin, normal duct size), so urgent ERCP adds risk without benefit. B: prophylactic antibiotics are not recommended in acute pancreatitis. C: prolonged fasting and parenteral nutrition are worse than early enteral feeding. D: she is improving; CT is for patients who fail to improve after 48 to 72 hours or when the diagnosis is uncertain.
60-second recall
Say each answer out loud before you reveal it, then mark yourself. Retrieval, not rereading, is what makes it stick.
1GI bleed transfusion threshold
Hemoglobin 7 g/dL.Did you get it?2Variceal bleed bundle
Vasoactive drug, ceftriaxone, band ligation within 12 hours.Did you get it?3Pancreatitis fluids
Lactated Ringer's at a moderate, goal-directed rate.Did you get it?4Pancreatitis ERCP
Only with cholangitis or persistent obstruction.Did you get it?5First C. difficile episode
Fidaxomicin preferred, oral vancomycin acceptable.Did you get it?6Severe cholangitis
Antibiotics, resuscitation and biliary drainage as soon as possible.Did you get it?
Make retrieval a habit on every topic with Learning to Learn Medicine. Module 1 is free; the full bundle (the course plus all 12 Recall Labs) is a one-time $199.
Next: browse every Board Review post, review the GI cancers by organ, or see MedRise for students.
Sources
- Laine L, et al. ACG clinical guideline: upper gastrointestinal and ulcer bleeding. Am J Gastroenterol, 2021 (PubMed 33929377)
- de Franchis R, et al. Baveno VII: renewing consensus in portal hypertension. J Hepatol, 2022 (PubMed 35120736)
- Tenner S, et al. American College of Gastroenterology guidelines: management of acute pancreatitis. Am J Gastroenterol, 2024 (PubMed 38857482)
- Johnson S, et al. IDSA and SHEA 2021 focused update guidelines on management of Clostridioides difficile infection in adults. Clin Infect Dis, 2021 (PubMed 34164674)
- ASHP. Bezlotoxumab injection: discontinued. Drug shortage detail, 2025
- Kiriyama S, et al. Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis. J Hepatobiliary Pancreat Sci, 2018 (PubMed 29032610)
MedRise Board Review is educational content for exam preparation only. It is not medical advice and does not replace current guidelines, your school's materials or clinical judgment.



