The injured and co-worker were standing by a LHD operators compartment planning their work. The operator compartment door was against co-workers back. Co-worker stepped forward to move a mat from rib and the door swung closed onto the injured employees hand that was resting in the door jamb.