Check BRR/XBR vs cardiac arrest dx: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
m Tina to look at this because she will move this ccmdb integrity check related toProject: Cooling in TMP
m u
Line 1: Line 1:
If the Diagnosis is '''Cardiac Arrest Witnessed''' 100-2 in ADMIT or COMPLICATION DX slot then the following must also be marked:
If there is an admit or acquired diagnosis of:
 
* [[Witnessed Cardiac Arrest | Cardiac Arrest Witnessed 100.02]]  
If [[Witnessed Cardiac Arrest | Cardiac Arrest Witnessed 100-2]] or [[Unwitnessed Cardiac Arrest | Cardiac Arrest Unwitnessed 100-1]] in [[Admit Diagnosis | '''admit''']] or [[Acquired Diagnosis / Complication | '''complications''']] diagnosis field then '''both''' the following '''must''' also be marked:
* [[Unwitnessed Cardiac Arrest | Cardiac Arrest Unwitnessed 100.01]]  
* {{CCMDB Data Integrity Checks}}: ICU Var 2 - BRR – “BRR” or “XBR”
then there has to be a Project Cooling entry in Tmp.
**Dec 17.14 Tina to move this check from ICU VAR 2 to Project: Cooling in TMP
{{Discussion}}


=== implementation ===
=== implementation ===
This is done by function "Var2_BRR_reconcile()" which is called by Dx_Checker() and by Validate_Var2().
This is in tmp_checker by calling query s_tmp_BRR_DX_inconsistent




[[Category: CCMDB Data Integrity Checks]]
[[Category: CCMDB Data Integrity Checks]]

Revision as of 18:16, 2014 December 17

If there is an admit or acquired diagnosis of:

then there has to be a Project Cooling entry in Tmp.

implementation

This is in tmp_checker by calling query s_tmp_BRR_DX_inconsistent