Appropriate shocks ( hazard ratio , 6.32 ; 95 % confidence interval , 3.13-12 .75 ; P < 0.001 ) and inappropriate therapy ( hazard ratio , 2.61 ; 95 % confidence interval , 1.28-5 .31 ; P = 0.01 ) were significantly associated with an increased mortality risk .