PL missing L Tables content

From CCMDB Wiki
Data Integrity Checks
Summary: Complete patients must have entries in all of
Related: Quality Assurance queries in CFE, L_Dxs table, L_Como table, L_Labs_Flowsheet table, L_Pharm_Flowsheet table, Sending Patients
Firmness: hard check
Timing: complete
App: Centralized data front end.accdb
Coding: query PL_missing_L_Tables_content
Uses L Problem table: No
Status: implemented
Implementation Date: 2016-01-21
Backlogged: true
  • Cargo

  • SMW

  • Categories: 
  • form:

This query must be run daily by Data Processor. This is one RED flag to data processor, that there was a problem with the sending.

Investigation Process

Data Processor must:

  • In CFE, review other profiles with the same sentDtTm from site location. The concern is that if one profile has missing content in one of the above, other profiles that had changes made and where completed and sent, could be missing any changes collector made to any table above.
  • have collector resend data.
    • if data is deleted, the processor to obtain backup from Regional Server ASAP and resend.

Log errors

There are checks in place in CCMDB.accdb that should prevent sending of these. So, if any get through then either those checks are not working, or the problem arises during Sending and not at the source.


2021 -11- 04

  • Problem found that no ICD10 code in PL missing L Tables content from S5 laptop, problem fixed. PTorres 16:55, 2021 November 24 (CST)
  • Started when Pam cannot send with this error message " Invalid SQL statement expected delete, insert, Procedure, Select or Update."
  • Then found out that their are Record Status "Complete" after I clicked the Reconnect button it saying Complete Record Status.
  • We trouble shoot S5 laptop, found out that she still have some Record Status "Sent " but sent with older date but not deleted yet on her the laptop.
  • Because of those old Sent but not deleted on the laptop, CFE Record Status Vetted became Sent again even though it was Vetted before.
  • Before if we have Record Status Complete means sending did not go through completely the sending, and need to be re send, but with this problem not true data sent completely the problem is in the Record Status in CFE already Vetted it became Sent again because their was Sent in the laptop which is not deleted.PTorres 16:16, 2021 November 29 (CST)



  • updated to integrate parts that were in another query, and to always only look at the last 90 days, rather than starting at a set dttm.


  • HSC_SICd-2547 - Found out missing all the L Table's (ICD10,CCI,APACHE,LAB TMP and PHARM). Noticed that the RecordStatus is Blank.

These are the D_ID's that the date stamped never get changed.

    • HSC_SICd-2547 Sent 2019/Aug/15 15:15 - Blanks -(ICD10,CCI,APACHE,LAB TMP and PHARM)
    • STB_E6a-939 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
    • STB_E6a-1042 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
    • STB_E6a-1046 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
    • STB_E6a-1061 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
    • STB_E6a-984 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
    • STB_E6a-1056 Sent 2019/Aug/15 15:15 - Complete - (ICD10,CCI,APACHE,and TMP )
      • PTorres 15:38, 2019 August 22 (CDT)


  • added L_Problems functionality


  • added sendDtTm to query - if it needs to be reviewed each time the query triggers it might as well be there
  • removed L_Dxs and L_Como table, and added L_ICD10 and L_CCI_Picklist table

Related articles

Related articles: