I'd be surprised if more than 1% of people could get an erection in a urologist's office (unless their visit is due to priapism). You're likely visiting due to a painful or embarrassing problem with your equipment.
In this case I was actually wondering about the urologist, not the patients themselves. The latter is a situation I've been in myself so it's easier to relate to and reason about.