<human>: Provide a brief overview of the text.

My girl and I have been dating a few months, and on her most recent period she told me it was a lot more painful than normal, with the cramping and headaches.  One day she had to go to the hospital it was so intense.  They gave her a pelvic exam and was told that she miscarried, due to her overactive white blood cells (which was determined through a blood test).  He put her on medication for an infection, and recommended she visit Planned Parenthood to see about an HPV test, and to also look into testing for Cervical cancer.

I'd like to know how would a doctor know she has miscarried, if he wasn't a GYN?  And What would make him believe she may have cancer?  Should we worry she was misdiagnosed?  What if she is still pregnant?  Are there tell-tale signs of a miscarry?  And cancer??  We are both pretty shocked at the whole thing, and I have tried not to ask too many questions of her, being emotional about it still.

I guess we're both a bit relieved that her pregnancy was unknown to us, so we couldn't get attached to it.  Not to mention we aren't really ready for children.  Guess we need to be more careful!
<bot>: GF went to the hospital for period pains, turns out she miscarried, how can I help her cope? Also just want some general understanding of what exactly happens at the doctor's office in this case. Thank you.