A miraculous survival story has emerged out of a Florida mother's routine c-section surgery.

40-year-old Ruby Graupera-Cassimiro was set to be pronounced dead by doctors at Boca Raton Regional Hospital after she suffered a rare amniotic fluid embolism.

It occurred after the baby was delivered without any issues.

Graupera-Cassimiro is now doing well, despite going 45 minutes without a pulse.

Here's more from AP:

A Florida mother is home and tending to her new infant less than a month after surviving without a pulse for 45 minutes following complications from a routine cesarean section.

A spokesman for Boca Raton Regional Hospital told The Associated Press on Sunday that a team of medical workers spent three hours attempting to revive the woman after a rare amniotic fluid embolism.

Spokesman Thomas Chakurda says the doctors were preparing to pronounce her death when a blip on a monitor indicated a heartbeat. Despite going 45 minutes without a pulse, she suffered no brain damage during the Sept. 23 ordeal.

"She essentially spontaneously resuscitated when we were about to call the time of death," said Thomas Chakurda, the hospital spokesman.

Doctors had called the family into the operating room and told them there was nothing more they could do for 40-year-old Ruby Graupera-Cassimiro.

Graupera-Cassimiro gave birth to a healthy daughter before amniotic fluid entered her bloodstream and heart and created a vacuum, stopping circulation. Doctors say condition is often fatal.

Chakurda said the woman's survival is a story of two miracles - her resuscitation and the fact that she survived without serious brain damage.

Medical workers used shock paddles and chest compressions throughout the emergency to try and restore heart beat and circulation, Chakurda said.

"Today she is the picture of health," he said.

Doctors had no immediate explanation for her survival, Chakurda said, calling her case one of "divine providence."

Graupera-Cassimiro did not return a phone message left by The Associated Press on Sunday.

Graupera-Cassimiro said when she awoke, she had no idea what had happened, but then remembered something from the time that she was unconscious.

"I remember feeling a force telling me you're not coming here, it's not your time," she said. 

Her gynecologist, Dr. Michael Fleischer, talked to Kimberly Guilfoyle on "Fox and Friends" this morning, saying the c-section was completely normal, but Graupera-Cassimiro stopped breathing while in recovery.

A healthy baby girl, named Taily, had already been delivered.

Fleischer described the dramatic series of events that unfolded after doctors initially thought they could not save the woman. 

He said family members came in and were praying while chest compressions were being performed on Graupera-Cassimiro.

Fleischer recalled a very emotional scene, with the family praying and Graupera-Cassimiro's mother saying "please God, take me instead."

A nurse then ran back out to tell the family that her heart was beating again after they had said their goodbyes. 

Watch the full report and interview above, and read more details from the Sun-Sentinel.