MADISON, Wis. - A Wisconsin law that requires abortion providers to get admitting privileges at nearby hospitals is unconstitutional, a federal appeals court panel ruled Monday.

The Seventh U.S. Circuit Court of Appeals panel's 2-1 decision doesn't put the question to rest. The U.S. Supreme Court agreed earlier this month to hear a challenge to a similar Texas law in a case that could settle the issue nationally.

The Wisconsin case centers on a lawsuit filed by Planned Parenthood and Affiliated Medical Services (AMS). The groups argue that the 2013 GOP-backed law amounts to an unconstitutional restriction on abortion.

The law's supporters counter it ensures continuity of care if a woman developed complications from an abortion and needed to be hospitalized. But the lawsuit said the statute would force AMS's clinic in Milwaukee to close because its doctors couldn't get admitting privileges. That in turn would lead to longer waits at Planned Parenthood clinics. Therefore, the lawsuit maintained, the law amounts to an illegal restriction on abortions.

U.S. District Judge William Conley sided with the abortion providers in March, saying the law served no legitimate health interest. The Wisconsin Department of Justice later appealed to the Seventh Circuit.

Writing for the Seventh Circuit majority, Judge Richard Posner called the contention that the law would protect women's health "nonexistent." He said the law would put more women in danger by increasing the waiting times for abortions, which could push some procedures into the second trimester.

"What makes no sense is to abridge the constitutional right to abortion on the basis of spurious contentions regarding women's health - and the abridgement challenged in this case would actually endanger women's health," he wrote.

He also said that a woman who experiences complications from an abortion will go to the nearest hospital, which will treat her regardless of whether her abortion doctor has admitting privileges there.

The judge noted that the law required providers to obtain privileges within two days of Gov. Scott Walker signing it, even though the process typically takes months.

Judge David Manion was the lone dissenter, saying the law protects women's health and doesn't amount to an undue constitutional burden.

Eleven states have imposed similar admitting privilege requirements on abortion providers; courts have blocked the requirements in six states, including Wisconsin, according to the Guttmacher Institute, which supports legal access to abortion.