Multi-state Markov Models for the Analysis of EMRs Diffusion in Healthcare