A neurologist accused of raping a teenager 17 years ago has been given the green light to keep working in regional NSW before his trial.