Apparently, there are differing policies on this depending on the hospital:
Sampson said she went to the hospital for treatment of a severe migraine headache, but was moved to a psychiatric unit when she admitted struggling with self-destructive impulses. She said she pleaded to be allowed to keep at least her pants on before the strip search, but the nurse refused . . .
. . .In a letter to Sampson, hospital officials said they were sorry she had such a terrible experience, but stood by their strict policy of searching psychiatric patients for their own benefit.