A wireless body sensor network for clinical assessment of the flexion-relaxation phenomenon