Any person confined or imprisoned in the Connecticut Correctional Institution, Somers, or in a community correctional center or in any other institution for a period of ten days or longer may be examined for any communicable disease, and, if found infected with any such disease, he shall be treated during the term of his confinement and, if not cured at the date of his discharge, the local director of health shall be notified. The person in charge of each such institution shall provide for such examination and necessary treatment of all such persons admitted thereto. The Department of Public Health may make such regulations or orders as, in its judgment, are necessary to carry out the provisions of this section.