Electronic medical records stress doctors out. They’re also a rich source of data on just how stressed they are.