Trach Task: Difference between revisions

which version do we want?
TOstryzniuk (talk | contribs)
{{CCMDB Data Integrity Checks}}: Chronic trach in ADMIT DX now required.
Line 13: Line 13:
query ''check_trach_dx_task''
query ''check_trach_dx_task''


Wrong if:  
'''Wrong if''':  
* trach task none (100) or empty*1 and any trach dx
* trach task none (100) or empty (1) and if there is any trach dx in admit or complication.  (1 - empty tasks are checked elsewhere, this will give specific error).
* trach task chronic (102) and no admit trach dx
* trach TASK chronic (102) and '''no''' admit trach DX
* trach task chronic (102) '''with''' acquired trach dx
* trach TASK chronic (102) '''with''' acquired trach DX
* trach task acute (101) and no admit or acute trach dx
* trach TASK acute (101) and '''no''' admit or acquired Trach DX


where trach dxs are  
where trach DX's are:
* [[Tracheostomy]] ''except 77402 chrichothyroidotomy''
* [[Tracheostomy]] ''except 77402 chrichothyroidotomy''
* [[Tracheostomy Site Infection]]  
* [[Tracheostomy Site Infection]]  


*1 empty tasks are checked elsewhere, this will give specific error.


{{discussion}}
{{discussion}}
Line 29: Line 28:
**I would put the trach task chronic but would not put the procedure tracheostomy in the admit codes in this scenario.  The admit code section applies to current admission items (current hospitalization).  If the pt was admitted with a problem with the trach, like an infection, then this can still be coded without putting the procedure tracheostomy in the admit section.  --[[User:LKolesar|LKolesar]] 13:39, 2015 May 15 (CDT)
**I would put the trach task chronic but would not put the procedure tracheostomy in the admit codes in this scenario.  The admit code section applies to current admission items (current hospitalization).  If the pt was admitted with a problem with the trach, like an infection, then this can still be coded without putting the procedure tracheostomy in the admit section.  --[[User:LKolesar|LKolesar]] 13:39, 2015 May 15 (CDT)
*** the cross-checks as I was asked to implement them would not allow through a chronic trach task without a corresponding admit dx. If we want to change that I need to change the code. Ttenbergen 13:31, 2015 May 20 (CDT)
*** the cross-checks as I was asked to implement them would not allow through a chronic trach task without a corresponding admit dx. If we want to change that I need to change the code. Ttenbergen 13:31, 2015 May 20 (CDT)
****This will now change.  We can put unlimited amounts of DX codes now.  So if Chronic trach (one that has been in place for more than 48 hrs) is present at admission,  it should be part of the admit DX's one of the LAST one.[[User:TOstryzniuk|Trish Ostryzniuk]] 17:34, 2015 May 20 (CDT)


== Data Structure ==
== Data Structure ==