No, I'm afraid not.
Atos will expect the ESA50 completed and returned by the due date, but your friend can make mention of the fact on page 18 under "Other information" that she is undergoing hospital tests at the present time.
Nothing on this board constitutes legal advice - always consult a professional about specific problems