Facing the prospect of a major medical procedure can lead to profound life changes and a renewed sense of gratitude.