WASHINGTON — Congressional negotiators raced Monday to finalize a $1.3 trillion spending bill to keep the government running, with several thorny issues still unresolved ahead of an end-of-week deadline.

Health care remained a sticking point, as Republican Sens. Susan Collins, Maine, and Lamar Alexander, Tenn., pushed for inclusion of provisions aimed at lowering premiums for people purchasing health insurance in the Affordable Care Act’s individual marketplace. President Trump spoke with Collins and Alexander on a conference call Saturday and offered his support for their efforts, but a partisan dispute over abortion funding looked poised to derail the push.

House Republicans left a meeting to discuss the pending legislation late Monday with the understanding that the health-care provisions would not be included, several lawmakers said. In addition to the dispute over abortion language, Republican lawmakers were reluctant to sign off on provisions that shored up the Affordable Care Act, a law they all opposed.

“Nobody in that room voted for Obamacare, so the idea you’re going to vote for billions of dollars to stabilize a system you never supported in the first place – pretty hard to choke down,” said Rep. Tom Cole, R-Okla.

The “omnibus” spending bill spreading billions across all agencies of government was supposed to be released Monday night to allow time for passage through the House and Senate before a government shutdown deadline at midnight Friday.

But as evening arrived, bipartisan congressional leaders remained locked in negotiations on several issues and the eleventh-hour wrangling threatened to delay the bill’s release.

“We’re trying to get to agreement,” said Rep. Pete Sessions, R-Texas, chairman of the House Rules Committee. “And this is where it’s really good to measure three times and saw once.”

With conservatives expected to oppose the massive spending bill that funds the government for the remainder of the 2018 fiscal year, through Sept. 30, Democratic votes will be needed in both chambers to pass the legislation. That empowered Democrats to make demands on a variety of issues while resisting Republican priorities.

Overall, the legislation will bestow generous increases on domestic agencies and the military, following passage of a deal last month setting top-line government-wide budget numbers for this year and next. Longtime bipartisan congressional priorities such as the National Institutes of Health are expected to see significant increases, and greater funding is even expected for the IRS to help implement the new Republican tax law, after years of Republican efforts to slash the agency’s budget.

“I have not heard anything from any of my colleagues that would give me a whole lot of hope that there will be conservative wins,” said House Freedom Caucus Chairman Mark Meadows, R-N.C.

The government has shut down briefly two times this year, but there was widespread agreement on Capitol Hill that Congress would act in time to stave off a third shutdown this weekend.

On another front, it was looking unlikely that a deal could be made on immigration. The White House had been exploring trading border-wall funding for a temporary extension of protections for those enrolled in the Deferred Action for Childhood Arrivals (DACA) program.

But congressional appropriators have recommended only $1.6 billion in border-security funding for a tightly restricted set of infrastructure improvements. Barring a deal, the Trump administration cannot move forward in any significant way with the wall, the president’s top immigration priority.

The White House continued pushing through the weekend for more funding – $25 billion in exchange for extending DACA through September 2020 – according to two congressional aides familiar with the talks. But Democrats, who are seeking a permanent resolution to the issue, rejected that offer.

“There’s not doing to be DACA language in the bill. If there is, I’ve never heard a word of it. Not one syllable. If there’s a DACA fix out there, I haven’t seen it,” said Rep. John Carter, R-Texas, chairman of the Appropriations subcommittee on homeland security.

The health-care deal would have fulfilled commitments that Trump and McConnell had previously made to Collins. Collins cited those commitments when she voted in favor of the tax bill last year.

The parameters Collins and Alexander discussed in the Saturday call with Trump would have provided $30 billion over three years to allow states to set up high-risk pools for people with expensive health claims. The deal also would have restarted the “cost-sharing reduction” payments made to insurers under the ACA but ended by Trump in the fall. Those payments would have been made retroactively and continued for three years.

Collins and Alexander left an hour-long meeting with McConnell earlier Monday blaming Democrats’ abortion objections for the impasse.

Collins, one of the few Republican supporters of abortion rights in the Senate, said she was surprised by the opposition. “I really don’t understand why there are some who are hung up on that issue, and I say that as someone who has a very good record on choice issues from the perspective of the pro-choice groups,” she said.

Nicole Clegg, vice president of public policy for Planned Parenthood of Northern New England, attacked the Collins-Alexander bill for restricting abortion.

“This proposal is dangerous and part of a larger strategy to eliminate insurance coverage for abortion services. Accessing reproductive health care can be costly. That’s why insurance coverage is critical for women who are seeking an abortion. Without coverage, many women are forced to forgo or delay care,” Clegg told the Press Herald Monday night. “Once again, politicians are trying to insert themselves into a woman’s personal medical decisions about her pregnancy. This agenda has no place in any legislation, let alone efforts to keep insurance premiums low and stabilize the insurance marketplaces.”

Larry Levitt, senior vice president for health reform at the Kaiser Family Foundation, a Washington-based health policy think tank, told the Press Herald that the Collins-Alexander bill would greatly curtail abortion services for those on the marketplace. About 75,000 Mainers have marketplace plans.

“The proposal goes well beyond the current segregation of private and federal dollars in ACA insurance plans, and would mean that plans could not cover abortion at all, even with premiums paid by individuals themselves,” Levitt said.

Annie Clark, a Collins’ spokeswoman, said that Collins, a pro-choice Republican, is merely following federal law as it’s applied to other government health care programs, including Medicare and Medicaid, which do not permit federal funding of abortions.

“The health care stabilization package Sen. Collins introduced with Sen. Alexander to lower premiums and expand coverage retains the exact same Hyde protections that have applied to all federal funding since 1976,” Clark said in a statement. “In fact, our current health care benefits plan for all federal employees is actually more restrictive (for abortion) than this stabilization package.”

The abortion dispute is one that has flared on other health-related pieces of legislation, too. While federal funds cannot be spent on abortions, under the status quo – set out in the ACA and an executive order issued by President Barack Obama – insurers are free to offer plans that cover abortions and use segregated nonfederal funds to pay any abortion-related claims.

Under the proposed Republican approach, according to a Republican aide familiar with the plan, insurers could not use the stabilization funds to subsidize any plan that offers abortion coverage – whether or not the insurer uses the federal funds to pay for any specific claims. Republicans viewed the provision as adhering to the long-standing Hyde Amendment – a 40-year-old appropriations restriction that prevents federal funding for abortions – but Democrats viewed it as an impermissible expansion of abortion restrictions.

The aide spoke on the condition of anonymity to freely discuss private talks.

Another issue at play was a fix for a provision in the tax law that inadvertently favored farmer-owned cooperatives over agriculture corporations, allowing a substantially larger write-off for sales to cooperatives. Farm-state lawmakers had been pushing for a solution to be made part of the spending bill, but congressional aides said Monday it probably would not be included.

The spending bill has also sparked a fight between Trump and Senate Minority Leader Chuck Schumer, D-N.Y., over funding for a costly rail project between Manhattan and New Jersey that Trump has been urging Republicans to oppose. Resolution of that issue looked possible, though it remained uncertain exactly how it would play out.

But a push to change Capitol Hill’s system for reporting and adjudicating complaints of sexual harassment and other workplace misconduct in the wake of the #MeToo movement hit a roadblock after Republicans resisted including the policy language in the spending legislation.

And a handful of other issues remained outstanding, too, including a campaign finance provision sought by Majority Leader Mitch McConnell, R-Ky., to loosen federal restrictions on fundraising by political parties; and a provision exemption minor league baseball players from federal labor laws.

“I’d say the most frequently used term would be ‘on the table,’ ” said Rep. Brian Mast, R-Fla., as he left the House Republican conference meeting late Monday, referring to the overall uncertainty surrounding the bill hours before it was supposed to be made public.

Press Herald Staff Writer Joe Lawlor contributed to this report.