patient index set up