Using wireless technology to improve patient care