; (iv) such confinement is reviewed by a multidisciplinary staff committee for appropriateness every 24 hours; and (v) as soon as practicable, but not later than 5 days after such confinement begins, the detained alien is diverted, upon release from solitary confinement, to a general population unit, a mental health treatment program described in subsection (b)(2), or an alternative to detention; (C) the detained alien is lesbian, gay, bisexual, transgender (as defined in section 115.5 of title 28, Code of Federal Regulations, or any successor regulation), intersex (as defined in section 115.5 of title 28, Code of Federal Regulations, or any successor regulation), or gender nonconforming (as defined in section 115.5 of title 28, Code of Federal Regulations, or any successor regulation), if such placement is based (in whole or in part) on such identification or status; (D) the alien is HIV positive, if the placement is based (in whole or in part) on the HIV positive status of the alien; (E) the placement is based (in whole or in part) on the alien’s race, religion, or nationality