Gravar-mail: Statistical Relational Learning to Predict Primary Myocardial Infarction from Electronic Health Records