Promise and problems arise as health records go online