What is the statute of limitations for being suited on debt collections for medical bills in California?

A medical bill would be a written agreement. In California they have set the limitation at 4 years.