What exactly was the doctor supposed to do?
Men pretending to be women do not have women parts and for the doctor to pretend to check parts that do not exist is the hight of absurdity.
In a saner era this would have been instantly recognized as a case of delusion on the part of the patient.
“What exactly was the doctor supposed to do?”
Show the guy a speculum, open it, and explain how it is used. Bet he zips up and runs for the door.