In 1989, the Legislature codified the common law fair procedure requirements with respect to staff and hospital privileges, setting forth detailed peer review requirements which now supersede any common law procedural requirements in the peer review context. See Bus. & Prof. Code 809 et seq.) The trial court erred in awarding attorney fees against plaintiff under Bus. & Prof. Code 809.9 on her claims against the medical staff as those claims had survived summary judgment and so could not properly be deemed frivolous. Her claims against the hospital however did not survive summary judgment and so fees were properly awarded against her on those claims.