The last two years have been an intense timeframe for me emotional body-wise, and I have indeed experienced many instances of pain such as you described. Particularly, if the "energy of pain" moves, I see no cause for concern. My experience has been that it is a pocket of energy (ball of emotional "issue") moving due to integration - especially if it's motion brings it to the heart area. If it "lodges" in some spot for more than a day, however, I seek spiritual guidance, not medical assistance.
Since I'm not one to see a medical professional, and have no documentation or concrete mental knowledge of my own or anyone else's experiences... I tend not to mention any of this to others all that much. There's a tendency with momentum in the human condition to seek medical input on the body's sensations, where I tend to trust and wait and listen. I bothered to mention it now, since your experience of pain has passed, and you seem open to the possibility that it might be something other than a medical condition. 
Best to you,
Sowelu
"The most important decision you have to make is whether you live in a hostile or friendly universe."
~ Albert Einstein
The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. ~Marcel Proust
The evolution of humanity is an evolution of the heart. The path is through the heart.