Section 10. The superintendent of a state-operated veterans’ home may establish a program for the training of residents in medicine, surgery, urology and such other specialties and sub-specialties of medicine as may be deemed advisable. The persons undergoing such training shall be designated as follows and shall be eligible for training grants from the commonwealth; provided, such grants shall be exempt from chapter 62; provided further, recipients of said grants shall not be subject to chapter 31 and shall not be deemed to be employees of the commonwealth. Approval of the training program by the personnel administrator shall be required in accordance with the provisions of section 28 of chapter 7.