Check duplicate patient
Data Integrity Checks | |
Summary: | there are no duplicate entries for the same patient ward admission on the laptop at send time |
Related: | PHIN, DOB, Chart number, First Name, Last Name, Arrive DtTm, Dispo DtTm |
Firmness: | hard check |
Timing: | |
App: | CCMDB.accdb |
Coding: | functions has_multiples() and overlap() and query Check_pt_multiples |
Uses L Problem table: | not relevant for this app |
Status: | implemented |
Implementation Date: | date change was rolled out / first applied |
Backlogged: | true |
The same patient should not be on a laptop twice with overlapping Arrive DtTm / Dispo DtTm. If there is a patient like that you will get an error and you will not be able to send any patients. Function Overlap defines what it means for two timeframes to overlap.
Definition
Duplicates of the following with overlapping Arrive DtTm / Dispo DtTm:
- Chart number
- PHIN (except 999999999 for PHIN_field#Location_Manitoba_and_no_PHIN)
- combination of (DOB, First Name, Last Name)
Log
- 2021-01-22 - better labels and included the relevant dates right in the query listing.
- 2019-10-27 - changed to only include if recordstatus is complete or incomplete