Function LOS(): Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
[[Category:Length of stay]] | [[Category:Length of stay]] | ||
[[Category:CCMDB.accdb]] |
Latest revision as of 16:23, 11 March 2025
Function LOS() takes a Pat_ID as parameter and calculates the three-decimal-point LOS as follows:
- LOS = Round(dis_dttm - ad_dttm, 3)
See also Function LOS int().
Log
- 2022-05-11 - added Function LOS int() to work where an integer result, ie the number of days, is required.
- 2022-04-28 - updated how this is calculated to be consistent with how it's done in created variables common: Round(dis_dttm - ad_dttm, 3) was WorksheetFunction.Ceiling((dis_dttm) - (ad_dttm), 1); updated both CCMDB and CFE.
- 2022-02-10 - Updated function to use Created_AdmitDtTm query/Admit DtTm as input instead of Arrive DtTm
Related articles
Related articles: |