The drama for the workers at Angels Memorial Hospital will continue to be televised.
CBS has handed out a renewal to Code Black for Season 3 for an undisclosed number of episodes.
The fate of the series has been up in the air ever since Code Black Season 2 concluded in February.
The ratings were not great, with Season 2 averaging just 6 million viewers and a 1.0 rating among adults 18-49.
Those figures represent a decline of almost 25 percent vs. Season 1.
However, the series was a reliable performer in the Wednesday night time slot with Criminal Minds as a lead-in. Other series have failed to bring an audience to that timeslot.
Katherine Heigl's Doubt was canceled after just two low-rated episodes, with Criminal Minds: Beyond Borders was slotted in to replace it.
The Criminal Minds spin-off has struggled in the ratings in Season 2 and is not expected to return.
With the ratings being low for Code Black, producers opted to revamp the series for Season 2 by saying goodbye to fan favorite characters, Christa and Neal.
Rob Low was later added to the cast and the series, but it was not enough to help the ratings rise. It's unclear whether more changes will occur before production on Season 3 begins.
Season 2 concluded with a virus outbreak at the hospital, giving everyone inside hours to live. Everything was actually alright for the characters in the end.
It was a happy ending after a string of episodes with uncertain themes, presumably in case the ax was swung on the series.
There are no details as of yet on when the series will return but expect more clarity when CBS announces its 2017-2018 schedule over the next few days.
Remember you can watch Code Black online right here via TV Fanatic. Get caught up now!
Over to you, Code Black Fanatics. What do you want to happen in Season 3?
Sound off below!
Paul Dailly is a staff writer for TV Fanatic. Follow him on Twitter.