Function long LOS(): Difference between revisions

No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
|DIC_backlogged=No
|DIC_backlogged=No
}}
}}
== Earlier notes ==
This was probably implemented much earlier, but can't find reference before this.


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


The function compares the [[LOS]] as per [[Function LOS()]] to this meanLOS3STD and gives a warning (an error that can be OK'd past) if the current patient has been there longer.
== [[Duplicate error messages]] ==
This is implemented as a soft check, so will come up repeatedly over the course of collection for a record. It should only trigger for less than 1% of records, but for those it will come up every time. If this becomes problematic for collectors, we should discuss it at Task.  


== Log ==
== Log ==
also see [[s_dispo.meanLOS3STD#Log]] for updates to that field that would affect this function's results
* 2025-09-26 - query had never actually run properly but instead failed silently; updated so it runs
* 2025-09-26 - query had never actually run properly but instead failed silently; updated so it runs
* 2022-04-21 - updated [[s_dispo table]].meanLOS3STD with data from Julie
* long ago
* 2019-03-20 - updated [[s_dispo table]].meanLOS3STD with new values from Julie
** This was probably implemented much earlier, but can't find reference before this.  
 
== Related articles ==
== Related articles ==
{{Related Articles}}
{{Related Articles}}