I often had a rectal temp and a shot in the same visit, in fact every visit through age 12, but never at the same time. The temp was always the beginning and the shot was always the ending. At my doctor I got temps taken rectally through age 12 and shots in the butt at pretty much every visit. This was when pennicillin was the cure-all.
The temp was always the same procedure, after other vitals were taken I would told to lie on my tummy for my temperature. The word "temperature" still invokes memories of a thermometer in my bottom to this day. I would then climb up on the table, kneel and pull my undies down to my knees, then lay down. The nurse would take a red thermometer out of a large jar, and shake it down in the meantime. She would usually shake it down a few times to get it down enough, and then take a tube of lubricant and apply a small drop on the tip. She would then tell me to "lie still", and spread my bottom wide. Then a very cold and greasy thermometer would be inserted. Within a few seconds the thermometer would warm up, and I would begin to feel very subdued. The nurse would make small talk with my mom while it registered. After 3 long minutes the thermometer would be withdrawn, wiped off and read aloud. She would then tell me I could pull up my undies and the doctor would be in shortly. As I got older, I would try to wait until the nurse left to avoid showing my front parts while I got my undies back up, especially if I had an erection. The nurse would never wipe me, which would always leave me greasy.
The exam would follow, and the doctor would announce his diagnosis, what instructions he had, and a shot of some kind. On some visits where I was there for innoculations, the doctor would still come and listen to my heart and breathing. Then he would ring the bell by the door the number of times for the room I was in and tell the nurse what I needed. My mom made me get my undies down and get back on the table so I could be ready. The nurse would then give me the shot. At age 8 she refused to give me the shot until I relaxed my butt. It took a few tries, but when I finally stayed relaxed, she gave me the shot and it didnt hurt at all. From then on, shots became no big deal. A visit or two after that, I was allowed to stand and lean over the table instead of lay down, which I considered to be the more grown up way, even though it showed everything more. I got shots like this until I moved away from home at 19.