Shit, that's horrible.
Life is more fragile than we realize. It's a miracle we last at all, given the complexity of our biology. Sometimes its important to remember how easily life can end, and someone you care for coming so close has to drive that point home. Hope everything turns out well.