The doctor is still in.

Fox finally renewed “The Resident” Tuesday  for a fourth season after a long deliberation.

The drama, shot and set in metro Atlanta, brought in decent ratings and has developed a loyal audience. (USA Today for some reason did not include the show in its annual "Save Our Shows" survey.)

Fox notes that counting multi-platform viewers, “The Resident” draws nearly 10 million viewers a week. In overnight ratings, the show came in fourth among 14 Fox scripted shows this past season and ninth in the 18-49 demo.

It’s unclear why there was a hold up. Though overnight ratings had fallen about 20 percent from season two, ratings did edge up in March.

The show concluded April 7 with its 20th episode. Three episodes were not finished when the pandemic began.

“The Resident” focuses around medical staff at the fictional Chastain Memorial Hospital in Atlanta and stars Matt Czuchry, Emily VanCamp, Bruce Greenwood, Manish Dayal, Shaunette Renée Wilson, Malcolm-Jamal Warner, Jane Leeves and Morris Chestnut.

The show shoots most of its indoor scenes at Film Rockdale Studios in Conyers. Exterior shots and some interior entry scenes are done at the High Museum in Midtown.

Fox also renewed comedy “Last Man Standing” starring Tim Allen, which used to air on ABC.