The number of hours that doctors spend on the job is on the decline, according to a study published recently in the Journal of the American Medical Association.