Function LOS int(): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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 = WorksheetFunction.Ceiling((dis_dttm) - (ad_dttm), 1)
:: LOS_int = WorksheetFunction.Ceiling((dis_dttm) - (ad_dttm), 1)
 
See also [[Function LOS()]]
== Log ==
== 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.  
* 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.  

Revision as of 09:44, 2022 May 11

Function LOS_int() takes a Pat_ID as parameter and calculates the integer number of days LOS as follows:

LOS_int = WorksheetFunction.Ceiling((dis_dttm) - (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: