Age: Difference between revisions

m removed supercategories, tweaked template calls
JMojica (talk | contribs)
Line 28: Line 28:


====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)


Decided to keep this for now for cross-checking even though it duplicates the calculation in Access.
This formula is consistent with the calculation in Access.


== Related fields ==
== Related fields ==