Scientists have developed a way to take a 'breathprint' which could help diagnose illness in the future with a non-evasive test.