Employee was holding the offside rub rail on miner while rub rail was being installed. Rub rail sprung back jarring EE shoulder. EE continued to work full duty until date of surgery while diagnostic procedures were being completed and diagnosis was confirmed. Surgery completed 12/14/2023.