An electrician was assisting with a drag rope change out on D32 Dragline when EE collapsed suddenly. The crew EE was working with immediately called for EMS, began CPR, and used an AED to shock the patient. The patient was transported by air to the hospital where EE was pronounced dead after continuing resuscitation efforts failed.