If the vomitus contains undigested food then gastroparesis is very likely to be present. They are controlled by a complex nervous system. Diabetes can damage these nerves and it is this neurological long term complication of diabetes that can lead to gastrointestinal disorders. First, many of the people with gastroparesis have long-standing diabetes and evidence of damage to other organs. Finally, there are cases of people without diabetes who have their nerves cut and they develop the symptoms of the disease.
Nerve damage occurs over the course of years.
But even people who haven't had diabetes for a long time can develop gastroparesis. A clear example is the person who develops diabetic ketoacidosis and experiences the symptoms of this disease including nausea, vomiting and abdominal pain. Professionals now think that even short-term hyperglycemia may cause problems of the GI tract. So now let's look at how gastroparesis can present itself. If you have this problem the grinding function of the stomach is greatly reduced or lost.