Dr. Perry Cox is Chief Attending Physician in Scrubs .
J.D . begins work at Sacred Heart under Chief Attending Physician Dr. Perry Cox ( John C. McGinley ) , who generally refers to J.D . as `` Newbie '' or by a series of girls ' names .
J.D. -LRB-Scrubs-RRB-