Whenever the State Board of Health or its authorized representative shall discover, as a result of its own investigation or as a result of any report required by this article, that any person may be afflicted with tuberculosis, the State Board of Health, through its authorized representative, shall investigate or further investigate the circumstances and, if after investigation, the representative of the State Board of Health is of the opinion that an active case of tuberculosis is found, he shall encourage the person infected to take voluntary treatment to meet the minimum requirements prescribed by the State Board of Health. If such afflicted person refuses voluntary treatment, than the state board of health, through its authorized representative, may petition the probate court to order commitment of the afflicted person for compulsory treatment and quarantine as further provided in this article. The compulsory treatment and quarantine shall be at a facility designated by the State Board of Health as a Tuberculosis Recalcitrant Treatment Center. The afflicted person shall be committed until, in the opinion of the attending physician, the afflicted person's tuberculosis is cured or said person is no longer a threat to public health. The court issuing a commitment order under this article shall retain jurisdiction of the afflicted person and may recommit said person if having been discharged, said person fails to complete the prescribed course of outpatient treatment. The cost of compulsory treatment care and maintenance of persons committed to a contract tuberculosis hospital under the provisions of this article shall be provided for by the state from any funds appropriated for the care and treatment of tuberculosis patients in a manner determined by the State Board of Health. Any funds appropriated to pay the state allocation provided for in Section 22-11A-12 may be spent for such purpose on requisitions signed by the State Health Officer. Nothing in this section shall be construed to authorize or empower the medical treatment of any person who desires treatment by prayer or spiritual means, in the exercise of religious freedom; provided, however, that such person shall be quarantined or isolated, or both, and while so quarantined or so isolated, or both, shall comply with all applicable sanitary rules, laws, and regulations.