Medical instrument used for restoring heart rhythm by electric shock