You should try to put cooked food back into your diet. There's nothing wrong with eating raw food, but cooking is also beneficial in some ways as listed above. Try to eat small servings of one cooked vegetable until you start to feel a little bit better, then keep building it up. Keep some raw food in your diet as it is also beneficial.
However, it would be better if you discuss this with your doctor.