; (vi) a funeral home; (vii) a cemetery; (viii) a college, university, or community college; (ix) a victim services agency; (x) a social service agency; (xi) a hospital or emergency care center; (xii) a health care clinic; and (xiii) a place of worship; and (B) to tightly control investigative operations at the locations described in subparagraph (A). (2) Exception (A) In general Notwithstanding paragraph (1), an immigration-related enforcement activity may be carried out in a location described under paragraph (1)(A) if the Secretary determines that exigent circumstances exist and approves such activity. (B) Exigent circumstances defined In this paragraph, the term exigent circumstances means, with respect to an immigration-related enforcement activity, that such activity— (i) involves a national security or terrorism matter; (ii) involves an imminent risk of death, violence, or physical harm to any person or property; (iii) involves the immediate arrest or pursuit of a dangerous felon, terrorist suspect, or any other individual that present an imminent danger to public safety; or (iv) involves an imminent risk of destruction of evidence material to an ongoing criminal case. (3) Notice to appear The Secretary shall amend the Notice to Appear form to include a statement that no immigration-related enforcement activity was undertaken in any of the locations described under paragraph (1)(A) unless such activity was approved under paragraph (2). (f) Transfer of detainees (1) Procedures In adopting procedures relating to the transfer of individuals detained under section 236 of the Immigration and Nationality Act ( 8 U.S.C. 1226 ), the Secretary shall promulgate regulations requiring officials of the Department to give substantial weight to— (A) the access of the detainee to legal representation; (B) the residence of the detainee prior to apprehension; (C) the location of family members of the detainee