GMB, the union for NHS workers, has praised staff in the wake of yesterday's cyber attack.
But the union says the online security of the health service has been compromised by years of under funding.
Rehana Azam, GMB National Secretary, said:
"Yesterday's cyber attack was incredibly difficult for the NHS but, as they do with every crisis, staff responded with their usual selfless professionalism.
"The public can have absolute faith that despite these difficulties their well-being will always be the main priority.
"However to find our vital NHS IT systems so chronically underprepared for this kind of attack - with some even running windows XP - is extremely worrying.
"But it's hardly surprising when NHS funding has been cut to the absolute bone by the Government.
"When hospitals are so overstretched they are turning patients away, it's hard to find the time and resources for cyber-security."
Contact: GMB press office on 07958 156846 or at email@example.com
Picture used under creative commons from: https://www.flickr.com/photos/mariuseisenbraun/24014460639/in/photolist-CA5ouP-4pMBrT-CrdC3E-CVDui8