((KIya))
I hope you are feeling better.
Yes, I have read some about how to handle potentially traumatic events and there are books out about it. Author (and trauma expert) Peter Levine wrote a book about trauma and children (with a co-author whose name eludes me) and in the book, they tell how to handle different scenarios (including medical) so that the child doesn't develop PTSD.
I am so glad your md was there for you. Her support allowed you to discharge the "freeze" response you were holding in your body, right?
Take care of yourself.
xoxo