Vitamin b 12 and d deficiencies do not have any effect on day to day activites and pain
associated with it. The deficiencies are rare and are not a cause of worry. Your gastric pain and pain in heel seem to be unconnected. Gastric pain could be peptic in origin and your family doctor can treat it without much investigations. Pain in heel needs a closer look. It may require an orthopaedic consultancy, but let it be decided by your family doctor. So see a physician.