Updated for appointment status