These procedures involve passing viewing devices and instruments down the esophagus and the trachea (windpipe ... These procedures are done under general anesthesia, often on an outpatient basis.