how emr can help mat programs