Royal Pains‘ Jill Flint might’ve left the Hamptons, but she can’t seem to shake hospital life.

The actress has joined the cast of NBC’s medical drama pilot After Hours, TVLine has learned.

Flint will play Dr. Jordan Santos, newly promoted chief of the night shift and ex-girlfriend of TC (played by Irish actor Eoin Macken). The character is described as intelligent and take-charge — especially when it comes to keeping her roguish former flame in check.

Army Wives‘ Brigid Branagh, Lost‘s Ken Leung, Six Feet Under‘s Freddy Rodriguez, Roswell‘s Brendan Fehr and Alcatraz‘s Jeananne Goossen have already been cast in the project, which follows a team of doctors and nurses working the graveyard shift in the ER at San Antonio Medical Center.

Flint’s Royal Pains character (also named Jill) left the USA dramedy last season to perform medical work in Africa but will appear in the series’ holiday special in December. Flint also recurs as FBI agent Lana Delaney on The Good Wife.