At the end of WW2 war brides going to America were thoroughly inspected for VD.
At least with the availability of antibiotics there was a cure for most types of VD, which certainly wasn't the case after the Great War.
The war brides thing is interesting. My Belgian mother wasn't technically a war bride, at least I don't think so, but she did marry my American father a few years after the war. He was in the Merchant Marine, which didn't get veteran status until many years later so i don't know what rules and regulations my mother would have fallen under when she came to the US. That wasn't until 1953 though, so maybe rules had changed. But what an idea if she had been subjected to such exams.
One thing I sort of regret was that my mother being the bride of an American citizen, didn't have to pass through Ellis Island. I was with her then and we would have been in last groups going in through Ellis Island. Back then there was maybe a sort of stigma attached to it, but now I am sure that many are proud to have entered the US that way.
There is an affiliated emigration museum in my city and I've been able to look up people entering the US through Ellis Island. And lo and behold, I found one my great uncles ... that was in the 1920s, before VD checks I bet ... ha ha