Function LOS int(): Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Function LOS_int() takes a Pat_ID as parameter and calculates the integer number of days [[LOS]] as follows: | Function LOS_int() takes a Pat_ID as parameter and calculates the integer number of days [[LOS]] as follows: | ||
:: LOS_int = | :: LOS_int = DateValue(dis_dttm) - DateValue(ad_dttm) + 1 | ||
See also [[Function LOS()]] | |||
== Log == | == Log == | ||
Line 7: | Line 8: | ||
== Related articles == | == Related articles == | ||
{{Related Articles}} | {{Related Articles}} | ||
[[Category:Length of stay]] | [[Category:Length of stay]] |
Latest revision as of 10:24, 11 May 2022
Function LOS_int() takes a Pat_ID as parameter and calculates the integer number of days LOS as follows:
- LOS_int = DateValue(dis_dttm) - DateValue(ad_dttm) + 1
See also Function LOS()
Log
- 2022-05-11 - implemented this because CCMDB was using an integer version of the function while CFE was using a three-decimal-point version; want to have both available so adding this second function.
Related articles
Related articles: |