Hospital management system with appointment, que management