Research Paper accepted at JAMIA: Journal of the American Medical Informatics Association (IF: 4.112)