There are few differential diagnosis which I can offer you at this time.
It looks like a pain which has originated from muscle or bone. Have you consulted any ortho specialist. Injury
alone is not the only factor which can cause pain like this.
It is unlikely that you have a heart related problem.
may be because of some sort of anxiety
. Try to relax and you will be better.
All the best.