In summary I don't think it's only lack of willingness; bad design was baked in from the beginning and piled up over the years.
As an aside, speaking as doc and programmer whose been in this field for more than a decade, I repeatedly find hilarious the hubris from developers coming from outside the field who think they are gonna fix healthcare with their amazing new perspective. Poor bastards. I feel sorry for the ones who aren't being arrogant dicks about it.
I recently reconnected with a guy who had a super high profile successful startup (like, success level=my mom even uses it) who tried to start his next company in healthcare. Fast forward a few years (i.e. a few weeks ago) and he sounds like he has PTSD