The potential to combine diagnosis and therapy in one procedure gives endoscopy a significant advantage over studies that provide only imaging (eg, x-ray contrast studies, CT, MRI) and often outweighs endoscopy's higher cost and need for sedation.