All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
If you had missed fasting on the days you were sick based upon the advice of a trusted doctor, then you bear no sin for it. You are only required to make up for the missed fast days due to menstruation and sickness, and no expiation is due on you.
Allah knows best.