Function long LOS()
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.