N.B.
Is he peeing. That's the line between almost dehydrated and dehydrated. If he's peeing then he's still got fluids in him. If he's not peeing then he needs to be in the hospital with a bag of fluids going in via IV.
I would have looked at the doc and been pretty darn concerned. Food poisoning is dangerous for adults, for kids it's much worse.