First of all, let us define and state what an appointment is and the processes that happen before an appointment.…