Analysis of factors associated with disease outcomes in hospitali