Added type code to participant and set when event is generated. Feature ...

...#3599