I personally think £40million is outrageous but how much does a system that cannot go down cost?
care.data (about 10 million) https://en.wikipedia.org/wiki/Care.data
Connecting for Health: (over 10 billion!!!) https://en.wikipedia.org/wiki/NHS_Connecting_for_Health
Unfortunately it was far too ambitious and effectively killed private development of healthcare software for the U.K. market in the process, making (for an example relevant to one area of my expertise) dose-based eprescribing a pipe dream despite having produced a ton of useful standards.