What film starred Robin Williams as a doctor?

Ron Williams played a medical doctor in three films - Awakenings, Nine Months and Patch Adams. He played a psychiatrist in Good Will Hunting.