Cannot answer specifically but a straight C&P here...
Sqad hates me for those
about six to eight hours
Digestion time varies between individuals and between men and women. After you eat, it takes about six to eight hours for food to pass through your stomach and small intestine. Food then enters your large intestine (colon) for further digestion, absorption of water and, finally, elimination of undigested food.
Eccles, not everything eaten goes through the system at the same speed. So if something has been particularly tough to break down in the stomach, it may end up being vomited several hours after. In may case, the tougher bits of broccoli can linger longer and so if I were to cough it up it would be present.
Some meals seem to be digested without issue but others are not and vomiting occurs. A far as can be determined wheat is a common factor.
It just struck me as odd that five hours after eating the person in question was throwing up as it seemed a long time after the meal but they often feel that their meal 'sits' rather than transiting.
There are certain conditions in which food may be retained in the stomach (Gastroparesis) and these may include drugs, anti depressives, uncontrolled diabetes and food allergy e.g wheat.