Patients on vitamin D treatment and past users of ACE inhibitors were associated with higher odds of infection. Here, ACE is linked to infection.