Adds variables to indicate visit and visit date