Get all the latest news on coronavirus and more delivered daily to your inbox.  Sign up here

Nick Cordero has undergone a procedure to get a temporary pacemaker following what has been a weeks-long battle amid coronavirus complications.

Cordero's wife, Amanda Kloots, shared an update with her Instagram followers on Friday afternoon.

"So we just got a call from the doctors about Nick and it looks like he had some irregular heart beating last night that scared them enough to want to do a temporary pacemaker in Nick's heart," Kloots explained.

'PARKS AND RECREATION' CAST RETURNING FOR SCRIPTED SPECIAL TO BENEFIT CORONAVIRUS RELIEF

Kloots stressed that the Broadway star's heart is "functioning well" but doctors grew concerned about some "dips" in his heart rate. The pacemaker was placed so doctors "don't have to worry about his heart rate dropping again" should his body need to be moved for more procedures in the future, she said.

An hour after her announcement, Kloots confirmed that the procedure went well and Cordero was back in his room by 3 p.m., just in time for the wife's daily social media called #WakeUpNick, which involves fans sending in uplifting videos with the hashtag.

CHRIS HEMSWORTH ON HOMESCHOOLING HIS KIDS DURING THE CORONAVIRUS CRISIS: 'I'M FAILING MISERABLY'

"We literally just got report that he's back in his room," Kloots said. "Procedure went well. He's doing okay after the pacemaker came in. Right at 3 p.m. we got that call."

CLICK HERE TO GET THE FOX NEWS APP

The temporary pacemaker procedure was put in just days after Cordero had his right leg amputated. He had previously been "heavily sedated" for 13 days, which could be contributing to his current state, his wife said earlier in the week.

Cordero entered intensive care last month, and tested negative for coronavirus several times but Kloots said that doctors are convinced that's the root of his problems. The actor received two negative test results for coronavirus again this week, Kloots said Friday, which has led doctors to think the novel coronavirus is officially out of his system.