PL SamePHIN Site Diff chart: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m Text replacement - "|DIC_LProblem=no" to "|DIC_LProblem=No"
No edit summary
 
Line 1: Line 1:
{{Data Integrity Check
{{DISPLAYTITLE:PL_SamePHIN_Site_Diff_chart}}{{Data Integrity Check
|DIC_summary=Another record exists for this site with the same [[PHIN]] and a different [[Chart number]].
|DIC_summary=Another record exists for this site with the same [[PHIN]] and a different [[Chart number]].
|DIC_related_concepts=PHIN field; Chart number
|DIC_related_concepts=PHIN field; Chart number
Line 15: Line 15:


== Log ==
== Log ==
* 2026-05-07 Realized during troubleshooting for [[PL_SameCHART_Site_Diff_PHIN]] that there is a more efficient way to do these queries so updated this one to work on same principle. Set up with .._new and .._old copies for now for testing. In this case the query actually found additional problems so the old one must not be working right...
* 2022-04-13 - didn't have an explicit D_ID field so would not have worked with PatientList; wonder if it's been used at all
* 2022-04-13 - didn't have an explicit D_ID field so would not have worked with PatientList; wonder if it's been used at all
* 2021-07-15 - updated to overcome 2GB limit, it now only compares the required data components, and the second datset is only the last 30 days
* 2021-07-15 - updated to overcome 2GB limit, it now only compares the required data components, and the second datset is only the last 30 days

Latest revision as of 01:22, 8 May 2026

Data Integrity Checks
Summary: Another record exists for this site with the same PHIN and a different Chart number.
Related: PHIN field, Chart number
Firmness: soft check
Timing: always
App: Centralized data front end.accdb
Coding: query PL_SamePHIN_Site_Diff_chart
Uses L Problem table: No
Status: implemented
Implementation Date: not entered
Backlogged: No
  • Cargo


  • SMW


  • Categories:  
  • form:

This query compares the chart numbers and PHINs of profiles started in the last 30 days to any charts in our database.

The query takes several minutes to run. Tina reviewed it 2021-07-15 and could not see further ways to streamline it.

Log

  • 2026-05-07 Realized during troubleshooting for PL_SameCHART_Site_Diff_PHIN that there is a more efficient way to do these queries so updated this one to work on same principle. Set up with .._new and .._old copies for now for testing. In this case the query actually found additional problems so the old one must not be working right...
  • 2022-04-13 - didn't have an explicit D_ID field so would not have worked with PatientList; wonder if it's been used at all
  • 2021-07-15 - updated to overcome 2GB limit, it now only compares the required data components, and the second datset is only the last 30 days
Related articles: