Gravar-mail: Agent-based Modeling for Ontology-driven Analysis of Patient Trajectories