In a Whipple procedure, the doctor removes the gallbladder and bile duct, part of the stomach, part of the pancreas, and part of the small intestine. The remainder of the pancreas, bile duct, and stomach are connected to the remainder of the small intestine.