This is Dr. David
at her age if she is having confusion and vomiting, you should bring her to the ER
she could have had a stroke or brain bleed or blood clot in the lungs.
it may not be from her urinary tract infection.
do you have a hospital close to you?