That's certainly an issue, but one thing that MD's (I am one) are very, very good at is knowing whether a system makes their lives easier or harder. Paper charts had their problems - unreadable handwriting, limited accessibility - but they were a very heavily refined system that served the doctors and nurses who used them daily. EMR's are largely written to maximize billing, not end-user convenience.
I'm an anesthesiologist, so there's really nothing for me to up-code in order to get paid more for the same work (except that I can declare the patient to be higher-risk, or the surgery to be an emergency, each of which nets my group about $20). It's baked into the system, based on what surgery is being performed. So EMR has been good in that I can find old information more easily, and Epic in particular allows me to get information from other health systems that use Epic, but as a practical matter it's not a big improvement in general from the old system in which paper notes were scanned in after discharge and all dictations (admissions, discharge summaries, any procedure notes) were transcribed into it.
But it sure did cost a lot of money.