Query check ICD10 awaiting has Transfer Ready DtTm

From CCMDB Wiki
Revision as of 15:18, 2021 June 11 by Ttenbergen (talk | contribs)
Jump to navigation Jump to search
Data Integrity Checks
Summary: Any patient who has code in Category:Awaiting/delayed transfer has to have a (Transfer Ready DtTm or Transfer Ready DtTm tmp entry) on a different day than their Dispo DtTm.
Related: Awaiting/delayed transfer to long-term care/PCH inside or outside of Winnipeg, Change from Awaiting/delayed dx codes to Transfer Ready DtTm, Check if awaiting code is primary dx then Transfer Ready DtTm must be equal to Arrive DtTm, Template:ICD10 Guideline AwaitingTransfer, Query check ICD10 needs awaiting if TR Dt and Dispo Dt on diff days, Task Team Meeting - Rolling Agenda and Minutes 2021, Transfer Ready DtTm tmp entry
Firmness: hard check
Timing: complete
App: CCMDB.accdb
Coding: Query check_ICD10_awaiting_has_Transfer_Ready_DtTm
Uses L Problem table: not relevant for this app
Status: implemented
Implementation Date: not entered
Backlogged: No
  • Cargo


  • SMW


  • Categories:  
  • form:

As per Template:ICD10 Guideline AwaitingTransfer, an awaiting code should be entered if actual discharge is "not on the same calendar day". So, everyone who has an awaiting code has to have Dispo DtTm on different day from Transfer Ready DtTm.


Log

  • 2021-06-11 - This had been implemented that as "error if any record with awaiting code has either (no Transfer Ready DtTm tmp entry and no Transfer Ready DtTm) or (there is a Transfer ready dttm (old or new) that is the same as the Dispo DtTm). That made sense when there could only be one Transfer ready dttm, but now that there can be more, the bold part would have to be (... and there is not at least one Transfer Date that is not the same as the Dispo DtTm). That one would be pretty messy to set up, and have limited benefit, so I will remove that second check from the query. Emailed Julie so if she feels strongly about the second part we can review. Ttenbergen 16:17, 2021 June 11 (CDT)

Related articles

Related articles: