Ruth Bader Ginsburg discharged from the hospital and doing well

The late Supreme Court Associate Justice Ruth Bader Ginsburg speaks about her work and gender equality during a panel discussion at the Georgetown University Law Center in Washington, Tuesday, July 2, 2019. (AP Photo/Manuel Balce Ceneta)

(CNN) — Justice Ruth Bader Ginsburg has been discharged from the hospital after being treated for a possible infection in her latest health scare.

“Justice Ginsburg has been discharged from the hospital,” a Supreme Court spokeswoman said in a statement Wednesday. “She is home and doing well.”

Ginsburg had been taken to Johns Hopkins Hospital in Baltimore early on Tuesday “after experiencing fever and chills,” spokeswoman Kathleen Arberg said.

“She underwent an endoscopic procedure at Johns Hopkins this afternoon to clean out a bile duct stent that was placed last August,” Arberg said on Tuesday, announcing Ginsburg’s hospitalization. “The Justice is resting comfortably and will stay in the hospital for a few days to receive intravenous antibiotic treatment.”

Ginsburg’s quick discharge is the latest apparent dodge of a health scare for the 87-year-old justice, who has proven adept at continuing her job without interruption despite her health issues.

She missed oral arguments for the first time in January 2019, while recovering from surgery after two cancerous nodules were removed from her left lung the previous month. At the time, she participated in the cases by reading transcripts. The liberal justice had already received treatment in November 2018 for three ribs she fractured during a fall in her office. And in August 2019, she was treated for pancreatic cancer.

As a result, her health has come under increased scrutiny as the court grapples with wide-reaching cases that can transform American law. Since coming to office, President Donald Trump has made two appointments, Neil Gorsuch in 2017 and Brett Kavanaugh in 2018, deepening the conservative tilt.

Trump had told reporters Tuesday that he hopes Ginsburg is feeling better and praised her for “actually giving me some good rulings.”

“I wish her the best. I hope she’s better. I didn’t hear that, actually. She was just hospitalized? No, that’s too bad,” he said in the White House Rose Garden. “No, I wish her the best. She’s actually giving me some good rulings.”

The liberal icon is best known for her opinions related to civil rights issues, including the landmark case opening up the Virginia Military Institute to women.

Her dissents in recent years have continued to energize Democrats at a time when Republicans control the White House and Senate, and the Supreme Court moves rightward.

Asked about any retirement plans at 2019 Duke Law School event, Ginsburg repeated a mantra: “I’ve always said I’ll stay on this job as long as I can do it full steam.”

At her age, she assesses that each year: “I was OK this last term. I expect to be OK next term. And after that we’ll just have to see.”

This story has been updated with additional background information and context.