Calculating Age based on Document Date in months
Hi, I'm trying to write a formula that will calculate a patient's age based on the visit date and then converting it into months. Anyone know how to do that?
The variables would be:
{DOCUMENT.CLINICALDATE}
{PERSON.DATEOFBIRTH}
[254 byte] By [
valkyriex] at [2007-11-20 10:23:42]

# 1 Re: Calculating Age based on Document Date in months
The next will calculate age in years
({DOCUMENT.CLINICALDATE} - {PERSON.DATEOFBIRTH}) / 365
The next will calculate age in months
({DOCUMENT.CLINICALDATE} - {PERSON.DATEOFBIRTH}) / 365 * 12
jggtz at 2007-11-9 14:11:17 >
