Exited the cab of a Hydraulic Shovel to use the restroom and the jacket of the employee snagged on the door and slammed on the employees left middle finger. Employee was seen at the ER and had X-Ray imaging done on the affected finger. X-Ray showed a hair line fracture on the affected finger. Employee received a return to work no restriction on next scheduled shift (11-25-2024)