A federal judge on Wednesday refused to order an overhaul of the Department of Veterans Affairs’ health care system, saying veterans groups who had sued for the changes should take their case elsewhere.

U.S. District Judge Samuel Conti ruled that the lawsuit was “misdirected” and that the retired warriors should instead ask Congress, the head of Veterans Affairs and the federal court in Washington, D.C., to improve the system.