In this Dec. 17, 2019, file photo Supreme Court Justice Ruth Bader Ginsburg speaks at the National Constitution Center Americas Town Hall at the National Museum of Women in the Arts in Washington. Credit: Steve Helber | AP

Supreme Court Justice Ruth Bader Ginsburg participated Wednesday in telephone arguments from a Maryland hospital where she’s being treated for an infection caused by a gallstone.

The court said Tuesday evening that the 87-year-old justice had undergone non-surgical treatment for a benign gallbladder condition. The court said she planned to participate in arguments from the hospital Wednesday.

Before the justices on Wednesday was a case that involves the Affordable Care Act’s requirement most insurers cover contraceptives for women. The second argument is a free speech case involving a law aimed at protecting consumers from unwanted telemarketing calls.

Ginsburg’s first question was a lengthy one, essentially saying the Trump administration tossed “to the wind” the requirement in the Affordable Care Act that women have seamless access to no-cost contraceptives.

Because of Ginsburg’s seniority on the court she has been third to ask a question during this week’s telephone arguments, following Chief Justice Roberts and Justice Clarence Thomas. But Thomas apparently was having some technical difficulties when Roberts first called on him. Instead, Thomas followed Ginsburg with questions.

The court said Ginsburg is expected to be in the hospital for a day or two. It has said some justices are participating in arguments from home while others are at the court.