An analysis of the urine to determine the type of bacteria that is causing infection.