Elfie,
and the reason I'm laughing... not because of what happened to you, but because it reminded me of the time I opened our front door and managed to rip my big toenail halfway back, such that it was not only half pulled off the nailbed but bent up at a right angle and no getting it back down without major pain
Yep, trip to the ER, couldn't put a shoe on that foot and we still had snow on the ground at the time, so that was quite interesting... then there I was, just lying on that table in the hallway, and everyone that went by was going "ewwww... HOW did you do that??"
Only topped by the doctor, who, after getting a good look at the situation, asked his assistant for some scissors or whatever to cut the thing off, only to say something to the effect of "get the bigger ones, this is a carpenter type of job."
I assume it's needless to say that I am pretty careful about where my feet are now when I open doors...