dpnc,
I forgot to mention. Unfortunately, there may be people who say some rather unhelpful things to you during this difficult time. It may help to remember that they might not know what to say, so try to say something supportive and fail. (My mother-in-law could have won an award for saying the wrong thing and she didn't even realize it!)
Take care of yourself. And take comfort from those who help you, while ignoring whatever or whoever doesn't. Thoughts and prayers are with you.
I am sorry to hear of your loss. I also lost a baby at 17 weeks in utero. My ob/gyn gave me a pill to take every day. Cytotec, which makes the body release and pass the miscarriage. Several days later I went into a mild labor, got to the hospital and the miscarriage completed itself. It was very difficult emotionally, but nice to have made it to the hospital birthing unit so they could help. The baby was tested and found to have a chromosome number mismatch. It was a mild relief to have an answer for the miscarriage and to know the baby would have never made it full-term because of the disorder.
The only thing that helped me through that rough time was knowing how many of my friends have had miscarriages, (they are so much more common that one would think), and, each and every woman had a full-term, healthy baby after. I've had a healthy baby since too.
Again, I'm so sorry for your loss. I would never wish on anyone what I went through. Your ob/gyn will hopefully take good care of you. Good luck and hang in there, you'll make it through this, even though it seems so difficult right now.
Do you have an obgyn? If so, I would make an appt to see them right away so you can ask questions, and be told what to expect. So sorry to hear about your loss and also about how unnhelpful the ER doc was.