Function long LOS()

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

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.