(CNN) Republicans may be jubilant that revamped health care legislation finally passed the House on Thursday, but many of the professional associations that represent America's health care workers are clearly unhappy.

The groups said they were "disappointed," "deeply disappointed" and "extremely disappointed" with legislation that is "unacceptable," "shameful," "harmful and irresponsible." Their reactions immediately followed the 217-213 House vote

The American Medical Association said in a statement that although change is needed in the health care system, people with pre-existing health conditions "face the possibility of going back to the time when insurers could charge them premiums that made access to coverage out of the question."

The American Cancer Society expressed concerns that the bill will leave cancer patients unable to pay for plans, arguing that the bill would make pre-existing condition protections "virtually meaningless." The legislation may bring back high-risk pools, which "have not historically been an adequate safety-net," according to the statement from Chris Hansen, president of the society's Cancer Action Network.

The American College of Physicians disagreed with a provision that will allow insurers to opt out of covering essential benefits like mental health care, maternal care and cancer screening. The group also took issue with cuts and caps on federal contributions to Medicaid and an end to Medicaid expansion, which they say will leave tens of millions without coverage.

In a statement from Dr. Jack Ende, the group's president, it vowed to fight for a better change to the health care system instead of this "harmful legislation."

"The American Health Care Act (AHCA) plays Robin Hood in reverse. It fails to deliver better, cheaper health care for all Americans, instead giving massive tax cuts to the rich while causing 24 million people to lose coverage," the National Education Association said in a statement.

It too expressed concerns about funding cuts to Medicaid, which covers millions of students nationwide.

The Main Street Alliance , a group that works with small businesses on health care issues, called the vote "a shameful display of partisan politics at its worst" in a statement from its national director, Amanda Ballantyne. It added that the legislation would raise costs for all families while giving tax breaks to "the very wealthy and the big insurance and drug companies."

"Today, the sunny, flamboyant promises of better health care at a lower cost during a political campaign gave way to the cold, dark realities of politics in America," said Paul Gionfriddo, president and CEO of Mental Health America, in a statement. He called it a "tragic day for all those dealing with or caring for someone with serious mental health concerns."

In an emailed statement, Cecile Richards, president of the Planned Parenthood Federation of America, said: "Today the U.S. House of Representatives voted on the worst women's health legislation in a generation. It makes it harder to prevent unintended pregnancy, harder to have a healthy pregnancy, and harder to raise a family."

Physicians for Reproductive Health's statement argued that the bill is a "targeted attack against reproductive health care" and that it takes away health care from millions of Americans, disproportionally affecting low-income women and women of color.

"It is appalling that the House would push forward legislation that offers no significant improvements to the bill that was rejected just last month," said a statement from Dr. Diane Horvath-Cosper, the reproductive health advocacy fellow at the association. "I am terrified for my patients and for the health of this country."

Join the conversation See the latest news and share your comments with CNN Health on Facebook and Twitter.

There was at least one association that was applauding the passage of the legislation in the house. #ProtestPP , which stands for Protest Planned Parenthood Coalition. The group organizes rallies around the country in support of defunding Planned Parenthood.

"With today's vote in the House, our leaders in Congress have taken a giant step toward keeping the promise they made to voters last year to defund Planned Parenthood. Now it's time for the Senate and President Trump to get the job done," said Eric Scheidler, one of the association's national directors.

The office of the Health and Human Services secretary also sent out a statement on the legislation.