Blood tests are used to check for signs of infection, such as a high white blood cell count. Blood analysis can also tell whether the patient is dehydrated or has a chemical imbalance. Analysis of the urine, or urinalysis, is used to rule out a urinary tract infection.