A study of the patient's medical history, a physical exam, and laboratory tests such blood and urine tests are required for the diagnosis of PID.