Pearce's family, friends and colleagues gathered Monday morning at St. Thomas More Catholic Church in Chapel Hill to remember the 27-year-old student.
Pearce died Friday morning from complications related to a virus he contracted treating a pediatric patient in January.
Pearce knew pursuing his goal of becoming a physician could shorten his life, but he entered the School of Medicine with the intent of finding a cure for cystic fibrosis, a genetic disease he had since birth.
"'My illness has been a learning experience. The lessons at times have been costly but made me who I am,'" a medical school faculty member recalled Pearce saying before his death.
An entire section of church pews was filled with Pearce's classmates, all wearing their white lab coats in Pearce's honor.
In his casket, Pearce was also wearing his white lab jacket and his stethoscope.
Medical student Phuong Doan reminisced about Pearce's sense of humor. Doan said Pearce was known for his numerous impressions, including one of Michael Jackson, complete with white glove.
Doan also marveled at Pearce's sheer dedication to medicine.
"He is with us as an example of what we should be as physicians," Doan said.