A federal judge has ruled that the government may share basic Medicaid information about people in the U.S. unlawfully with ICE.