user: Part 1. Definition
In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.
Part 2. Example
SECTION 1. LIABILITY OF BUSINESS ENTITIES PROVIDING USE OF FACILITIES 
 TO NONPROFIT ORGANIZATIONS.

 (a) Definitions.--In this section:
 (1) Business entity.--The term ``business entity'' means a 
 firm, corporation, association, partnership, consortium, joint 
 venture, or other form of enterprise.
 (2) Facility.--The term ``facility'' means any real 
 property, including any building, improvement, or appurtenance.
 (3) Gross negligence.--The term ``gross negligence'' means 
 voluntary and conscious conduct by a person with knowledge (at 
 the time of the conduct) that the conduct is likely to be 
 harmful to the health or well-being of another person.
 (4) Intentional misconduct.--The term ``intentional 
 misconduct'' means conduct by a person with knowledge (at the 
 time of the conduct) that the conduct is harmful to the health 
 or well-being of another person.
 (5) Nonprofit organization.--The term ``nonprofit 
 organization'' means--
 (A) any organization described in section 501(c)(3) 
 of the Internal Revenue Code of 1986 and exempt from 
 tax under section 501(a) of such Code; or
 (B) any not-for-profit organization organized and 
 conducted for public benefit and operated primarily for 
 charitable, civic, educational, religious, welfare, or 
 health purposes.
 (6) State.--The term ``State'' means each of the several 
 States, the District of Columbia, the Commonwealth of Puerto 
 Rico, the Virgin Islands, Guam, American Samoa, the Northern 
 Mariana Islands, any other territory or possession of the 
 United States, or any political subdivision of any such State, 
 territory, or possession.
 (b) Limitation on Liability.--
 (1) In general.--Subject to subsection (c), a business 
 entity shall not be subject to civil liability relating to any 
 injury or death occurring at a facility of the business entity 
 in connection with a use of such facility by a nonprofit 
 organization if--
 (A) the use occurs outside of the scope of business 
 of the business entity;
 (B) such injury or death occurs during a period 
 that such facility is used by the nonprofit 
 organization; and
 (C) the business entity authorized the use of such 
 facility by the nonprofit organization.
 (2) Application.--This subsection shall apply--
 (A) with respect to civil liability under Federal 
 and State law; and
 (B) regardless of whether a nonprofit organization 
 pays for the use of a facility.
 (c) Exception for Liability.--Subsection (b) shall not apply to an 
injury or death that results from an act or omission of a business 
entity that constitutes gross negligence or intentional misconduct, 
including any misconduct that--
 (1) constitutes a crime of violence (as that term is 
 defined in section 16 of title 18, United States Code) or act 
 of international terrorism (as that term is defined in section 
 2331 of title 18) for which the defendant has been convicted in 
 any court;
 (2) constitutes a hate crime (as that term is used in the 
 Hate Crime Statistics Act (28 U.S.C. 534 note));
 (3) involves a sexual offense, as defined by applicable 
 State law, for which the defendant has been convicted in any 
 court; or
 (4) involves misconduct for which the defendant has been 
 found to have violated a Federal or State civil rights law.
 (d) Superseding Provision.--
 (1) In general.--Subject to paragraph (2) and subsection 
 (e), this Act preempts the laws of any State to the extent that 
 such laws are inconsistent with this Act, except that this Act 
 shall not preempt any State law that provides additional 
 protection from liability for a business entity for an injury 
 or death with respect to which conditions under subparagraphs 
 (A) through (C) of subsection (b)(1) apply.
 (2) Limitation.--Nothing in this Act shall be construed to 
 supersede any Federal or State health or safety law.
 (e) Election of State Regarding Nonapplicability.--This Act shall 
not apply to any civil action in a State court against a business 
entity in which all parties are citizens of the State if such State 
enacts a statute--
 (1) citing the authority of this subsection;
 (2) declaring the election of such State that this Act 
 shall not apply to such civil action in the State; and
 (3) containing no other provision.
Answer: Shields a business entity from civil liability relating to any injury or death occurring at a facility of that entity in connection with a use of such facility by a nonprofit organization if: (1) the use occurs outside the scope of business of the business entity; (2) such injury or death occurs during a period that such facility is used by such organization; and (3) the business entity authorized the use of such facility by the organization. 
Makes this Act inapplicable to an injury or death that results from an act or omission of a business entity that constitutes gross negligence or intentional misconduct, including misconduct that: (1) constitutes a hate crime or a crime of violence or act of international terrorism for which the defendant has been convicted in any court; or (2) involves a sexual offense for which the defendant has been convicted in any court or misconduct for which the defendant has been found to have violated a Federal or State civil rights law. 
Preempts State laws to the extent that such laws are inconsistent with this Act, except State law that provides additional protection from liability. Specifies that this Act shall not be construed to supersede any Federal or State health or safety law. 
Makes this Act inapplicable to any civil action in a State court against a business entity in which all parties are citizens of the State if such State, citing this Act's authority and containing no other provision, enacts a statute declaring the State's election that this Act shall not apply to such action in the State.
Explanation: This Bill focuses on shielding business entities from civil liability relating to an injury or death depending on the conditions of injury, hence the generated summary is correct.
Part 3. Exercise
SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Dignity for Incarcerated Women Act 
of 2017'' or the ``Dignity Act''.

SEC. 2. TREATMENT OF PRIMARY CARETAKER PARENTS AND OTHER INDIVIDUALS IN 
              FEDERAL PRISONS.

    (a) In General.--Chapter 303 of title 18, United States Code, is 
amended by adding at the end the following:
``Sec. 4050. Treatment of primary caretaker parents and other 
              individuals
    ``(a) Definitions.--In this section--
            ``(1) the term `correctional officer' means a correctional 
        officer of the Bureau of Prisons;
            ``(2) the term `Director' means the Director of the Bureau 
        of Prisons;
            ``(3) the term `primary caretaker parent' has the meaning 
        given the term in section 31903 of the Violent Crime Control 
        and Law Enforcement Act of 1994 (42 U.S.C. 13882); and
            ``(4) the term `prisoner' means an individual who is 
        incarcerated in a Federal penal or correctional institution.
    ``(b) Geographic Placement.--
            ``(1) Establishment of office.--The Director shall 
        establish within the Bureau of Prisons an office that 
        determines the placement of prisoners.
            ``(2) Placement of prisoners.--In determining the placement 
        of a prisoner, the office established under paragraph (1) 
        shall--
                    ``(A) if the prisoner has children, place the 
                prisoner as close to the children as possible; and
                    ``(B) consider any other factor that the office 
                determines appropriate.
    ``(c) Visitation Rules.--The Director shall promulgate regulations 
for visitation between prisoners who are primary caretaker parents and 
their family members under which--
            ``(1) a prisoner may receive visits not fewer than 6 days 
        per week, which shall include Saturday and Sunday;
            ``(2) a Federal penal or correctional institution shall be 
        open for visitation for not fewer than 8 hours per day;
            ``(3) a prisoner may have up to 5 adult visitors and an 
        unlimited number of child visitors per visit; and
            ``(4) a prisoner may have physical contact with visitors 
        unless the prisoner presents an immediate physical danger to 
        the visitors.
    ``(d) Placement in Segregated Housing Units; Prohibition on 
Shackling.--
            ``(1) Placement in segregated housing units.--
                    ``(A) In general.--A Federal penal or correctional 
                institution may not place a prisoner who is pregnant or 
                in the first 8 weeks of postpartum recovery in a 
                segregated housing unit unless the prisoner presents an 
                immediate risk of harm to others or herself.
                    ``(B) Restrictions.--Any placement of a prisoner 
                described in subparagraph (A) in a segregated housing 
                unit shall be limited and temporary.
            ``(2) Prohibition on shackling.--A Federal penal or 
        correctional institution may not use instruments of restraint, 
        including handcuffs, chains, irons, straitjackets, or similar 
        items, on a prisoner who is pregnant.
    ``(e) Parenting Classes.--The Director shall provide parenting 
classes to each prisoner who is a primary caretaker parent.
    ``(f) Trauma-Informed Care.--
            ``(1) In general.--The Director shall provide trauma-
        informed care to each prisoner who is diagnosed with trauma.
            ``(2) Identification and referral.--The Director shall 
        provide training to each correctional officer and each other 
        employee of the Bureau of Prisons who regularly interacts with 
        prisoners, including health care professionals and instructors, 
        to enable the employees to identify prisoners with trauma and 
        refer those prisoners to the proper healthcare professional for 
        treatment.
    ``(g) Mentoring by Former Prisoners.--The Director shall promulgate 
regulations under which an individual who was formerly incarcerated in 
a Federal penal or correctional institution may access such an 
institution to--
            ``(1) act as a mentor for prisoners; and
            ``(2) assist prisoners in reentry.
    ``(h) Ombudsman.--The Attorney General shall designate an ombudsman 
to oversee and monitor, with respect to Federal penal and correctional 
institutions--
            ``(1) prisoner transportation;
            ``(2) use of segregated housing;
            ``(3) strip searches of prisoners; and
            ``(4) civil rights violations.
    ``(i) Telecommunications.--
            ``(1) In general.--The Director--
                    ``(A) may not charge a fee for a telephone call 
                made by a prisoner; and
                    ``(B) shall make videoconferencing available to 
                prisoners in each Federal penal or correctional 
                institution free of charge.
            ``(2) Rule of construction.--Nothing in paragraph (1)(B) 
        shall be construed to authorize the Director to use 
        videoconferencing as a substitute for in-person visits.
    ``(j) Inmate Health.--
            ``(1) Healthcare products.--
                    ``(A) Availability.--The Director shall make the 
                healthcare products described in subparagraph (C) 
                available to prisoners for free, in a quantity that is 
                appropriate to the healthcare needs of each prisoner.
                    ``(B) Quality of products.--The Director shall 
                ensure that the healthcare products provided under this 
                paragraph conform with applicable industry standards.
                    ``(C) Products.--The healthcare products described 
                in this subparagraph are--
                            ``(i) tampons;
                            ``(ii) sanitary napkins;
                            ``(iii) moisturizing soap, which may not be 
                        lye-based;
                            ``(iv) shampoo;
                            ``(v) body lotion;
                            ``(vi) Vaseline;
                            ``(vii) toothpaste;
                            ``(viii) toothbrushes;
                            ``(ix) aspirin;
                            ``(x) ibuprofen; and
                            ``(xi) any other healthcare product that 
                        the Director determines appropriate.
            ``(2) Gynecologist access.--The Director shall ensure that 
        female prisoners have access to a gynecologist.
    ``(k) Use of Sex-Appropriate Correctional Officers.--
            ``(1) Regulations.--The Director shall promulgate 
        regulations under which--
                    ``(A) a correctional officer may not conduct a 
                strip search of a prisoner of the opposite sex unless--
                            ``(i) the prisoner presents a risk of 
                        immediate harm to herself or himself or others; 
                        and
                            ``(ii) no other correctional officer of the 
                        same sex as the prisoner is available to 
                        assist; and
                    ``(B) a correctional officer may not enter a 
                restroom reserved for prisoners of the opposite sex 
                unless--
                            ``(i)(I) a prisoner in the restroom 
                        presents a risk of immediate harm to herself or 
                        himself or others; or
                            ``(II) there is a medical emergency in the 
                        restroom; and
                            ``(ii) no other correctional officer of the 
                        appropriate sex is available to assist.
            ``(2) Relation to other laws.--Nothing in paragraph (1) 
        shall be construed to affect the requirements under the Prison 
        Rape Elimination Act of 2003 (42 U.S.C. 15601 et seq.).''.
    (b) Substance Abuse Treatment.--Section 3621(e) of title 18, United 
States Code, is amended by adding at the end the following:
            ``(7) Eligibility of primary caretaker parents and pregnant 
        women.--The Bureau of Prisons may not prohibit a prisoner who 
        is a primary caretaker parent (as defined in section 4050) or 
        pregnant from participating in a program of residential 
        substance abuse treatment provided under paragraph (1) based on 
        the failure of the individual, before being committed to the 
        custody of the Bureau, to disclose to any official that the 
        individual had a substance abuse problem.''.
    (c) Technical and Conforming Amendment.--The table of sections for 
chapter 303 of title 18, United States Code, is amended by adding at 
the end the following:

``4050. Treatment of primary caretaker parents and other 
                            individuals.''.

SEC. 3. OVERNIGHT VISIT PILOT PROGRAM.

    (a) Definitions.--In this section--
            (1) the term ``Director'' means the Director of the Bureau 
        of Prisons;
            (2) the term ``primary caretaker parent'' has the meaning 
        given the term in section 31903 of the Violent Crime Control 
        and Law Enforcement Act of 1994 (42 U.S.C. 13882); and
            (3) the term ``prisoner'' means an individual who is 
        incarcerated in a Federal penal or correctional institution.
    (b) Pilot Program.--The Director shall carry out a pilot program 
under which prisoners who are primary caretaker parents and meet 
eligibility criteria established by the Director may receive overnight 
visits from family members.
    (c) Eligibility Criteria.--In establishing eligibility criteria for 
the pilot program under subsection (b), the Director shall--
            (1) require that a prisoner have displayed good behavior; 
        and
            (2) prohibit participation by any prisoner who has been 
        convicted of a crime of violence (as defined in section 16 of 
        title 18, United States Code).
Answer:

assistant: Dignity for Incarcerated Women Act of 2017 or the Dignity Act This bill amends the federal criminal code to establish requirements for the treatment of prisoners. It directs the Bureau of Prisons (BOP) to place prisoners as close to their children as possible, provide videoconferencing free of charge, provide trauma-informed care to prisoners diagnosed with trauma, and make specified health products (e.g., tampons) available free of charge.  Additionally, with respect to prisoners who are primary caretaker parents, the BOP must provide parenting classes, allow visitation from family members, and establish a pilot program to allow overnight visits from family members. Finally, the bill allows a prisoner who is pregnant or a primary caretaker parent to participate in a residential substance abuse treatment program, even if the individual failed to disclose a substance abuse problem.