A thorough workup is important for diagnosis because symptoms of prostatitis are not very specific and can resemble inflammation of the urethra or other problems. A digital rectal examination and urine analysis are usually sufficient to diagnose prostatitis. However, your doctor may refer you to a urologist (a specialist in urinary tract diseases) who may perform additional studies such as analysis of prostate secretions, a prostate-specific antigen (PSA) blood test, urodynamics (bladder pressure testing), or cytoscopy (an examination in which a flexible fiberoptic tube with a camera is used to see the urethra and the bladder from inside). Imaging tests such as transrectal ultrasound, computed tomography (CT), and magnetic resonance imaging (MRI) might also be performed. Rarely, if prostate cancer is suspected, a prostate biopsy may be performed. However, prostatitis does not increase the risk of prostate cancer.