DENVER – Students in Colorado who use medical marijuana to combat serious illnesses could soon have clearance to use their medication at school.

Colorado lawmakers approved legislation late Monday that will allow Colorado students with epilepsy, cerebral palsy and other serious conditions to take non-smoked forms of low-THC marijuana medication during the school day, Fox News reports.

The measure is known as “Jack’s Amendment,” and is named after 14-year-old Colorado student Jack Splitt, “whose personal nurse was reprimanded at his middle school for putting a medical marijuana patch on Jack’s arm that was prescribed by doctors to help his spastic quadriplegic cerebral palsy and dystonia,” according to the news site.

MORE NEWS: Know These Before Moving From Cyprus To The UK

“We allow children to take all sorts of psychotropic medications, whether it’s Ritalin or opiate painkillers, under supervised circumstances,” Jack’s Amendment sponsor Rep. Jonthan Singer told Fox News.

“Jack’s Amendment will assure that children don’t have to choose between going to school and taking their medicine.”

Jack’s mother, Stacey Linn, was “relieved” when lawmakers passed the measure through both chambers of the Colorado legislature before the current session closes today. The bill now heads to Gov. John Hickenlooper, who reportedly plans to sign the bill, Fox News reports.

“It was so frustrating that we finally found a medicine that worked, and then had it stripped away from him at school,” Stacey Linn said. “It was unacceptable.”

The fight for medical marijuana for students isn’t restricted to Colorado, where medical marijuana was approved in 2000, and the drug was fully legalized for adults in 2012.

Roger and Lora Barbour are suing their 16-year-old daughter’s private school in New Jersey in an effort to ensure she can receive her noon-time dose of cannabis oil. Genny Barbour suffers from epilepsy and autism, and experienced multiple seizures a day until the family discovered the drug, NJ.com reports.

MORE NEWS: How to prepare for face-to-face classes

“The Barbours say in nine months, edible cannabis appears to have achieved what brain surgery, dozens of pharmaceuticals and a restricted diet have failed to deliver for their daughter: control over the frequency and intensity of her seizures,” according to the news site.

“Cannabis has enabled Genny to be more attentive, verbal, and calm enough to enjoy her favorite past times of curling up on the couch to watch Disney cartoons or listen to music.”

Genny is a registered medical marijuana patient through New Jersey’s medical marijuana system, and her mother is her registered caregiver with legal authority to administer her medicine. But when Genny’s doctor recommended she take a noon-time dose to control what was left of her seizures, school officials rejected the Barbours’ request for a school nurse to administer the medicine, NJ.com reports.

“She could have Valium or oxycodone, but not medical marijuana. Other children can take their medicine. My daughter cannot,” Roger Barbour, who is also an attorney representing his daughter, told the news site. “My daughter is a citizen of this state, and this is a violation of her state and federal constitutional rights.”

School officials sought legal guidance on the issue, but federal drug-free school laws seem to trump the state’s medical marijuana law. Marijuana remains illegal on the federal level as it’s classified as a Schedule 1 drug with no medical benefits.

Parents in Maine have also witnessed the benefits of medical marijuana in treating epilepsy in their children, and are pressing lawmakers to allow students to take the medication in school with a prescription, the Portland Press Herald reports.

Legislation is pending to allow students to consume medical marijuana in Maine’s schools, and several parents testified in support of the bill, but potential conflicts with federal law has hampered its progress.

Susan Meehan said the change in her 12–year-old daughter, who suffers from seizures associated with Dravet syndrome, has been remarkable, and she won’t risk sending her to school without her oral marijuana oil.

“She doesn’t understand why she can’t go to school like everyone else,” Meehan told the Press Herald. “I try to explain to her that there is nothing I can do.”