Gravar-mail: Electronic health records-driven phenotyping: challenges, recent advances, and perspectives