Function long LOS()
Cross check for unlikely long LOS
needs detail, just parking here for now.
Accept DtTm field Arrive DtTm field Dispo DtTm field
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.