Fixes to patch logic.
Max_Idle_time added.

Signed-off-by: Eric Crane <ecrane57@gmail.com>
Added logic to Checkin for finding any current or future reservations.
Fixed problems with patients on reservation page.