Smartphones help patients cut waiting times in China