Another risk factor for Legionnaires’ disease is having a weakened immune system. The immune system may be weak due to health conditions like HIV/AIDS. Certain medicines can also weaken the immune system, such as drugs used to prevent organ rejection after having a transplant.