Statistics for Software development for hospital patient management