HI
I am so sorry you experienced that..no one should have to go through that....
I am no expert but like every mother out there wan tto do best by my kids, I think you were so close to giving birth anyways that not even something scary like that could affect your son. My dr throughout both my pregnacies has said at that late stage the baby is pretty much fully cooked(!) and nothing can change it now, he is how he is because he was meant to be that way

I have 2 kids and they could not be more different personalities! On incredibly outgoing and friendly the other a real clinger......