Who is legally responsible for making healthcare decisions for a resident who has been determined to be mentally incompetent?