Surgery may be indicated for localized bronchiectasis or atelectasis that cannot be treated effectively with drugs, nasal polyps, chronic rhinosinusitis, bleeding from esophageal varices secondary to portal hypertension, gallbladder disease, and intestinal obstruction due to a volvulus or an intussusception that cannot be medically reduced.