I knew a highly trained MD now retired. She told me all the errors the EHR system made. It was chilling. she spent an hour per night updating a shadow paper system so she would not kill anyone. It sounded kinda like some computer database people had written commercial avionics but they had never flown an airplane.
The law requiring/urging the EHR was passed well before Obamacare. Perhaps in exchange for campaign cash from Dem donor Epic in Madison.