Trach Task: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m (Template:CCMDB Data Integrity Checks change, replaced: {{CCMDB Data Integrity Checks}} → {{CCMDB Data Integrity Checks|implemented}})
Line 10: Line 10:
* see [[Check Duplicate Task Entries]]
* see [[Check Duplicate Task Entries]]


== {{CCMDB Data Integrity Checks}} ==
=={{CCMDB Data Integrity Checks|needs review}}==
Will need review with move to [[CCI]]/[[ICD10]]. {{CCI}}{{ICD10}}.
 
query ''check_trach_dx_task''
query ''check_trach_dx_task''



Revision as of 00:15, 2017 November 14

The trach task encodes whether or not a medicine patient has a tracheostomy. It is stored in the Diagnosis tab in ccmdb.mdb because that is the only way we could store it when we started to collect it.

Instructions

Medicine ward patients have lines created automatically under the diagnosis tab. The one for this element needs to be changed to one of the following:

Template:Data Integrity Checks

Template:CCMDB Data Integrity Checks

Will need review with move to CCI/ICD10. Template:CCITemplate:ICD10.

query check_trach_dx_task

Wrong if:

  • trach task none (100) or empty AND if there is any trach dx in admit or complication (empty tasks are checked elsewhere, this will give specific error)
  • trach TASK chronic (102) AND no admit trach DX
  • trach TASK chronic (102) with acquired trach DX
  • trach TASK acute (101) AND no admit or acquired Trach DX

where trach DX's are:

Data Structure

the list of options is in S_AllDiagnoses and the actual data is stored in L_Dxs.

Legacy

Task items replaced iTISS December 15, 2006.