Residents of assisted living communities and nursing homes would have less time to file medical professional liability lawsuits against the facilities under a bill headed for the desk of West Virginia Gov. Jim Justice.

The state House of Delegates passed the legislation, which cuts the timeframe from two years to one year from the date a person is injured or discovers an injury, by an 87-12 vote on Friday, according to the Associated Press. The Senate previously had passed the bill, which also changes the definition of an occurrence from one incident to “any and all injuries” stemming from care provided at a facility.