Sorry to hear about your loss. Of course you would give anything to hold your baby in your arms again.
I hear you loud and clear but like pp said - you are not mourning the child you are carrying, but the loss of a dream of a desired gender. I think it's important to be allowed to say (especially on a forum like this!!!) that I had a dream of X and it did not come true. It honestly does not mean you do not love and appreciate the health of the child you do receive, at all.
My mum passed away four years ago. I do not know your personal situation, but if your mum is alive and I shared with you my story of losing my best friend, my soulmate, the person I long for the most, every single day. If I asked you to never have an argument with your mum again, because you should be holding her SO SO close - what would you say? I could turn around and ask you to appreciate your mum because she will one day be gone and you will regret every minute wasted arguing.
Life is not like that. People have dreams, people argue, people unfortunately die - it's as real as the miracle of birth. I completely understand your pain, I truly truly do. But please don't think people on this site come here not understanding how important health is. Health is everything. It's okay to dream though, and it is okay to cry if your dream does not come true.
There is so much stigma out there about gender - I am thankful there is a site like ingender where people can openly discuss their feelings. :)
Good luck to you x