Such part of the sums appropriated for the administration and maintenance of the general work of the department of health and of the department of education as may be necessary for the carrying out of the duties imposed on these departments by this chapter are made available for the carrying out of the purposes of this chapter.