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

Duplicate patients report #1321

Open
wants to merge 7 commits into
base: data-quality
Choose a base branch
from

Conversation

fredkingham
Copy link
Contributor

So this adds 2 daily duplicate patient checks to the data quality module.

The first checks if two patients have the same hospital number. The second checks if we have a patient and a patient without a leading zero (e.g. 0222, 222), as many of our upstream feeds strip off the leading zeros we consider these patients are probably the same.

It sends an email with a table of 'cleanable' patients, where the first column is a patient url that we think can be easily deleted as they do not have any non masterfile related differences.

The emails a second table where we think the patients need a closer inspection before they can be merged.

THIS PR IS A PLACEHOLDER, THE VPN IS DOWN SO THIS HAS NOT BEEN TESTED

@fredkingham fredkingham changed the title Duplicate patients report RFH: Duplicate patients report Nov 16, 2022
@fredkingham fredkingham force-pushed the duplicate-patients-report branch from 8b7deb4 to 56eeda7 Compare November 16, 2022 09:15
@fredkingham fredkingham changed the title RFH: Duplicate patients report Duplicate patients report Nov 16, 2022
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.

1 participant