Custom diagnostic codes

to be able to add custom diagnostic code to the default ones that are in the system