The primary outcome was the incidence of delirium in patients who had been randomized to intraoperative Bispectral Index ( BIS ) - guided and end-tidal anesthetic concentration-guided depth of anesthesia protocols .