Not to excuse the doctor, but I bet what happened is that he blurted out his mental shorthand for her in a moment of distraction. He has a racist nickname that he thinks of her by, and substituted it aloud rather than self-filtering like he always had.