All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
Know that drinking or eating medicine during the day in Ramadan nullifies the fasting.
There are texts that allow a sick person to break his fast and make it up later.
For more details read the Fatwas: 86889 and 84196.
Allaah knows best.