Diagnosing peritoneal tuberculosis