I don’t think you grasp the hodgepodge of obsolete computer systems that are attached to computer networks to run lab equipment, MRI machines, process pharmacy prescriptions, and manage a patient’s chart. Keeping all of this secure and properly backed up is pretty much impossible.
Seriously, I’ve seen machines in use running everything from ancient versions of Sun Solaris to Windows 95.