Hello L. :)
What you have is serious and should be looked at by a cardiologist (heart specialist). You need to seek one immediately. The swelling sounds very familiar and you may need pressurized stockings.
Pressurized stockings help the blood from your legs up to your heart. The doctor will explain it to you more thoroughly. You may need a prescription for pressurized stockings from an "infectious disease doctor", they deal with persons with cellulitus, etc. I hope you call each one of these doctors I am mentioning.
The EKG is great. It really sounds like you need to be on a blood thinner too, but your cardiologist will help you.
Just in case, IF you have 'atrial fibrillation', the cardiologist will order a 'cardio version' for you. What that is, is the anesthesiologist will give you medication that will put you out, asleep, for about 5 minutes, then they will jump your heart to put it back into a normal heart beat. But from what I experienced with my friends, they were put on a blood thinner, with close supervision, seemed like every week for about 2 months, your cardiologist will set a date for your cardioversion procedure. The cardiologist will shock the heart. It's really a quick procedure. Make sure that you are not eating anything for 8 - 12 hours, the anesthesiologist is serious about that......because, if you eat 6 hours before the procedure, the anesthesiologist will not give you any medication because he/she doesn't want to take any chances of you vomiting and that the vomit going into your lungs.
I thought I'd share a little extra because the heart is an important muscle in our body. I hope that others will consider a cardiologist for themselves as well. So important. What we do today will have a great impact on our heart. Oh. I wanted to mention to you, if you are getting headaches from any new heart medications, call your cardiologist right away and let them know what's going on with you. They should be able to write you out a different prescription or they'll be happy to call in your prescription to your current pharmacy. That's what my friends do.
Work close with all of your doctors and I wish you the best of luck.
I wish you well,
M........Take Care!:)