Respectfully I disagree. You have surfaced a real valid problem, but I wouldn’t think this solution (abandon their craft) would work.
For me, I am a software engineer, and I also drive Uber. I live both inside and outside the bubble. I feel the pain outside, but should I completely leave tech? I could but that doesn’t solve the problem. I am a bad Uber driver, slow and sometimes missing turns, not good at starting conversations so most of my trips are silent. Imagine I become a politician or lawyer, I don’t think I would do much better because each profession (either politics or Uber driving) requires significant amount of training & practice to reach mastery. The 10,000 hour rule, period.
Whereas right now after I felt the pain outside the bubble, I can then step back in and improve my engineering work, therefore alleviate the pain for those who have to live outside. We do have too many techs, but not enough good ones. Every day I see bugs, app crashes, poor user experience in various tech products, including the ones from Google and Facebook.
Like the “frustrating electronic medical records” example you mentioned, it is not tech causing problems. It is bad tech causing problems. Engineers abandoning their skill to become doctors won’t solve the problem (those engineers without proper medical training would become bad doctors that poses higher risk to society). Instead, tech people should really experience their product from real users’ perspective, and then get back to work and get the shit together.