New device credited with saving woman's life after sudden heart attack