It takes place in the pericardial sac that contains the
heart,
and involves irritation of the
heart and/or sac.
Probably he is thinking of pericarditis primarily because of the pattern of radiating pain, especially the left shoulder. If it is pericarditis, and if you have had it all this time, it is unlikely to be infectious (viral or bacterial), but that doesn't mean it shouldn't be treated.