Voters are split on how the government should require coverage for pre-existing conditions, according to a Morning Consult/Politico poll released Wednesday.

Half of the respondents said that they oppose allowing states to opt-out of requiring pre-existing conditions to be covered, while 38 percent support the idea. The results were similar regardless of party affiliation, with 52 percent of Democrats and 48 percent of Republicans opposing the idea.

Under the GOP House bill being debated to repeal and replace Obamacare, the American Health Care Act, a recent proposal would allow states to apply for waivers to opt out of Obamacare mandates, including one that requires insurance companies charge sick or healthy customers the same amount if they are the same age.

Critics of the plan say that it essentially does away with protections for people with pre-existing conditions by allowing insurance companies to charge exorbitant rates. Defenders, however, note that states could not waive the provisions unless they set up high-risk pools, which would be federally funded, and that states also must prove the plan decreases premiums, increases enrollment and helps stabilize the insurance market.

The latest changes to the American Health Care Act also allow states to apply for a waiver to opt out requirements that insurance companies provide federally mandated services, including addiction and mental health treatment, and maternity care. A plurality of respondents, 46 percent, say that they think the federal government should set a national standard for benefits while 38 percent say that states should.

The latest proposals on insurance mandates won over the support of conservative members of the House Freedom Caucus, though some centrists are concerned about it and say that it gets in the way of them voting "yes" for the American Health Care Act.

The approval rating for the American Health Care Act has remained roughly constant. According to the poll, 42 percent of Republicans the bill and 37 percent don't. The survey question did not mention that the bill has Trump's support or that it is spearheaded by Republicans.

The survey used interviews with 1,998 voters and was conducted between April 27 and April 30 with a margin of error of plus or minus 2 percentage points.