Yea, if you have celiac which is much more common than most people know, merely the elimination of wheat wouldn't be enough. I have a crumb of any gluten and I get sick. You might not be as sensitive, if you have it, but perhaps you have substituted the wheat with some other gluten-containing food?
My daughter had similar symptoms, and thought it was an ulcer. An endoscopy during an "attack" showed no evidence of an ulcer. Turned out to be gluten intolerance. Do you also have bloating and extreme pain in the stomach area? She has cut out all gluten: not just from wheat, but barley, beer, soy sauce, oats, rye--of course all breads, pizza, pastries, etc. Gluten is also sometimes a hidden ingredient in processed foods. She hasn't had a bout since--except when she slipped and ate breaded shrimp--and her stomach swelled up and became painful. Also, I think these acid blockers over the long haul aren't good for one's digestion because the process must begin in the stomach, and when it doesn't (due to acid blockers)--the undigested food moves on to the next station unprepared. My daughter avoids anything that smacks of msg (they also go under assumed names in the ingredient list of processed foods). Check that out, too.
Obtaining blood tests to exclude infection or malabsorption is recommended.
If the diarrhea is chronic, I would also consider an endoscopy to visualize the lower GI tract. This can be done with a colonoscopy or flexible sigmoidoscopy.
If the symptoms continue, blood tests for celiac disease can be considered.
Acid reflux can lead to the chronic nausea. I would also consider other causes of dyspepsia such as inflammation or an ulcer. If suspected, an upper endoscopy would be the recommended tests.
These options can be discussed with your personal physician.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patients education only. Please see your personal physician for further evaluation of your individual case.
Kevin, M.D.
www.kevinmd.com