Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add qrda encounter dedupe merge #5366

Merged
merged 7 commits into from
May 23, 2022
Merged

add qrda encounter dedupe merge #5366

merged 7 commits into from
May 23, 2022

Conversation

sjpadgett
Copy link
Sponsor Member

Fixes #5364

Short description of what this resolves:

This will get us by with testing I believe. I'll know more when I run through all the test patients, again!

@sjpadgett
Copy link
Sponsor Member Author

image

echo "<br />$sql";
$sql = "UPDATE " . escape_table_name($table['encounter_table']) . " SET " .
escape_sql_column_name($table['encounter_column'], array($table['encounter_table'])) . " = ? WHERE " .
escape_sql_column_name($table['encounter_column'], array($table['encounter_table'])) . " = ?";
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2DV

);
sqlStatement($sql, array($target, $source['encounter']));
if ($GLOBALS['adodb']['db']->_connectionID->affected_rows) {
echo "<br />$sql ($target)" . ($source['encounter']);
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would prob html escape these 2 variables

@sjpadgett
Copy link
Sponsor Member Author

After these changes things are going much better. Deduplication has a few rules that I'll try to acknowledge in the UI:

image

@sjpadgett
Copy link
Sponsor Member Author

It took 4.5 minutes to test CMS127 with 20 patients start to finish. So each patient takes 1.8 sec import and maybe 10secs for cypress.

@sjpadgett sjpadgett merged commit 56ab45c into openemr:master May 23, 2022
@sjpadgett sjpadgett deleted the dedupe branch May 23, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need to fix Merge and Duplicate.
2 participants