hospital management script