A trial court erred in granting the health insurance company summary judgment against claims from the California Medical Association, a nonprofit professional association representing more than 37,000 California physicians, the high court said in its ruling.