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