(a) The Director of Public Health, or his duly authorized deputy, is hereby authorized and directed to quarantine and/or examine any person of either sex whom he has reasonable grounds to believe is afflicted with a venereal disease and is likely to expose others thereto.
(b) Owing to the prevalence of such diseases among sex offenders, the arrest of any person of either sex for (1) vagrancy involving a sex offense, prostitution, being a keeper, inmate, employee, or frequenter of a house of ill fame, prostitution, or assignation, being a lewd or dissolute person, or (2) adultery, lewd or lascivious conduct, or other criminal charge involving a sex offense; is to be considered and is hereby declared to furnish reasonable grounds for the examination provided for in the preceding subsection; provided, however, it shall be the duty of the Director of Public Health, or his duly authorized deputy to examine into each such arrest and the circumstances leading thereto, in order to determine whether there exists in fact reasonable grounds to believe the arrested person to be afflicted with a venereal disease. The term "prostitution" as used in this subsection shall include the giving or receiving of the body for sexual intercourse for hire and the giving or receiving of the body for indiscriminate sexual intercourse without hire.
(c) In furtherance of the purpose of the two preceding subsections, the Director of Public Health, or his duly authorized deputy, shall have the power to quarantine and/or examine, in such a manner and by such methods as modern science has found to be proper, all persons taken into custody by the Police Department of the City and County of San Francisco who are suspected by the Director of Public Health, or his duly authorized deputy of being afflicted with any venereal disease.
(d) No person convicted of any of the charges mentioned in Subsection (b) of this Section shall be released until examined for such venereal diseases by the Director of Public Health, his deputy or assistants.
(e) When any minor has acquired a venereal disease, his or her parents or guardians shall be legally responsible for the compliance of such minors with the requirements of the rules and regulations pertaining to venereal diseases.
(f) In addition to the powers and duties herein mentioned and the other powers and duties imposed upon him, the said Director of Public Health shall have the power to and shall make and promulgate such rules and regulations as are reasonably necessary for the prevention and control of venereal disease in this City and County and to effectuate the provisions of this Section.
(g) Nothing in this Section shall be construed to require that any person who adheres to the faith or teachings of any well recognized religious sect, denomination or organization, and in accordance with its creed, tenets, or principles depends for healing upon prayer in the practice of religion, shall submit to or receive any medical or physical treatment; but such person, if found to be afflicted with any venereal disease, shall be subject to isolation or quarantine in accordance with this Section and the law of the State of California.
(h) If any Subsection, Subdivision, paragraph, sentence, clause or phrase of this Section is for any reason held to be unconstitutional, such decision shall not affect the validity of the remaining portions of this Section. The Board of Supervisors hereby declares that it would have passed this Section and each Subsection, Subdivision, paragraph, sentence, clause or phrase thereof, irrespective of the fact that any one or more other Subsections, Subdivisions, paragraphs, sentences, clauses or phrases be declared unconstitutional.