According to Deadline, the actress will appear in a project penned by Parks And Recreation writer Dan Goor.
The show, which is currently untitled, focuses on a young doctor called Adam who joins his family's medical practice.
Esparza will play the centre's resident nurse, who tries to help out Adam. Adam may also be attracted to her.
The project is in contention for NBC's 2011-2012 season.
> Jean Smart signs up for NBC comedy pilot
> Click here for more news about the 2011-2012 season