"The law -- which took effect Nov. 1 -- requires hospitals that receive Medicaid or Children's Health Insurance Program funding to ask patients whether they are in the U.S. legally, and to track the cost of treating patients who are not. Patients can decline to provide this information, and hospital employees must tell them that their response will not affect their care."
https://www.medpagetoday.com/special-reports/features/113138