My one year old girl has been popping light green

Patient: My one year old girl has been popping light green slim she is vomiting all her food her stomach is rock solid though there is no food inside the doctors at the e.r said its the flu but its been 5 MONTHS n now she is losing wieght

Doctor: