This title is intended to provide the authority for state and local correctional, custodial, and law enforcement agencies to perform medical testing of inmates and prisoners for the purposes specified herein. However, notwithstanding any other provision of this title, this title shall serve as authority for the HIV testing of prisoners in only those local facilities where the governing body has adopted a resolution affirming that it shall be operative in that city, county, or city and county. Testing within state correctional facilities under the jurisdiction of the Department of Corrections and state juvenile facilities under the jurisdiction of the Department of the Youth Authority shall not be affected by this requirement.
Ca. Pen. Code § 7505