I found no mental side effects related to
Nexium or
Vancomycin. However, I found some side effects of the Vicoden which could explain his change in mental status. These side effects include mental clouding, impaired mental and physical preformance, mood changes, and lethargy.