CONCORD, N.H. — The New Hampshire Senate is taking up a half-dozen abortion bills Wednesday, including one that could jeopardize the state’s federal funding for its Medicaid program.

The bill would cut off taxpayer funding to hospitals, clinics and others who perform elective abortions, although an amendment proposes to exempt hospitals. That would end funding to six Planned Parenthood of Northern New England centers and several other rural clinics. The amendment’s sponsor — Republican Sen. Gary Lambert of Nashua — hopes to reduce the financial impact on the Medicaid program, but he says he does not know what risk remains.

Health and Human Services Commissioner Nicholas Toumpas cautioned the Senate in a series of letters that the bill could imperil the state’s $1.4 billion annual state-federal Medicaid program. About half the funding is federal.

“That wasn’t feasible. That would have been a financial nightmare for the state,” Lambert said Monday.

But Toumpas stressed Monday that the amendment does not eliminate the risk to the entire Medicaid program, which includes services to the disabled, mentally ill, women, children and the elderly in nursing homes. “All that would become at risk (if the bill became law),” said Toumpas.

The Senate Health and Human Services Committee voted 3-2 last week to recommend passing the bill with the amendment.

Before the vote, Toumpas wrote the committee that excluding hospitals might not eliminate the risk to New Hampshire’s Medicaid program because it would violate a federal requirement that Medicaid recipients have access to treatment from “any willing provider.”

Toumpas noted that similar attempts to end public funding to health care providers in Texas, Kansas and Indiana have resulted in litigation.

Other bills before the Senate would ban a form of late-term abortion that the proposal refers to as “partial-birth abortion”; ban abortions after 20 weeks; require a 24-hour wait before an abortion; exclude contraceptives from coverage in health plans if employers have religious objections, and establish a committee to determine a method to collect statistics on abortion.