Thanks for the query to H.C.M. Forum.
If I were your treating doctor for this severe cough
with expectoration I would come up with these possibilities , these include.
as there is large amount of expectoration with yellowish in color with greenish and blood in expectoration. Diagnosis can be confirmed X ray
chest with clinical and physical examination by a physician.
2 As you didn't mention the duration of disease so very difficult to evaluate diagnosis but may be due to cancer if short duration. Diagnosis can be confirmed by Xray chest .
3 If you are a chain smoker then may be due to smokers cough with added bronchiectasis
. Diagnosis can be confirmed by X RAY chest and physical examination as well sputum examination.
Usually greenish phlegm may be due to yeast infection.
In my opinion the best way is to consult a physician and get his opinion .
Good luck. Dr. HET