The Rise of Telemedicine: Survey and Perspectives