It’s extraordinary for legislation as sweeping as the Senate Republican health care bill to be written behind closed doors, suddenly hatched and then whisked through Congress with little time for lawmakers and the public to understand it.

But on Capitol Hill, secrecy happens. It’s not uncommon for either party to draft bills or resolve stubborn final hurdles in private meetings, forgoing the step-by-step, civics-book version of how Congress works.

That’s even true for the process that produced President Barack Obama’s health care law, the Affordable Care Act, which the GOP is now trying to dismantle. While Democrats reached out to Republicans, held scores of committee hearings and staged many days of debate on that legislation in 2009 and 2010, they also resorted to private meetings to reach agreements that clinched its approval.

Lacking the votes to block this year’s GOP effort, Democrats are looking to score political points by targeting the closely held process Senate Majority Leader Mitch McConnell, R-Ky., is using to write legislation replacing much of Obama’s statute.

GOP senators have been meeting privately to address disputes over cutting Medicaid, limiting insurance requirements and revamping tax credits. McConnell wants a Senate vote before the chamber leaves town for a July 4 recess, giving Democrats scant opportunity to rally resistance against a major bill whose contents are unknown.

Asked on MSNBC’s “Morning Joe” on Tuesday if he’s seen the health care bill, Sen. Bob Corker, R-Tenn., said, “Have you?” He added that GOP senators will be briefed on the emerging bill Wednesday and that he expects to see the legislation the next day, about a week before a vote occurs.

Democrats said they would start forcing procedural votes to slow the Senate down, making floor speeches and taking other steps to call public attention to McConnell’s effort. Democrats took turns giving speech in a mostly empty Senate chamber well into the early morning hours before ceding the floor. The Senate has not held any committee hearings or votes on the measure that McConnell is trying to craft, and even some GOP senators are critical.

“I always believe legislation is best crafted through the normal order,” Sen Susan Collins, R-Maine, told the Portland Press Herald. “I think it’s much better to have committee consideration of bills, public hearings and to have a full debate.”

Three House committees voted on that chamber’s version of the bill and there were a handful of hearings before the House approved a revised version of its legislation last month. That pales compared to how the Democratic-run Congress handled Obama’s legislation.

Starting in 2009, House and Senate committees held scores of hearings and voted on hundreds of amendments, including some from Republicans — who all ended up voting “no” on final passage. The initial House bill was posted online for 30 days before the first of three committees began voting on the measure, and the Senate spent 25 days debating health care overhaul.

The legislation didn’t become law until March 2010.

“Just about everything was done in public,” said Jim Manley, a top aide to then-Senate Majority Leader Harry Reid, D-Nev. But when you encounter problems, he said, “sometimes you need to go behind closed doors to work it out.”

Early in 2009, a Gang of Six, three senators from each party, used secret talks to unsuccessfully seek compromise on an overall bill. That December, Reid used closed-door meetings to craft a final package using elements from differing measures approved by his chamber’s finance and health committees.

There were private talks between Reid and then-House Speaker Nancy Pelosi, D-Calif., after the late Sen. Edward Kennedy, D-Mass., was replaced by Republican Scott Brown, costing Democrats their 60th Senate seat — the number of votes needed to end GOP filibusters aimed at killing the legislation. Closed-door discussions were also used to resolve differences with anti-abortion Democratic Rep. Bart Stupak of Michigan that threatened the bill’s passage.

The difference between his private negotiations and how Republicans are trying to move their bill through the Senate now is that the details of the entire Democratic bill and the language he was seeking were well-known to the public, Stupak said Monday.

“They’re talking about a whole new way of delivering health care” and people don’t know the details, Stupak said of Republicans. Last-minute negotiations among lawmakers and between Congress and the White House “are never in public,” he said.

There are plenty of examples of bills that were essentially written, or had their final details completed, in private settings. These include a bipartisan bill the Senate approved last week sanctioning Russia for interfering in last year’s election, and the deal McConnell and then-Vice President Joe Biden helped finalize preventing sharp tax increases in 2013. There was also a bipartisan budget pact between the chairs of the Senate and House budget committees in 2013 and an agreement between Pelosi and then-Speaker John Boehner, R-Ohio, on how Medicare reimburses doctors.