A majority of Americans thinks the federal government should make sure all Americans have healthcare coverage, according to a new survey.

An Associated Press-NORC Center for Public Affairs Research poll finds 62 percent of Americans think it is the responsibility of the federal government to ensure Americans have access to coverage.

Another 37 percent disagree.

ADVERTISEMENT

Americans were split on the issue along partisan lines.

More than 80 percent of Democrats said the federal government has the responsibility to make sure all Americans have healthcare coverage, while about 30 percent of Republicans said the same.

The poll was conducted from June 13 to 17 among 1,019 adults. The margin of error is 4.1 percentage points.

The poll was conducted as the Senate GOP's healthcare bill collapsed amid lack of support.

Earlier this week, Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellOcasio-Cortez to voters: Tell McConnell 'he is playing with fire' with Ginsburg's seat McConnell locks down key GOP votes in Supreme Court fight Video shows NYC subway station renamed after Ruth Bader Ginsburg MORE (R-Ky.) indicated the Senate would move forward with a plan to repeal ObamaCare, even as some GOP senators have already come out against the repeal-only proposal.

President Trump on Wednesday urged GOP senators to cancel their August recess and not leave until they manage to repeal ObamaCare.

"We shouldn't leave town until this is complete," he said during a lunch at the White House. "We should hammer this out and get it done."

Trump also said that repeal isn't enough.

"We can repeal, but we should repeal and replace,” he said.