Scientists are developing a hand-held device which would provide same-day diagnosis and reduce treatment times.