The doctors had to be so certain that it was life threatening before acting that once they decided it was life-threatening, she was already going to die no matter what they did. And this is not an isolated incident.
The law has to allow for more uncertainty for the carve-out to be effective.
This might blow your mind, but for a condition to truly be life treating some people will probably die even if they have treatment, otherwise by definition it would not be a life threatening condition.
For example doctors have to wait for sepsis to actually occur before treatment, thus some will die because they loose to the infection