How Was Osvaldo Benavides Written Off of 'The Good Doctor'?

It was only on October 26 that it was reported that Osvaldo Benavides was set to leave The Good Doctor in Season 5 shortly after becoming a series regular, but the actor has already been written off the show.

The actor portrayed Dr. Mateo Rendón Osma in the ABC drama, and he first joined the show during the Season 4 finale.

Following reports from TVLine about his departure, a representative for Benavides told Newsweek: "About Osvaldo Benavides, and his work in The Good Doctor, everything [is] ok.

"He had a great experience working [these] past few months in Canada and now he's back in Mexico, ready to wrap up the year."

So how did his character depart the show? Here is everything you need to know.

How was Osvaldo Benavides written off The Good Doctor?

Benavides' Dr. Osma did not make an appearance in Episode 5, "Crazytown", which aired on November 1.

Instead his character was given an unexpected, off-screen exit when his girlfriend Dr. Audrey Lim (Christina Chang) informed Salen Morrison (Rachel Bay Jones) that he had suddenly gone to Guatemala on a medical mission.

Dr. Lim explained that his mission was "urgent" and said he would return in "a few more days", which she knew because he'd left her with a bottle of wine and a note saying as much.

However, his return started to be put into question when he sent his ex-girlfriend Rosa to St. Bonaventure to be treated by Dr. Lim, and she informed the other that he would often leave her for days or weeks at a time, before one day he just didn't come back.

Rosa detailed how her relationship with Dr. Osma simply fizzled out because "someone, somewhere needed him" and he couldn't stay put in one place for long.

Explaining what happened, she said: "He would go on medical missions all the time. Sometimes with no notice. I would wake up and find a little gift — like a book or a bottle of wine — and a sweet note.

"After a few days, or weeks, he would come back and everything would be good. And then one time he didn't. I waited for a long time. Too long."

Despite her own experience, Rosa tried to reassure Dr. Lim that he'd told her he'd return but the medical professional seemed less convinced.

Dr. Osma wasn't responding to any of Dr. Lim's texts or calls, but he was clearly ghosting his girlfriend because his ex Rosa was receiving messages from him.

In the end, Dr. Lim chose to end things herself and left him a voicemail in which she told him he could return to work if he wished but shouldn't come back for her.

The Good Doctor Season 5 airs every Monday on ABC at 10pm ET.

The Good Doctor
Christina Chang and Osvaldo Benavides as Dr. Audrey Lim and Dr. Mateo Rendón Osma in "The Good Doctor". Jeff Weddell/ABC