Does putting them in the fridge significantly lengthen the time they remain edible? (I remember an onion expiring in a _different_ way when cooled and haven't actually experimented, so am unsure.)
PS. I hope/wish you have an uncomplicated (in any way) recovery.