Researchers have developed technology that enables a smartphone to perform lab-grade medical diagnostic tests that typically require large, expensive instruments.