State Chart Diagram For Hospital Management System