Doctor accused of attacking girlfriend over Facebook post