Query NDC Bad Postal Code: Difference between revisions
Ttenbergen (talk | contribs) m Text replacement - "[[Category: " to "[[Category:" |
Ttenbergen (talk | contribs) consolidated content about validating the Postal Code Master at Postal_Code_Master table#Maintenance and Validation of Master table and removed it from here. |
||
| Line 11: | Line 11: | ||
}} | }} | ||
We cross-check the postal codes we collect as part of [[Postal Code field]] collection against a list of known-good postal codes. Also see [[query NDC_Postal_Code_over_time]]. | We cross-check the postal codes we collect as part of [[Postal Code field]] collection against a list of known-good postal codes. Also see [[query NDC_Postal_Code_over_time]]. | ||
== CFE Data Integrity Checks Steps == | == CFE Data Integrity Checks Steps == | ||
| Line 35: | Line 26: | ||
=== update to [[Postal_Code_Master table]] === | === update to [[Postal_Code_Master table]] === | ||
''see [[Postal_Code_Master table#Maintenance and Validation of Master table]] for other update processes we have for [[Postal_Code_Master table]]'' | |||
# Open [[Postal_Code_Master table]] | # Open [[Postal_Code_Master table]] | ||
# update/add code | # update/add code | ||
#* you only need to fill in the fields '''PCode, rhaname, RHA_Acronym and town''', we will eliminate the other fields. | #* you only need to fill in the fields '''PCode, rhaname, RHA_Acronym and town''', we will eliminate the other fields. | ||
* Fixing and adding Postal code to the Master Postal Code | * Fixing and adding Postal code to the Master Postal Code | ||
* Create a query need the D_ID, Phin and Postal Code, use Log_PHI Table. | * Create a query need the D_ID, Phin and Postal Code, use Log_PHI Table. | ||
* Open the Postal | * Open the Postal Code Master if you need to add a Postal Code | ||
* Open the EPR to check the address of the patient | * Open the EPR to check the address of the patient | ||
* Check first the Postal Code in EPR - then go to Address | * Check first the Postal Code in EPR - then go to Address | ||
| Line 54: | Line 41: | ||
* Sort the Postal Code , | * Sort the Postal Code , | ||
[[ | == Maintenance and Validation of Master table == | ||
see [[Postal_Code_Master table#Maintenance and Validation of Master table]] for other update processes we have for [[Postal_Code_Master table]]'' | |||
== Log == | |||
==Log== | |||
* 2021-01-27 - changed query to only look at the last year of data to make it faster; any older records were already fixed | * 2021-01-27 - changed query to only look at the last year of data to make it faster; any older records were already fixed | ||
* 2016-08-end - cleaning started | |||
* 2014-09-24 - implemented | |||
== Related articles == | == Related articles == | ||