Thanks for the query to H.C.M. Forum.
If I were your treating doctor for this sharp pain
on the right side of chest , I would come up with these possibilities , these includes.
1 As you mentioned that there is sharp pain during breathing , coughing so may be due to pneumonitis
or consolidation of lung ( right ), diagnosis can be confirmed by X ray chest and with physical examination by a physician .
2 May be any bursitis
or infection of head of humerus bone . Sharp pain in shoulder joint sometimes aggravated by coughing , sneezing
, dressing. Diagnosis can be confirmed by examination by an orthopedic surgeon.
3 Costo chondritis
, least possible cause . As sometimes pain the coastal ( rib bones) may be the cause factor.
In my opinion consult a physician and get his opinion and deal accordingly.
Good luck. Dr. HET