Hmmm... One other way of interpreting it:
If the D313 is written on the PCB (and not on the device), it's just a
placement identifier and will bear little resemblence to the part
number. It would just mean something like "Board 3, Diode 13".
But if it's written on the actual device, then go with GK's advice.