Function Dispo Chronological(): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
(link)
 
No edit summary
Line 7: Line 7:
** will arrive always be after accept? is this sensible to check?  
** will arrive always be after accept? is this sensible to check?  
* [[Transfer Ready DtTm field]] - error if < arrive/accept (as above) or >Dispo DtTm  
* [[Transfer Ready DtTm field]] - error if < arrive/accept (as above) or >Dispo DtTm  
* [[Dispo DtTm field]] - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above.  
* [[Dispo DtTm field]] - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above.
* Re: Arrive after Accept: Intuitively should be yes however docs will send patients direct to wards for admission from clinic/s and only get to ward after clinics are over to write their orders...timing their admission orders will then be later than arrival. We have been adjusting their admit times to be same or 5 min earlier in order to avoid errors in these cases.--[[User:Llemoine|Llemoine]] 07:47, 2016 May 26 (CDT)


Will want to reconcile [[Transfer time rule]]
Will want to reconcile [[Transfer time rule]]

Revision as of 07:47, 2016 May 26

Function Dispo_Chronological checks that the times in Category:2016 Time and Place changes are in a sensible chronological order.

The check will run each time one of the following is edited, and will generate an error if:

  • Visit Admit DtTm field - error if > than any other time
  • Accept DtTm field - error if >Transfer Ready DtTm field or >Dispo DtTm field
  • Arrive DtTm field - error if >Transfer Ready DtTm field or >Dispo DtTm
    • will arrive always be after accept? is this sensible to check?
  • Transfer Ready DtTm field - error if < arrive/accept (as above) or >Dispo DtTm
  • Dispo DtTm field - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above.
  • Re: Arrive after Accept: Intuitively should be yes however docs will send patients direct to wards for admission from clinic/s and only get to ward after clinics are over to write their orders...timing their admission orders will then be later than arrival. We have been adjusting their admit times to be same or 5 min earlier in order to avoid errors in these cases.--Llemoine 07:47, 2016 May 26 (CDT)

Will want to reconcile Transfer time rule