As you can see above, it wasn't necessary pleasant memories. The medical authority could keep you as long as they wanted to protect your health and the society against potential contagious diseases. The most simple way to make sure one would not leave without permission was obviously to keep his clothes away.
So if you didn't want to be kept a few days, you knew you had to be very obedient, just in case the staff was in a bad mood...
Boys in the 18-24 years old range were all examinated if they had applied for University (pictures below that I'll send to you dear VIP readers). For some boys in the 1950s, the very first medical visit also meant the very first direct contact with the opposite gender, which of course led to very awkward accidents...
EDIT : I've posted in the comments section a story from " Buck Naked ", it puts well into words what is happening in these pictures and the atmosphere in these 1950s : )
(anyone else experiencing technical problems posting comments?)