Despite anything in the Pensions Act the word “salary” shall not, in the case of a district medical officer, be considered to include house allowance or the estimated value of free quarters unless such house allowance or free quarters is mentioned in his or her letter of appointment.