3.1M records hacked from Calif. med software firm