Hello dear
Welcome to Health care magic family .
I have gone through your concern in depth .
@ There are many reasons  for this pain 
    - 
gall bladder problems ( calculus or acalculus 
cholecystitis )
    - liver issues ( 
hepatitis , cyst , abscess , tumors )
    - biliary system related ( stricture , stone )
    - 
pancreas head ( inflammation , duct stenosis , calculus in duct )
    - hepatic flexure of colon problems 
    - right side diaphragm conditions , rt. base of lung - 
pneumonia patch
       or effusion etc .
Hope this will help you .
Feel free to ask any further questions .
Thanks for patience evaluation of my answer .
Regards .