EHR dataset have long been used to better understand the medical risk, be it at a population or at an individual level. In this talk we present some typical approaches leveraging EHR dataset and AI, and develop further the key sensitive points to make it successful.