Swollen ankles and painful joints are not caused by a respiratory infection unless the patient has developed a critical illness with heart or kidney failure. There is no obvious reason for mild anaemia to cause the symptoms unless there is an underlying problem such as a parasite in the bowel or muscles. This sounds like a collagen vascular disease, and a rheumatology specialist will need to evaluate the problems if they persist.