No dental interne or resident certified under section 45:6-20 of this Title to any public or private licensed hospital or other public or private institution shall receive, collect or be entitled to, either directly or indirectly, any fees or compensation for any services rendered, while acting as such interne or resident; but nothing herein contained shall be construed to prevent or prohibit the public or private licensed hospital or other public or private institution to which any interne or resident is attached from providing compensation out of its funds for services so rendered by such interne or resident. The services rendered by any such interne or resident shall be strictly confined to the inmates and registered patients of the public or private licensed hospital or other public or private institution to which he is attached, and shall be performed under the supervision of a regularly licensed dentist of this State, who shall be a member of the staff of such hospital or institution. Every public or private licensed hospital or other public or private institution to which any such interne or resident is attached shall be subject to inspection by the board, or by its duly accredited inspectors or representatives.
N.J.S. § 45:6-21