If the diagnosis is uncertain after ultrasonography or other imaging modalities, or if empiric treatment for PID fails, laparoscopy should be done; purulent peritoneal material noted during laparoscopy is the diagnostic gold standard.