; and (ii) by adding at the end the following new subparagraph: (D) Any alien who is lawfully present in the United States solely because such individual was granted deferred action pursuant to the memorandum of the Department of Homeland Security entitled Exercising Prosecutorial Discretion with Respect to Individuals Who Came to the United States as Children issued on June 15, 2012, shall not be treated as lawfully present or lawfully residing for purposes of an election by a State to provide medical assistance to a category of aliens under subparagraph (A) and shall not be considered to be described within either or both of the eligibility categories described in such subparagraph. . (B) CHIP Section 2107(e)(1)(O) of the Social Security Act ( 42 U.S.C. 1397gg(e)(1)(O) ) is amended by inserting , and subject to subparagraph (D) of such paragraph after title XIX . (3) Exclusion from other pregnancy-related coverage options under CHIP (A) Definition of child Section 2110(c)(1) of the Social Security Act ( 42 U.S.C. 1397jj(c)(1) ) is amended by adding at the end the following new sentence: Such term, including as applied under section 457.10 of title 42, Code of Federal Regulations (as in effect on the date of enactment of this sentence), shall not include any alien who is lawfully present solely because such individual was granted deferred action pursuant to the memorandum of the Department of Homeland Security entitled Exercising Prosecutorial Discretion with Respect to Individuals Who Came to the United States as Children issued on June 15, 2012, and any such individual shall not be treated as lawfully present or lawfully residing in the United States for purposes of eligibility for child health assistance under a State plan under this title. . (B) Targeted low-income pregnant women Section 2112 of the Social Security Act ( 42 U.S.C. 1397ll ) is amended— (i) in subsection (d)(2), by inserting after and below subparagraph (C), the following new flush sentence: Such term shall not include any alien who is