If you have a data set (or even just a list) with the codes then create a custom format that will mark those as "Suicide" and every thing else as "Non-suicide" or whatever term you want.
Proc format library=work;
value $suicide
'T401X2A' = 'Suicide'
other = 'Non-Suicide'
;
run;
A data set can work to make a cntlin data set with the formatname values for start, label and a little extra code to add the "other".
In a data step you could use thing such as
If (put(code,$suicide.) = 'Suicide' then ...
You may search the internet for SAS format ICD-10 as I have heard of number of projects working on bits of this but whether they have your specific need ...
... View more