Department for Health and Social Care estimates the immediate cost of the May 2017 WannaCry attack on the NHS was £92m, and says it will have spent about £275m on improvements to its cyber security infrastructure by the end of 2021
https://www.computerweekly.com/news/252450600/Cost-of-WannaCry-attack-to-NHS-set-at-92m