Answer:
All praise is due to Allah, exalted is He, and peace and blessing be upon His Messenger.
If the illness is such that by fasting it will prolong or intensify then the person is not required to fast. A fidya should be given for every fast missed; Fidya is the amount one gives as sadaqatul fitr.
And Allah knows best.
Answered by: Maulana Ashraf Zaman