merge arrival, departure and state change event into the EpidemicEvent