Thanks for posting your query.
Presence of cough along with ankle swelling may be due to persistent bronchitis
with effect on heart or may be due to primarily heart disease
Presence of pedal edema
is in favor of heart involvement.
You should consult with internal medicine specialist/ cardiologist and should go for thorough check up.
He should also go for chest x ray, ECG, 2 D echo and coronary angiography
He should take diuretics along with cough suppressants for relief of symptoms.
He should also restrict salt intake and should take low fat diet.
He should also consult with physiotherapist for faster recovery.
Dr. Mayank Bhargava