 The filming of the episode was , as expected , a long process . Prior to the episode , the cast underwent a full week of rehearsals , something never before done for a Scrubs episode . A group of eight core dancers were brought in for the dance numbers , while over fifty dancers were involved in the " Welcome To Sacred Heart " scene . There are some notable cameos in the episode , including episode composer Jeff Marx as a pharmacist in " Gonna Miss You , Carla ; " occasional Scrubs musical contributor Keren DeBerg as an extra in " Are You Okay ? " ; and Broadway actress Karen Ziemba ( a friend of Mackenzie 's ) as the neurologist . Further complicating matters was the fact that Judy Reyes had recently fractured her pelvis , and so had to film all her scenes sitting down , and not dancing , aside from her number with Donald Faison ( " For the Last Time , I 'm Dominican " ) , which was filmed approximately 2 months after the rest of the episode . The bald cap D 'Abruzzo wore during the end of the episode took four hours to put on , and she described it as very uncomfortable . 
