A prospective observational study on prevalence of anemia, associated risk factors and outcome