Digital patient data creates an interesting ethics problem. A patient could have information like a deadly allergy risk on their record, which maybe you can't read, but 999 other patients are going to benefit from the same care.
BTW, use the emergency info of your phone: https://www.androidcentral.com/how-add-emergency-information...; https://support.apple.com/en-us/HT207021
I think if the story went like "we treated the patient immediately, but she had a rare allergy which we couldn't look up in time because a ransomware attack took our network down", it would be much more of an everyday story.
Assuming the hospital must have had a better triage response is like assuming authorities should have taken some murder threat seriously and stopped it. Maybe.. depends on frequency and other outcomes and doesn't really absolve the murderer either way.