Thanks for using the forum.
If your mother has been sick for 2-3 weeks, she is at risk of dehydration, electrolyte imbalances, not to mention that her blood sugar has probably not been well controlled. I recommend that you bring her to see a doctor as soon as possible. Please take her to the doctor, an ER, or an urgent care right away.
Jaundice is a sign of damage to the liver. This is a serious medical concern and should be checked right away.
2 to 3 weeks of vomiting is life threatening she can die of dehydration she need to see an MD or the ER (emergency room). Please seek medical help