NEW YORK (AP) — Starting Monday, the nation's health department can resume sharing the personal data of certain Medicaid enrollees with deportation officials, according to a federal judge's ruling, in a blow to states that had sued the administration over privacy concerns.

The ruling from U.S. District Judge Vince Chhabria in San Francisco allows the Department of Health and Human Services (HHS) to share only basic biographical information about undocumented immigrants. The decision comes amidst ongoing concerns related to privacy and the potential misuse of personal health information.

Chhabria previously blocked HHS from sharing sensitive data, but last week, he determined that sharing basic information is permissible under law. However, he emphasized that the ruling does not allow the transfer of sensitive medical data or any information about U.S. citizens or legal immigrants in the 22 states participating in the lawsuit.

The shift comes as part of a broader enforcement push from the Trump administration, which has seen various agencies collaborating on immigration enforcement. Advocates have expressed fears that such data sharing could deter individuals from seeking emergency medical services, further complicating health care accessibility for vulnerable populations.

Despite the ruling, it's unclear if HHS has implemented changes to resume data sharing as per the new court order.