What is the difference between the department code and the Dept ID?

In UCPath, the deparment code is a series of letters which identifies a given department (ex: KNBAM). 

The Dept ID is numerical digits, which are part of the chart string, identifying the associated department (ex: 37250).