Age: Difference between revisions

mNo edit summary
Line 20: Line 20:


====SAS ====
====SAS ====
{{Discuss | who = Julie |
Do you still use the SAS formula, let's confirm it's all gone and all coming from CreatedVariables
}}
*Age=floor((intck('month',Birth,R_Adm) - (day(R_Adm) < day(Birth))) / 12)  
*Age=floor((intck('month',Birth,R_Adm) - (day(R_Adm) < day(Birth))) / 12)  
**where  Birth = Date of Birth and R_Adm = (Accept DtTm if available, Arrive DtTm otherwise)
**where  Birth = Date of Birth and R_Adm = (Accept DtTm if available, Arrive DtTm otherwise)