Epididimys Removal

Has anyone had their epididimys surgically removed? I am faced with this prospect due to continued pain and swelling of my left testicle every time I have sex. Thanks.