Gastrointestinal surgery is a treatment for diseases of the parts of the body involved in digestion. This includes the esophagus (ee-sof-uh-gus), stomach, small intestine, large intestine, and rectum. It also includes the liver, gallbladder, and pancreas.
Surgery may be used to remove a cancerous or noncancerous growth or damaged part of the body, such as the intestine. It may also be used to repair a problem like a hernia (a hole or weak spot in the wall of the abdomen). Minor surgical procedures are used to screen and diagnose problems of the digestive system.
Endoscopic retrograde cholangiopancreatography, or ERCP, is a procedure to diagnose and treat problems in the liver, gallbladder, bile ducts, and pancreas. It combines X-ray and the use of an endoscope—a long, flexible, lighted tube. Many health problems can partly block a portion of your esophagus.