The New Jersey Supreme Court has agreed to consider whether a company’s failure to accommodate an employee’s medical marijuana usage provides the basis for a discrimination claim.

The court said Tuesday it will hear Wild v. Carriage Funeral Holdings, in which a funeral director was fired after his employer discovered he was using medical marijuana as part of his cancer treatment. The case raises the issue of whether an employer is required to accommodate the use of medical marijuana as allowed under the state’s Compassionate Use Medical Marijuana Act.