is there pain?
do you feel stretching sensations in any particular directions?
It could be frozen shoulder if ROM is restricted globally. If internal rotation and front raising is mainly affected, then = posterior capsule contracture.
btw, what kind of hernia?