Automatically determine if an appointment is late