This again is mentioned in your visa application. If you visa mentions single entry, then you can enter/exit India only once, if it mentions double entry, then you can visit India twice on the same visa. then for medical visa, the entry is usually triple entry, which means you can enter India 3 times using the same visa. Then you have multiple entry visas which allows you to enter and exit the country as many times as you please.