Not sure that I am with you
"Back pain at the top of the rib cage"....do you mean between the shoulder blades?
Does anything make it better, does anything make it worse?
Is it there all the time or does it come and go?
have you any cough?
Have you taken any pain killers and do they work?