×

Valerie Harper was rushed to the hospital on Wednesday night before a performance of her musical “Nice Work If You Can Get It” in Ogunquit, Maine.

The Emmy winner, best known for her role as the brazen Rhoda Morgenstern in the ’70s sitcoms “The Mary Tyler Moore Show” and its spinoff, “Rhoda,” was taken by ambulance from the Ogunquit Playhouse to a local hospital.

The Ogunquit Playhouse said in a statement on Thursday that Harper was hospitalized “as a precaution” after reporting that she was not feeling well.

“She is resting comfortably and will remain in the hospital for observation for the time being,” the Playhouse said.

Harper, 75, was diagnosed with terminal brain cancer and told she had three months to live in January of 2013. Doctors had successfully removed a lung tumor in 2009, but the cancer cells had moved to her brain. She has continued working and competed on “Dancing With the Stars” in late 2013.

“Nice Work If You Can Get It,” in which Harper plays Millicent Winter in the second act, is set to run through August 15.