Coughing up yellow phlegm for six months with no improvement in medication what’s going on?

Coughing up yellow sputum for half a year without getting better with medication can be caused by bronchiectasis, tuberculosis, and incorrect medication.
1. Bronchial dilatation: coughing up yellow sputum for half a year taking medication without improvement can be considered to be suffering from bronchial dilatation, bronchial dilatation is a structural change, the distal bronchial tubes appeared to be persistent dilatation, combined with the infection brought about by coughing up yellow sputum symptoms.
2. Tuberculosis: coughing up yellow sputum for half a year without improvement in taking medication should also be considered to be suffering from tuberculosis, the typical symptom of tuberculosis is coughing, if tuberculosis secondary bacterial infection will appear and yellow sputum.
3. the wrong medication: cough yellow phlegm half a year of taking medication without improvement, can be considered before taking the wrong medication, should be adjusted to the medication.
Cough yellow sputum half a year to take drugs without improvement should go to the regular hospital in a timely manner, by the doctor after a detailed examination to guide the use of medication, to avoid the more the condition is delayed the more serious.