Cld be membranes your dr gets the er repot right away. Im sure if there was concern she will call you.
Have you talked to your OB? If not I would call them asap. In my experience, the ER docs are not extremely knowledgeable when it comes to OB. 31weeks is early to have bleeding. Dilation usually does not cause bleeding. I would call the OB