Diagnosing bacterial and viral infections often involves a combination of clinical evaluation and laboratory tests. A throat swab can help diagnose strep throat, while a urine test can identify urinary tract infections. Viral infections are usually diagnosed based on symptoms, but specific tests like a rapid influenza diagnostic test can confirm certain viruses.