Hi, thanks for your question. Please rate my answer if you are satisfied.
Your symptoms seem suspicious to me. I'm trying not to scare you but I'm really concerned that "immediate
shortness of breath with any movement" doesn't look like
bronchitis to me. If you have bronchitis and your doctor knows it, he must have started you on a treatment of course, and since you're not improving, it adds more doubt that it must be something else. The shortness of breath with mild exertion and bloody, frothy sputum and leg swelling can be a sign of congestive
heart failure,
chronic liver disease and
chronic kidney disease. TB can also be likely but shortness of breath is usually not associated with mild exertion in TB and leg swelling is not associated with it. In any case, you need a work up. There should be a chest X-ray, ecg,
serum albumin, hep-B, hep-C, urine complete examination,
echocardiogram, tuberculin skin test, Liver function tests and renal function tests. Also, sputum staining and culture. Don't get pissed by a long list of tests but as I have not examined you directly to cut off some of them from my list and your health and life is much more worthy to be saved, so please understand. :)