increased the length of visit_outcome