There are many diseases that might cause what you describe. You need to be seen by a doctor. Testing would begin with a chest x-ray. If this is
normalNormal saline flush, then you need to have a lung scan. Pain under the
shoulder shoulders intensive treatment
Shoulder arthroscopy
Shoulder pain blade can be caused by gall bladder disease. However this doesn’t usually happen along with a cough where fluid comes up from the lungs.
You cough up some fluid, it does not mean it come from lung. May be some fluid from upper respiratory tract.