What is the process of a strip search/medical?

was wondering what the exact procedure for a strip search is in prison? Does anybody hold a detailed account of one they performed or was perform on them, or any other accounts. How does the strip search procedure vary for men and women?

I also noticed on another source that prisoners are made to lift up their breasts or push back their foreskin is that really done and are the people conducting the search allowed to touch the soul being searched like is their a genital exam? Does the foreskin of an uncircumcised masculine get examinied in the search?
This answer applies to strip rummage in Jails or prisons within the United States. Due to concerns of liability, the officers will not physically touch the personality being strip searched. If you are strip searched alone in attendance will be at least one other officer present in addition to the one doing the go through. You may be strip searched in a group.
You will be asked to remove your shirt, shake it out, turn it inside out, and throw it a few feet within front of you out of your reach. You will be asked to remove your pants, turn the pocket inside out, shake them out, then throw them into the pile next to you shirt. If you are a female, you will be asked to remove your bra, shake it out, and throw it into the pile of your clothes. You will be asked to remove your shoes, bend them in half, hold them by the tip and crash them together, then add them to the pile of your clothing. You will remove your socks, pull them inside out, shake them out, and make a payment them to the pile of clothing.
Now that you are nude, the procedure differs for males or females.
Males: You will be asked to grab your testicles, raise them up with one appendage, and run your other hand underneath them in a scraping motion. If you own a foreskin, you will be asked to roll back the foreskin. You will be asked to open your mouth and raise your tongue to the roof of your mouth. You will be asked to lean forward and run your fingers through your coat and shake your head. You will be asked to turn around and face the wall. You will be asked to raise one foot, shake your toes, then repeat this with the other foot. Then you will be asked to lean forward, spread your buttocks and cough. You will then be asked to squat and cough. Officers will force out through your discarded clothing and then return them to you.
Female: You will be asked to lift your breasts with one appendage while running you other hand underneath them. You will be asked to open your mouth and raise your tongue to the roof od your mouth. You will be asked to lean forward, run your fingers through your spine, and shake your head. You will be asked to turn around and face the wall. You will be asked to raise one foot, move from side to side your toes, then repeat this with the other foot. You will be asked to lean forward, spread your buttocks, and cough. You will be asked to squat and cough. Officers will search through your clothing and after return them to you.
If a body cavity search is required, this MUST be performed by a medical doctor and usually requires a court order.

If the personality refuses to be searched: Generally, several officers will be call in. One of them will generally have a camcorder to cartridge the procedure. This protects against claims of improper behavior made afterwards. The officers will then physically restrain the soul, remove the clothing, and conduct the search while the person is immobilized. The rummage through can be external only. Body cavity searches must be performed by a doctor.