Yeah, and I mean this without a drop of sarcasm or joking. That's where being one of the richest countries on earth comes in. We should just pay up.
I'd say it'd be a very solid investment. If it's made open-source and some attention is dedicated to build a community and a vendor ecosystem around it, it'll save the NHS and many other similar organizations everywhere a huge amount of money.