Records show doctor accused of sexual assault has history of state complaints