I was hospitalized for three days for low blood oxygen

Patient: I was hospitalized for three days for low blood oxygen levels. Since they have released me I have a chronic cough producing greenish-phlegm. But all x-rays of my lungs are clear. Why am I producing phlegm when my lungs are clear?

Doctor: