You can eat yam and pork ribs soup in moderation when you have a cough, but you should not eat too much. Because digestive function may itself be reduced when coughing, and ribs are a high-protein diet, and a high-protein diet itself is not easy to digest, if you eat too much ribs soup when coughing, it may cause indigestion, such as nausea, vomiting, abdominal pain, diarrhea, and stomach and epigastric discomfort. Eating yam and ribs soup when coughing is especially suitable for patients with phlegm and spleen deficiency because yam itself has the effect of strengthening the spleen and nourishing the stomach, benefiting the lungs and relieving cough. Patients with cough with phlegm and spleen deficiency have common symptoms such as coughing, coughing white mucous phlegm, more phlegm, accompanied by chest tightness, soft stools, loss of appetite, light red tongue and white greasy coating, etc. They can eat yam and ribs soup in moderation. If the cough is of the lung and spleen deficiency type, the common symptoms include cough, shortness of breath and weakness, recurrent colds, a relatively low cough, a light red tongue and thin white moss, etc. Such symptoms belong to the lung and spleen deficiency type of patients, who can also eat yam and pork ribs soup in moderation at this time.