Some lottery winners could see their luck run out when it comes to receiving government-funded health care, thanks to a Republican proposal aimed at repealing and replacing former President Barack Obama's signature health care law.

Through the American Health Care Act, introduced by House Republicans on Monday as a replacement bill for the Affordable Care Act, states would be allowed to kick high-dollar lottery winners from their Medicaid rolls.

The provisions take up around six pages of the legislation, spurring snickering from social media users who joked about whether such measures are necessary.

Drug tests for SNAP recipients. Safeguards against lottery winners for Medicaid recipients. Expensive solutions to imaginary problems. — Alexandra Erin (@alexandraerin) March 7, 2017

@POTUS We're going to save so much money kicking lottery winners off of Medicaid! 🙄 — Jacquelynn Ortiz (@JacquieO82) March 7, 2017

The AHCA: Solving the big problems! Like lottery winners on Medicaid! To hell with winning the Powerball vote! — Karlingian (@Karlingian) March 7, 2017

Republicare looks terrible. I sure am glad those lottery winners won't be able to apply for medicaid though. — Josh BW (@BuckPalaceIII) March 7, 2017

The provisions included in the GOP's health care bill relate to how income is treated in terms of Medicaid eligibility. Under current Medicaid regulations, income received as a lump sum, like lottery winnings or an inheritance, is counted as income only in the month in which it's received.

But the new provisions stretch out how long such winnings would be counted as income. Under them, starting in 2020, someone who wins between $80,000 and $90,000 could be disenrolled from Medicaid for two months. For each additional $10,000 won, a person could be removed for an additional month, up to 120 months.

"We believe this bill would bring in savings in the hundreds of millions," a spokesman for Rep. Fred Upton says in an email.

The provisions are similar to a bill that Upton – a Michigan Republican and member of the House Energy and Commerce Committee, which is scheduled to mark up the new GOP bill on Wednesday – introduced in February. The measure ultimately was included as part of a larger committee package aimed at improving Medicaid.

In advocating for the change, the Energy and Commerce Committee staff stated in a memo that "individuals with lower economic status are more likely to play the lottery than individuals with higher income," citing a study that found that people in the lowest-fifth grouping by socioeconomic status had the highest rate of lottery gambling.

Under the Affordable Care Act, also known as Obamacare, states that expanded Medicaid extended government-funded coverage to more low-income people.

"Medicaid is meant to help the most vulnerable amongst us – not high-dollar lottery winners," Upton said in a statement when he introduced the bill in February. "Our common-sense solution would alter how Medicaid eligibility is determined for those lucky enough to hit it big playing the lottery, while continuing to prioritize the low-income population the program is meant to assist. I will continue to work on a bipartisan basis to strengthen critical programs like Medicaid to ensure they best serve our communities."

A similar bill was introduced by Rep. Joe Pitts, R-Pa., when he was in office last year. At the time, the congressman's office said it would save taxpayers $400 million over a decade.

Upton's state has some experience with this type of legislation. A few years ago, Michigan state legislators passed a law related to lottery winners and welfare programs after news surfaced that a man who won $2 million in the "Make Me Rich!" lottery game in 2010 was receiving food assistance.

As a result of the legislation, Michigan removed more than 500 lottery winners from welfare programs. The state's Department of Health Services reportedly estimated at the time that 14 percent of all lottery winners were either welfare recipients themselves or living in a household with welfare recipients. It also found that in 2013, 18 winners of jackpots of $100,000 or more were getting public assistance in Michigan when they won.

The left-leaning Center on Budget and Policy Priorities criticized the Pitts bill in the past, saying it could extend even to people who have been injured or are receiving retroactive disability payments, leaving them ineligible for Medicaid for an extended period.