Hi, welcome to the forum, you seem to have chronic
insomnia. In young to middle aged individuals, sleep maintainance problems tend to be associated with stress, anxiety, or circadian rhythm sleep disorders. They may also be associated with sleep disorders (eg, sleep apnea, periodic limb movements), medical conditions that cause pain (like shoulder pain in your case), psychiatric diseases (eg, anxiety, depression), or the use or withdrawal of alcohol, nicotine, or other substances.