This does sound like it could have something quite serious behind it.

I would check it out at the hospital ASAP, considering there's a chance it is heart related.