adding numeric index, with 2010-01-01 as first valid visit (numeric_index = 1)