Appointments code deleted from application