The top lawmakers in the Senate and Assembly have reached an agreement with Gov. Andrew Cuomo on a bill Sunday that would make it easier for a person to file a lawsuit over a missed cancer diagnosis.

The measure, known as Laverne’s Law, extends the amount of time a suit can be filed up from 2-1/2 to 7 years from when the plaintiff has learned of a diagnosis instead of when the cause of the illness occurred.

The bill was named for Lavern Wilkinson, who died in 2013 after a missed diagnosis.

“No one should have to go through what Lavern Wilkinson and her family did, and this agreement will help protect cancer patients and their loved ones, while also addressing concerns from the medical field,” Cuomo said in a statement. “With this reform, we will help make New York a healthier, fairer state for all.”

The current statute of limitations for medical malpractice actions can expire in certain cases before a patient is aware of a problem.