what causes a cardiac patient to have swelling on the right foot & ankle