Program feature passing, date format changed. Diferent msj when status of appointment changes