This is quite strange. It occurred to me that it could have been MRI, but a couple of things just don't work. You said a tiny room, but an MRI is a large piece of equipment. Also, they could hardly work on you because in order to image what they were doing they'd have to be doing it inside a narrow tube within the machine, which sounds impossible. No magnetic metals allowed either, so does not compute! I can't think with any certainty what it could have been.Except, I don't remember the US head being used, nor any of that lub they use. I was quite curious at the time, and since, about the viewing method, so I was paying attention to that.
I suppose they could have done it under screening (X-rays and fluoroscopy), but there should have been lead-rubber aprons, unless they were really taking a chance... and I wouldn't!

