Function long LOS(): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m m
m clean-up and update to be consistent with what happens in the VBA
Line 1: Line 1:
Cross check for unlikely long [[LOS]]
<onlyinclude>Function long LOS() checks that the [[Length of Stay]] for patients is not unlikely long based on historical [[LOS]]for a given ward.</onlyinclude>
 
needs detail, just parking here for now.
 
[[Accept DtTm field]]
[[Arrive DtTm field]]
[[Dispo DtTm field]]
 
[[LOS]]
 
[[L_Log table]]
 
[[s_dispo table]] meanLOS3STD as provided by Julie
 
 
CCMDB.mdb function long_LOS generates an error that can be clicked past if a patient has a particularly long LOS. Different wards use different numbers of days for this, at time of writing 40days for regular medicine, 120 for long stay and 20 for ICU.  


The [[statistician]] provided mean LOS + 3 standard variations. This is stored in [[s_dispo table]] field meanLOS3STD.
The function compares the difference between [[Dispo DtTm field]] and [[Arrive DtTm field]] (not [[Accept DtTm field]]) to this meanLOS3STD and gives a warning (an error that can be OK'd past) if the current patient has been there longer.


[[Category:2016 Time and Place changes]]
[[Category:Length of stay]]
[[Category:Length of stay]]

Revision as of 14:30, 2016 July 3

Function long LOS() checks that the Length of Stay for patients is not unlikely long based on historical LOSfor a given ward.

The statistician provided mean LOS + 3 standard variations. This is stored in s_dispo table field meanLOS3STD. The function compares the difference between Dispo DtTm field and Arrive DtTm field (not Accept DtTm field) to this meanLOS3STD and gives a warning (an error that can be OK'd past) if the current patient has been there longer.