In “The Hostile Hospital,” from the Lemony Snicket “Series of Unfortunate Events” books, the three young orphans at the center of the story visit the fictitious Heimlich Hospital, where Babs, the head of human resources, asks them if they know what the most important work done in a hospital is.

“Healing sick people?” one of the children asks innocently.

“You’re wrong,” Babs growls, silencing the children. “The most important thing we do at the hospital,” she continues without flinching, “is paperwork.”

It’s a satirical stab that comes uncomfortably close to the truth.

Paperwork, or documentation, takes up as much as a third of a physician’s workday; and for many practicing doctors, these administrative tasks have become increasingly intolerable, a source of deteriorating professional morale. Having become physicians in order to work with patients, doctors instead find themselves facing piles of charts and encounter and billing forms, as well as the innumerable bureaucratic permutations of dozens of health insurance companies.

But despite the paperwork burden, there are few studies on the amount of time current doctors devote to charting, ordering, filling out forms and dictating. That is, except among one subset of doctors — doctors-in-training, or residents.