Risk factors Risk factors for hospital-acquired pneumonia include previous antibiotic treatment, high gastric pH (due to stress ulcer prophylaxis or therapy with H2 blockers or proton pump inhibitors), and coexisting cardiac, pulmonary, hepatic, or renal insufficiency.