fixed an issue on patient stay time on patient dashboard