Function long LOS()

From CCMDB Wiki
Revision as of 14:30, 2016 July 3 by Ttenbergen (talk | contribs) (clean-up and update to be consistent with what happens in the VBA)
Jump to navigation Jump to search

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.