Nearly one-third of doctors in the United States have experienced mistreatment from patients or their families, including racist or sexist remarks, a study published Thursday found.