Hello from justAnswer.
Is someone with this history, it is reasonable to consider whether additional cardiac evaluation is appropriate, such as with a stress test. It also would be appropriate to consider whether the is a GI problem that is causing this pain.
It is also true that chest pain can occur from lung problems, but it usually would not be immediately relieve by GTN. The GTN is commonly used to help to ease cardiac chest, but it also will relieve chest pain from the esophagus.
Your primary care doctor can perform an office assessment and arrange for such an evaluation.
GI stands for gastrointestinal.
Pericarditis is possible, but there usually would be findings on exam, ECG or blood work. An echocardiogram is good at detecting if there is any fluid accumulation related to pericarditis, but we usually have evidence of the pericarditis before an echocardiogram is done.