Any person convicted for any violation of this chapter or of any other statute relating to lewd or lascivious behavior or unlawful sexual intercourse, and who shall be confined or imprisoned in any correctional institution for more than ten (10) days, may be examined by the department of health for venereal disease, through duly appointed, licensed physicians as agents. Any person that is examined may be detained until the result of the examination is duly reported. If found with venereal disease in an infectious stage, the person shall be treated, and if a menace to the public, quarantined, in accordance with rules and regulations, not inconsistent with law, of the director of health, who is authorized to formulate and issue them. Refusal to comply with or obey the rules or regulations shall constitute a misdemeanor and be punishable by fine not to exceed two hundred fifty dollars ($250), or a sentence of incarceration of up to three (3) months, or both.
R.I. Gen. Laws § 11-34.1-11