Democrats are warning the Trump administration not to move forward with a proposed rule that would undo an ObamaCare provision that prohibits health care discrimination based on sex.

In a letter sent to the Department of Health and Human Services (HHS), 125 House Democrats urged the administration to withdraw a proposal they said would give doctors, insurers, hospitals and others a license to discriminate against transgender patients.

“The proposed rule would dramatically undermine Congressional intent by inviting widespread discrimination, including by allowing … healthcare providers and entities to deny patients care because of who they are, what language they speak, their sexual orientation or gender identity, or the color of their skin,” the Democrats, led by Rep. Barbara Lee Barbara Jean LeeOvernight Defense: Nearly 500 former national security officials formally back Biden | 40 groups call on House panel to investigate Pentagon's use of coronavirus funds 40 groups call on House panel to investigate Pentagon's use of coronavirus funds Overnight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers MORE (D-Calif.) wrote. ADVERTISEMENT

A similar letter was sent by Senate Health Committee ranking member Patty Murray Patricia (Patty) Lynn MurraySenate Democrats introduce legislation to probe politicization of pandemic response Trump health officials grilled over reports of politics in COVID-19 response CDC director pushes back on Caputo claim of 'resistance unit' at agency MORE (D-Wash.) and 35 other Senate Democrats.

“In advancing policies that not only allow discrimination – but in fact endorse it – HHS is abdicating its responsibility to enhance and protect the health and well-being of all Americans,” the letter stated.

"As is abundantly clear from the legislative history of the ACA, the goal of the law was to eliminate discrimination; yet, the proposed rule does the opposite," the Senate Democrats wrote.

Comments on the proposed rule, which was first announced in May, were due Tuesday. At the close of the comment period, HHS reported well over 100,000 comments, with tens of thousands more that had yet to be counted.

The proposed regulation scraps ObamaCare's definition of "sex discrimination" to remove protections for gender identity.

That provision said patients cannot be turned away because they are transgender, nor can they be denied coverage if they need a service that’s related to their transgender status.

The move was sought by conservative Christians, who said religious providers have a right not to provide treatment that is against their beliefs.

Dozens of health groups, including hospitals and insurers, also told the administration that the rule would harm patients.

“The proposed rule’s blanket elimination of protections of individuals from discrimination based on their gender identity or sexual orientation or based on sex stereotypes is not consistent with hospitals and health systems’ longstanding commitment to serve their communities,” the American Hospital Association wrote.

“Removing references in the rule to discrimination based on gender identity, sex stereotyping, and pregnancy status is inconsistent with providing access to affordable high-quality care to everyone,” America’s Health Insurance Plans said. “Those changes should not be finalized.”