Based on the information you are having the regurgitation of food from the stomach and you are know patient of Ehlers-Danlos Syndrome
, and wanting to know what is it? and its ok if you take ranitidine
The answer to that question is "YES" you may take ranitidine for the acidity.
Now since you have Ehlers-Danlos Syndrome you may have weak stomach valve /food entry valve which keeps food to stomach and not go back in oesophagus. So you are having trouble of getting that one way valve closed, which allow the food to regurgitate.
1) Try taking small meals.
2) Make sure you walk (slow walk) after meal, for about 30 min.
3) Do not lay down immediately after meal (stay awake about 2 hrs).
Hope it helps.