An Illinois Senate bill that would expand the use of medical marijuana in order to combat the state’s opioid crisis has been referred to the Illinois House Rules Committee.

The bill would allow individuals who qualify for opioids to apply for the state’s medical cannabis program. It would create a pilot program where patients can take a physician certification to a dispensary to receive medical marijuana.

Republican Sen. Dale Fowler says the bill is in response to the state’s growing opioid crisis, which has resulted in the deaths of more than 10,000 residents over the past decade.