Add appointment slots validations add end date

Refactor to the appointment model.