If her doctor told her she should not fast the remainder of the month of Ramadhan, then she should not fast. After Ramadhan, she simply makes up those days (when she feels better) just like she’d make up those days she missed due to her period. She doesn’t have to pay any Kaffara or Fidya. She just makes up the missed days.