When an appointment is schedule