Justice Ruth Bader Ginsburg discharged from hospital after procedure earlier this week

GETTY Supreme Court Justice Ruth Bader Ginsburg

Supreme Court Justice Ruth Bader Ginsburg has been discharged from a hospital after being admitted for a nonsurgical medical procedure in New York City earlier in the week, according to a statement from the court.

“Justice Ginsburg was discharged from the hospital today,” the court spokesman said in a statement. “She is home and doing well.”

It’s the latest in a string of hospitalizations for the Supreme Court’s oldest justice.

Ginsburg, 87, underwent a “minimally invasive” procedure at Memorial Sloan Kettering Cancer Center on Wednesday to "revise a bile duct stent,” the court has said. Doctors initially inserted it last August, when the justice underwent treatment for a cancerous tumor on her pancreas.

RELATED: Justice Ruth Bader Ginsburg resting comfortably after non-surgical procedure in New York City

The procedure aimed to “minimize the risk of future infection,” according to the statement. And, according to the justice’s doctors, such revisions are common.

Earlier this month, Ginsburg had another procedure at Johns Hopkins Hospital in Baltimore to clean out the stent. She also went to the hospital in mid-July to have gallstones removed and for the treatment of a suspected infection.

And she overcame another gallstone-related infection back in May, the Supreme Court said at the time.

But those are not the only health issues she is facing.

According to a statement from Ginsburg two weeks ago, she has been undergoing chemotherapy for the last few months due to a recurrence of cancer – which she has battled four times previously.

Download the FOX 5 DC News App for Local Breaking News and Weather

The court’s Wednesday statement said that the liberal justice "is resting comfortably."

Fox News’ Shannon Bream, Bill Mears and The Associated Press contributed to this report.