public boolean validatePatientLogin(String fullName, String readMasterKeyChecksum, String writeMasterKeyChecksum) {
        try {
            String sql = "select read_master_key_checksum, write_master_key_checksum from patient where full_name='" + fullName + "'";
            ResultSet rs = stmt.executeQuery(sql);
            while (rs.next()) {
                String dbReadMasterKeyChecksum = rs.getString("read_master_key_checksum");
                if (!readMasterKeyChecksum.equals(dbReadMasterKeyChecksum)) {
                    return false;
                }
                String dbWriteMasterKeyChecksum = rs.getString("write_master_key_checksum");
                if (!writeMasterKeyChecksum.equals(dbWriteMasterKeyChecksum)) {
                    return false;
                }
                return true;
            }
        } catch (SQLException ex) {
            Logger.getLogger(DatabaseClient.class.getName()).log(Level.SEVERE, null, ex);
        }
        return false;
    }