Design of wireless network for applications of telemedicine