By Stephanie Stahl

CAMDEN, N.J. (CBS) – Two lives were at stake during a heart procedure in South Jersey. The heart team at Our Lady of Lourdes Medical Center does valve replacement surgeries all the time, but last week the team had a case with all kinds of complications. Their solution had never been done before.

It was a pregnancy that was in jeopardy, and so was the life of 25-year-old Elenilza Souza, who’s from Brazil but lives in N.J. with her husband of six months.

READ MORE: Pete Rose Dismisses Sexual Misconduct Questions At Phillies' Alumni Weekend: 'It Was 55 Years Ago, Babe'

“I started feeling really short,” Souza said.

It was her mitral heart valve failing again, damaged by rheumatic fever as a child.

Arthur Martella is the chief cardiothoracic surgery at Our Lady of Lourdes Medical Center. He thought it was a routine case until they found out Souza was pregnant.

“We don’t plan the baby, a big surprise for us for sure,” Souza said.

Teens Don’t Know E-cigarettes Are Addictive, Can Damage Their Lungs, Study Finds

“That changed the dynamic of things but it also meant that we were on a clock,” Martella said. “Then we had to do this is a certain time frame when it was the least risky to the baby.”

Another challenge is that it would be Souza’s second transcatheter valve replacement.

Interventional cardiologist Ibrahim Moussa said this kind of procedure had never been done before on a pregnant woman.

“You can’t let your emotions play a role into your decision making,” Moussa said.

READ MORE: Man Shot In Hunting Park Section Of Philadelphia

Over 150 People In 10 States Infected With E. Coli After Eating Tainted Ground Beef

They mapped out a detailed plan for a big team of Lourdes specialists.

The surgery would take place just as Souza reached her second trimester.

“It was scary,” Souza said. “I was scared for my life and for the baby’s life.”

In surgery, there was yet another complication.

Cancer Treatment Centers Of America Building Cancer Patients Back Up With Imagery Recovery Center

Doctors couldn’t access the valve going through the groin, so while keeping her heart beating, they went between the ribs.

The valve replacement was a success and the baby did well too. He’s active and normal.

“It’s a really strong baby and I just want the best for him,” Souza said.

MORE NEWS: Philadelphia Weather: Week Starts With Muggy Conditions Before Cold Front Arrives

The baby is due Oct. 11. Souza will be carefully watched, but doctors say they don’t expect to see any more complications.

Stephanie Stahl