Tenets Towards Smartphone-based Medical Tricorders