Pre-send Checker: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Line 11: Line 11:
The following things get checked, in this order:  
The following things get checked, in this order:  


First, a number of tests get run successively on every record in the table L_TmpV2:
# are there any patients that don't have the [[Minimal Data Set]]?
# a patient must exist for every entry in L_TmpV2
# are there any TMP entries not consistent with table s_tmp?
# the patient must have a '''location'''
# various checks for [[:Category:Special Short Term Projects | Special Short Term Projects]], e.g.
#*some tmp studies only apply in some location, and those checks will fail if this were not entered
#* [[QAInf]]
# there must be an item for every entry in L_TmpV2
#* [[QASeptic]]
# various checks for [[:Category:Special Short Term Projects | Special Short Term Projects]]
# are there any patients with [[Eliminating a diagnosis from collection|diagnoses we are eliminating]]?  
# various checks for [[ER Wait]]
 
Then, a number of tests are run on the entire L_TmpV2 table:
# do all patients that ought to have a move, have one?
# are there several moves with identical times?
# are there two consecutive transfusions in < 5min?
 
Then there is one check that is run at this time even though it's not really related to tmp:
* Are there any patients that don't have the [[Minimal Data Set]]?


[[Category: CCMDB.mdb]]
[[Category: CCMDB.mdb]]
[[Category: Main Form]]
[[Category: Main Form]]

Revision as of 13:46, 2 July 2013

When complete patients are being sent some data is also sent for patients who are not yet complete, for example:

Since these patients don't have the RecordStatus field set to "complete" that can not be used as a trigger to ensure all is correct before sending. For that reason, this data is checked when either the Send Records or the Pre-send TmpV2 Checker button is pressed.

What is actually checked

This data may be out-of date, for the actual checks see the Tmp_checker module in CCMDB.mdb.

The following things get checked, in this order:

  1. are there any patients that don't have the Minimal Data Set?
  2. are there any TMP entries not consistent with table s_tmp?
  3. various checks for Special Short Term Projects, e.g.
  4. are there any patients with diagnoses we are eliminating?