A federal judge dismissed a challenge by hospital groups to a federal rule requiring them to disclose prices they quietly negotiate with insurers, in a victory for White House efforts to make healthcare pricing more transparent to patients.

Hospital groups challenged the Trump administration’s rule that requires hospitals to be more transparent about prices they charge patients for healthcare services, according to a filed lawsuit.