You can report him to the medical society. Even anonymously, it will get attention. I think it is called 'The Hippocratic Oath" - First do no harm.
Personally, I would have stood there screaming and the nurses and office people would have run in to see what was the matter.
The first thing to say to an ignorant comment is "OUCH!" then scream.
Huggs from me, Quilter68