Procedure prediction from symbolic electronic health records via time intervals analytics