At my pediatrician, for a sick visit, the nurse would always have me remove my shirt and shoes before she took my weight and height. She would then have me sit on the table to take my pulse and oral temperature. The doctor would come in and eventually start the exam with HEENT, lungs, heart, reflexes, then have me lie down for the abdominal exam. As she worked her way lower she would unbuckle my belt then unfasten and unzip my pants herself. She would stick her hand(s) just barely inside my tighty whities, sometimes lifting up the waistband slightly for better access, and feel around my lower abdomen and upper groin. She never looked at or touched my genitals that I remember. She did this every visit, no matter what I was there for.
The one and only time I went there for a sports physical for school, the nurse had me remove my shoes only for height and weight then had me sit on a chair to take my pulse and temperature. Afterwards she instructed me to get undressed, have a seat, and wait for the doctor. After she left, I remember standing up and was half way through pulling off my shirt when suddenly she opened the door, stuck her head in the room, and told me I could leave my underwear on. For whatever reason I remember being extremely embarrassed by that. Partially because she "caught" me in the middle of undressing, and partially because she told me to undress to my underwear. It was the first time anyone instructed me to do that and for some reason I found that awkward.
When the doctor came in the exam room, I was sitting in my underwear on the plastic chair because that's where the nurse had left me (always the obedient child I was). She told me to have a seat up on the table. I remember literally standing and running across the room and jumping up on the table because I was embarrassed to have her see me standing and walking in only my underwear. No idea why I was fine having her see me sitting in my underwear, but heaven forbid she see me standing almost naked. The exam proceeded as normal with her doing the exact same things in the exact same order. The only difference was at the end of the physical. With me lying on my back after she examined my abdomen, she used her right hand to lift my waistband up a few inches and stuck her left hand in and felt around like usual. Only, where she usually stopped, she just kept going. She still didn't actually touch my genitals, but she did feel along the top of my legs and groin. Her fingers were brushing up against the sides of my scrotum. She then felt along the top of my genitals and base of my penis and repeated this on the other side of my scrotum. She next pulled her hand out of my underwear, grabbed hold of my waistband with both hands and pulled my underwear out and down, completely exposing my genitals. She just stood and looked. She was pulling my underwear down so far that I remember actually lifting my hips up off the table thinking she wanted to pull them all the way down or off. When she didn't remove them I eventually lowered my hips back down to the table and she eventually lowered my waistband covering me back up. I was mortified. All of that probably took less than a minute, but it felt like an eternity. Not only was I embarrassed by that experience, but the thought of going back to her for a sick visit and looking her in the eyes after she had seen my penis was more than I could take.