In the scene immediately after the opening credits, Jim is talking to Melinda on the phone. Right as he's hanging up, someone calls out "Dr. Clancy? Got a minute?", to which Jim waves in acknowledgement and starts up the stairs. (Jim's spirit has been in Sam Lucas' body since season 4 and in an earlier season 5 episode, his white coat is embroidered S. James Lucas, M.D).