What rights does a parent have during a visit or investigation?