reglab/housing_qa huggingface dataset:
CA Penal Code § 4001.1 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4001.1.

4001.1.  (a) No law enforcement or correctional official shall give, offer, or promise to give any monetary payment in excess of fifty dollars ($50) in return for an in-custody informant’s testimony in any criminal proceeding. Nothing contained herein shall prohibit payments incidental to the informant’s testimony such as expenses incurred for witness or immediate family relocation, lodging, housing, meals, phone calls, travel, or witness fees authorized by law, provided those payments are supported by appropriate documentation demonstrating that the money was used for the purposes for which it was given.(b) No law enforcement agency and no in-custody informant acting as an agent for the agency, may take some action, beyond merely listening to statements of a defendant, that is deliberately designed to elicit incriminating remarks.(c) As used in this section, an “in-custody informant” means a person described in subdivision (a) of Section 1127a.(Added by Stats. 1989, Ch. 901, Sec. 3.)
CA Penal Code § 4001.2 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4001.2.

4001.2.  (a) Each county jail shall, upon detention of a person, ask if the person has served in the United States military and document the person’s response.(b) The county jail shall make this information available to the person, his or her counsel, and the district attorney.(c) This section shall become operative on January 1, 2020.(Added by Stats. 2018, Ch. 281, Sec. 1. (AB 2568) Effective January 1, 2019. Section operative January 1, 2020, by its own provisions.)
CA Penal Code § 4002 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4002.

4002.  (a) Persons committed on criminal process and detained for trial, persons convicted and under sentence, and persons committed upon civil process, shall not be kept or put in the same room, nor shall male and female prisoners, except spouses, sleep, dress or undress, bathe, or perform eliminatory functions in the same room. However, persons committed on criminal process and detained for trial may be kept or put in the same room with persons convicted and under sentence for the purpose of participating in supervised activities and for the purpose of housing, provided, that the housing occurs as a result of a classification procedure that is based upon objective criteria, including consideration of criminal sophistication, seriousness of crime charged, presence or absence of assaultive behavior, age, and other criteria that will provide for the safety of the prisoners and staff.(b) Inmates who are held pending civil process under the sexually violent predator laws shall be held in administrative segregation. For purposes of this subdivision, administrative segregation means separate and secure housing that does not involve any deprivation of privileges other than what is necessary to protect the inmates and staff. Consistent with Section 1610, to the extent possible, the person shall continue in his or her course of treatment, if any. An alleged sexually violent predator held pending civil process may waive placement in secure housing by petitioning the court for a waiver. In order to grant the waiver, the court must find that the waiver is voluntary and intelligent, and that granting the waiver would not interfere with any treatment programming for the person requesting the waiver. A person granted a waiver shall be placed with inmates charged with similar offenses or with similar criminal histories, based on the objective criteria set forth in subdivision (a).(c) Nothing in this section shall be construed to impose any requirement upon a county to confine male and female prisoners in the same or an adjoining facility or impose any duty upon a county to establish or maintain programs which involve the joint participation of male and female prisoners.(Amended by Stats. 2016, Ch. 50, Sec. 74. (SB 1005) Effective January 1, 2017.)
CA Penal Code § 4002.5 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4002.5.

4002.5.  (a) On or before January 1, 2020, the sheriff of each county or the administrator of each county jail shall develop and implement an infant and toddler breast milk feeding policy for lactating inmates detained in or sentenced to a county jail. The policy shall be based on currently accepted best practices. The policy shall include all of the following provisions:(1) Procedures for providing medically appropriate support and care related to the cessation of lactation or weaning.(2) Procedures providing for human milk expression, disposal, and same-day storage for later retrieval and delivery to an infant or toddler by an approved person, at the option of the lactating inmate and with the approval of the facility administrator.(3) Procedures for conditioning an inmate’s participation in the program upon the inmate undergoing drug screening.(b) The infant and toddler breast milk feeding policy for lactating inmates shall be posted in all locations in the jail where medical care is provided and the provisions of the policy shall be communicated to all staff persons who interact with or oversee pregnant or lactating inmates.(c) This section applies without regard to whether the jail is operated pursuant to a contract with a private contractor and without regard to whether the inmate has been charged with or convicted of a crime.(Added by Stats. 2018, Ch. 944, Sec. 1. (AB 2507) Effective January 1, 2019.)
CA Penal Code § 4003 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4003.

4003.  Whenever any weapon or other personal property is taken from an arrested person, it shall be the duty of the desk clerk or other proper officer of any city, county or city and county jail, to which such person is committed for detention, to give a receipt to such person without delay for the property taken.(Added by Stats. 1941, Ch. 106.)
CA Penal Code § 4004 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4004.

4004.  A prisoner committed to the county jail for examination, or upon conviction for a public offense, must be actually confined in the jail until legally discharged; and if the prisoner is permitted to go at large out of the jail, except by virtue of a legal order or process, it is an escape; provided, however, that during the pendency of a criminal proceeding, the court before which said proceeding is pending may make a legal order, good cause appearing therefor, for the removal of the prisoner from the county jail in custody of the sheriff. In courts where there is a marshal, the marshal shall maintain custody of such prisoner while the prisoner is in the court facility pursuant to such court order. The superior court of the county may make a legal order, good cause appearing therefor, for the removal of prisoners confined in the county jail, after conviction, in the custody of the sheriff.If facilities are no longer available in the county jail due to crowded conditions, a sheriff may transfer a person committed to the county jail upon conviction for a public offense to facilities which are available in the city jail, as provided for in Section 4004.5.(Amended by Stats. 1998, Ch. 931, Sec. 433. Effective September 28, 1998.)
CA Penal Code § 4004.5 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4004.5.

4004.5.  (a) A city may furnish facilities to be used for holding prisoners held for examination or during trial without cost to the county or upon such terms as may be agreed upon by the governing body of the city and the board of supervisors, and the marshal may keep the prisoners in their custody in the city jail.(b) A city may furnish facilities to be used for holding persons convicted of a public offense who have been transferred from the county jail by the sheriff due to crowded conditions upon those terms as may be agreed upon by the governing body of the city and the board of supervisors. The agreed terms may indicate that the facilities are to be provided free of charge to the county.(Amended by Stats. 1996, Ch. 872, Sec. 123. Effective January 1, 1997.)
CA Penal Code § 4005 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4005.

4005.  (a) Except as provided in subdivision (b), the sheriff shall receive, and keep in the county jail, any prisoner committed thereto by process or order issued under the authority of the United States, until he or she is discharged according to law, as if he or she had been committed under process issued under the authority of this state; provision being made by the United States for the support of the prisoner.(b) The sheriff shall receive, and keep in the county jail, any prisoner committed thereto by process or order issued under the authority of the United States, until he or she is discharged according to law, as if he or she had been committed under process issued under the authority of this state, but only if the sheriff determines that adequate space in appropriate detention areas currently exists for this purpose. Provision shall be made by the United States for the support of the prisoner. This subdivision shall apply only in counties where a facility operated by the United States Bureau of Prisons exists within 200 miles of the county seat.(Amended by Stats. 1986, Ch. 523, Sec. 1. Effective July 24, 1986.)
CA Penal Code § 4006 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4006.

4006.  A sheriff, to whose custody a prisoner is committed as provided in the last section, is answerable for his safekeeping in the courts of the United States, according to the laws thereof.(Added by Stats. 1941, Ch. 106.)
CA Penal Code § 4006.5 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4006.5.

4006.5.  (a) Notwithstanding any other provision of law, a county board of supervisors or city council may enter into a contract with the federal government, or any department or agency thereof, to manage, control, and operate a federal prison located within the boundaries of that county or city.(b) If a city or county enters into a contract pursuant to subdivision (a), the sheriff or chief of police, as appropriate, shall have sole and exclusive authority to keep the prison and the prisoners in it.(c) If a city or county enters into a contract pursuant to subdivision (a), the employees working in the prison shall be employees of, and under the authority of, the sheriff or chief of police, as appropriate.(Added by Stats. 1997, Ch. 468, Sec. 1. Effective January 1, 1998.)
CA Penal Code § 4008 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4008.

4008.  A copy of the appointment, certified by the clerk of the court, must be served on the sheriff or keeper of the jail designated, who must receive into the jail all prisoners authorized to be confined therein, pursuant to Section 4007, and who is responsible for the safekeeping of the persons so committed, in the same manner and to the same extent as if the sheriff or keeper of the jail were sheriff of the county for whose use the jail is designated, and with respect to the persons so committed the sheriff or keeper of the jail is deemed the sheriff of the county from which they were removed.(Amended by Stats. 2002, Ch. 784, Sec. 563. Effective January 1, 2003.)
CA Penal Code § 4009 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4009.

4009.  When a jail is erected in a county for the use of which the designation was made, or its jail is rendered fit and safe for the confinement of prisoners, the judge of the superior court of that county must, by a written revocation, filed with the clerk of the court, declare that the necessity for the designation has ceased, and that it is revoked.(Amended by Stats. 2002, Ch. 784, Sec. 564. Effective January 1, 2003.)
CA Penal Code § 4010 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4010.

4010.  The clerk of the court must immediately serve a copy of the revocation upon the sheriff of the county, who must thereupon remove the prisoners to the jail of the county from which the removal was had.(Amended by Stats. 2002, Ch. 784, Sec. 565. Effective January 1, 2003.)
CA Penal Code § 4011.2 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.2.

4011.2.  A sheriff, chief or director of corrections, or chief of police shall not charge a fee for an inmate-initiated medical visit of an inmate confined in a county or city jail.(Repealed and added by Stats. 2019, Ch. 570, Sec. 2. (AB 45) Effective January 1, 2020.)
CA Penal Code § 4011.3 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.3.

4011.3.  (a) Notwithstanding Section 4011.1, a sheriff, chief or director of corrections, or chief of police shall not charge a fee for durable medical equipment or medical supplies provided to an inmate confined in a county or city jail as medically necessary to ensure the inmate has equal access to jail services, programs, or activities.(b) (1) For purposes of this section, “durable medical equipment” means equipment that is prescribed by a licensed provider to meet the medical needs of an inmate and that meets all of the following criteria:(A) The equipment can withstand repeated use.(B) The equipment is used to serve a medical purpose.(C) The equipment is not normally useful to an individual in the absence of an illness, injury, functional impairment, or congenital anomaly.(D) The equipment is appropriate for use in or out of the jail.(2) Durable medical equipment includes, but is not limited to, eyeglasses, artificial eyes, dentures, artificial limbs, orthopedic braces and shoes, and hearing aids.(c) For purposes of this section, “medical supplies” means supplies that are prescribed by a licensed provider to meet the medical needs of an inmate and that meet all of the following criteria:(1) The supplies cannot withstand repeated use.(2) The supplies are usually disposable in nature.(3) The supplies are used to serve a medical purpose.(4) The supplies are not normally useful to an individual in the absence of an illness, injury, functional impairment, or congenital anomaly.(5) The supplies are intended for use in an outpatient setting.(Amended by Stats. 2020, Ch. 370, Sec. 230. (SB 1371) Effective January 1, 2021.)
CA Penal Code § 4011.5 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.5.

4011.5.  (a) If a sheriff or jailer determines that a prisoner in a county jail or a city jail under his or her charge is in need of immediate medical or hospital care, and that the health and welfare of the prisoner will be injuriously affected unless the prisoner is forthwith removed to a hospital, the sheriff or jailer may authorize the immediate removal of the prisoner under guard to a hospital, without first obtaining a court order as provided in Section 4011. If the condition of the prisoner prevents his or her return to the jail within 48 hours from the time of his or her removal, the sheriff or jailer shall apply to a judge of the superior court for an order authorizing the continued absence of the prisoner from the jail in the manner provided in Section 4011. The provisions of Section 4011 governing the cost of medical and hospital care of prisoners and the liability for those costs shall apply to the cost of, and the liability for, medical or hospital care of prisoners removed from jail pursuant to this section.(b) For purposes of this section, “immediate medical or hospital care” includes, but is not limited to, critical specialty medical procedures or treatment, such as dialysis, which cannot be furnished, performed, or supplied at a county jail or city jail.(Amended by Stats. 2016, Ch. 65, Sec. 1. (AB 1703) Effective January 1, 2017.)
CA Penal Code § 4011.7 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.7.

4011.7.  Notwithstanding the provisions of Sections 4011 and 4011.5, when it appears that the prisoner in need of medical or surgical treatment necessitating hospitalization or in need of medical or hospital care was arrested for, charged with, or convicted of an offense constituting a misdemeanor, the court in proceedings under Section 4011 or the sheriff or jailer in action taken under Section 4011.5 may direct that the guard be removed from the prisoner while he or she is in the hospital. If that direction is given, any prisoner who knowingly escapes or attempts to escape from that hospital shall upon conviction thereof be guilty of a misdemeanor and punishable by imprisonment for not to exceed one year in the county jail if the escape or attempt to escape was not by force or violence. However, if the escape is by force or violence the prisoner shall be guilty of a felony and punishable by imprisonment pursuant to subdivision (h) of Section 1170, or in the county jail for not exceeding one year; provided, that when that second term of imprisonment is to be served in the county jail it shall commence from the time that prisoner would otherwise be discharged from that jail.(Amended by Stats. 2011, Ch. 15, Sec. 480. (AB 109) Effective April 4, 2011. Operative October 1, 2011, by Sec. 636 of Ch. 15, as amended by Stats. 2011, Ch. 39, Sec. 68.)
CA Penal Code § 4011.8 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.8.

4011.8.  A person in custody who has been charged with or convicted of a criminal offense may make voluntary application for inpatient or outpatient mental health services in accordance with Section 5003 of the Welfare and Institutions Code. If such services require absence from the jail premises, consent from the person in charge of the jail or from any judge of a court in the county in which the jail is located, and from the director of the county mental health program in which services are to be rendered, shall be obtained. The local mental health director or his designee may examine the prisoner prior to the transfer from the jail.Where the court approves voluntary treatment for a jail inmate for whom criminal proceedings are pending, the court shall forthwith notify counsel for the prisoner and the prosecuting attorney about such approval. Where the person in charge of the jail approves voluntary treatment for a prisoner for whom criminal proceedings are pending, the person in charge of the jail shall immediately notify each court within the county where the prisoner has a pending proceeding about such approval; upon notification by the jailer the court shall forthwith notify the prosecuting attorney and counsel for the prisoner in the criminal proceedings about such transfer.If the prisoner voluntarily obtains treatment in a facility or is placed on outpatient treatment pursuant to Section 5003 of the Welfare and Institutions Code, the time passed therein shall count as part of the prisoner’s sentence. When the prisoner is permitted absence from the jail for voluntary treatment, the person in charge of the jail shall advise the professional person in charge of the facility of the expiration date of the prisoner’s sentence. If the prisoner is to be released from the facility before such expiration date, the professional person in charge shall notify the local mental health director or his designee, counsel for the prisoner, the prosecuting attorney, and the person in charge of the jail, who shall send for, take, and receive the prisoner back into the jail. A denial of an application for voluntary mental health services shall be reviewable only by mandamus.(Added by Stats. 1975, Ch. 1258.)
CA Penal Code § 4011.9 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4011.9.

4011.9.  Notwithstanding the provisions of Sections 4011 and 4011.5, when it appears that the prisoner in need of medical or surgical treatment necessitating hospitalization or in need of medical or hospital care was arrested for, charged with, or convicted of an offense constituting a felony, the court in proceedings under Section 4011 or the sheriff or jailer in action taken under Section 4011. 5 may direct that the guard be removed from the prisoner while he is in the hospital, if it reasonably appears that the prisoner is physically unable to effectuate an escape or the prisoner does not constitute a danger to life or property.(Added by Stats. 1976, Ch. 80.)
CA Penal Code § 4012 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4012.

4012.  When a pestilence or contagious disease breaks out in or near a jail, and the physician thereof certifies that it is liable to endanger the health of the prisoners, the county judge may, by a written appointment, designate a safe and convenient place in the county, or the jail in a contiguous county, as the place of their confinement. The appointment must be filed in the office of the clerk of the court, and authorize the sheriff to remove the prisoners to the place or jail designated, and there confine them until they can be safely returned to the jail from which they were taken.(Amended by Stats. 2002, Ch. 784, Sec. 566. Effective January 1, 2003.)
CA Penal Code § 4013 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4013.

4013.  (a) A sheriff or jailer upon whom a paper in a judicial proceeding, directed to a prisoner in his or her custody, is served, shall forthwith deliver it to the prisoner, with a note thereon of the time of its service. For a neglect to do so, he or she is liable to the prisoner for all damages occasioned thereby.(b) Service directed to a person who is incarcerated within any institution in this state may be served by any person who may lawfully serve process.(Amended by Stats. 2005, Ch. 300, Sec. 8. Effective January 1, 2006.)
CA Penal Code § 4014 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4014.

4014.  The sheriff, when necessary, may, with the assent in writing of the county judge, or in a city, of the mayor thereof, employ a temporary guard for the protection of the county jail, or for the safekeeping of prisoners, the expenses of which are a county charge.(Added by Stats. 1941, Ch. 106.)