Doctor's job on the line after racist post