** Mental Illness Classification SAS Formats ; ** Two SAS formats are used for classification. The format $psychf groups 3-digit ; ** long diagnosis codes into the three mental health categories. The format $psychl ; ** labels the three groups as Major (psychotic), Minor (non-psychotic) and Other ; ** (other disorders). The labeling does not match the deliverable because the change ; ** in category labeling occurred late in the analysis.; value $psychf '295'-'299'='1' '300','301','306'-'309','311'='2' '290'-'294','302'-'305', '310','312'-'319'='3' other='0'; value $psychl '1'='Major' '2'='Minor' '3'='Other' ' ','0'='No MH' '4'='Non-MH User'; ** SAS Code ; mhgrp=put(diag,$psychf.); format mhgrp $psychl.;