Another story with a happy ending. I hope it helps you to feel more positive. 
My father's gall bladder burst, unnoticed, whilst he was in hospital, until the gangrene/necrosis that had set in reached his liver and he started bleeding out.
He was in the process of being discharged at the time, and I went from expecting him home to being told to get to the hospital quickly before he passed away.
They tried for 5 hours to stabilise him by the bedside before giving up and risking taking him for a scan (which is when they realised his liver was bleeding out).
They then operated on him for 5+ hours without much hope and cut away all the necrotising/gangrenous flesh and tried to stop the bleeding. He made it through the operation and they left his abdomen packed open in order to go back into surgery the next day, if he survived the next 12hrs.
He was in a coma until New Year's Day from the collapse/surgery in mid December.
During that time he contracted infection after infection and then sepsis set in. The prognosis was very poor.
Every time the consultant visited he was surprised that my dad was still alive as he was 75 at the time and already in poor health with heart problems, etc.
When he woke up, he was suffering delirium and he contracted mrsa and sepsis again. In total he spent around 6 months in hospital.
That was a year ago, and although it's taken a while, he's made a good recovery and is pretty much back to normal now.
He recovered fully from the sepsis, even though he's old and was in poor health.
I'm sending your db much strength and best wishes for a full recovery.
My thoughts are also with you.
Stay strong and look after yourself.