Does 'coded' actually mean you can see the code and check it?
My partner has seen a copy of a letter sent last week, which ends with 'Employment - 'Dismissed from services'. Date of it suggests it is based on a letter 'discharging' them from a clinic, as in no longer being treated.