Need to vent

I had a miscarrige at 14 weeks I had a d&e done and had the baby tested to see what cod have caused what happened to my baby to cause the miscarrige. I asked the doctors to not tell me the gender when I got the results and what did they do told me the gender I was doing so well with coping till I found that out knowing that I was going to be having a little boy. Thank you for letting me vent