scare led me to the ER!

So I'm 9 weeks 3 days and this morning I woke up to get ready for work when I went to use the restroom and had some blood in my urine and when I wiped it was pink. I've had a miscarriage before so of course I freaked out. Told my husband and he took me to the ER and they ended up giving me an abdominal ultrasound, taking my blood and taking a urine sample. After a much scary wait the ER doctor came and said that everything looks great and he saw the baby and the baby's heartbeat was great (they didn't let me see the ultrasound since it was an ER visit). He also said my HCG levels were really high and on track. The only thing they said was I had some bacteria in my urine so they are just watching for a UTI now.,They put me on pelvic rest for the rest of the week until my first OB appointment on Friday but they had to call it a "threatened miscarriage". Which is such a scary term 😩 but it was such a relief that my baby is measuring right on track but that term just really stresses me out. Just need to take it easy and need some positive vibes and hope that my baby stays cooking and I am looking forward to my OB appt on Friday!