We hypothesized that intraoperative administration of high-dose dexamethasone , a drug with potent anti-inflammatory effects , would reduce the incidence of delirium at any time point during the first 4 postoperative days after cardiac surgery .