ZocDoc, a website dedicated to the public's search for medical professionals, has ranked San Diego No. 6 among cities with the highest-rated doctors and No. 2 for the best optometrists and psychologists. The city was also No. 3 in shortest wait time.

The survey also showed Los Angeles at No. 10 in the best-dentist category.

The rankings are based on an average of three ratings criteria (wait time, bedside manner and overall rating) among ZocDoc member providers with 15 or more reviews over the last year.

ZocDoc is used by more than 5 million patients each month to find a nearby doctor or dentist, read verified reviews and health content and book appointments and fill out paperwork online. ZocDoc is currently available in 35 states and will be live in all contiguous states by the end of 2014. The service is free for patients via ZocDoc.com or the ZocDoc app.