You're right that there are definitely opportunities for improvement here. As a Product person that has worked in EMR/Healthcare IT systems, I can tell you the biggest challenge is most of the decisions are driven by legally-required compliance. In many cases, you literally cannot make it better because the brokenness is /by design/ to comply with the law.
Nearly across the board, especially in the US, our legal and regulatory climate has not kept up with technology and often actively works to the detriment of technical innovation and improving our systems.