Page 1 of 1

"AGE in the patient field

Posted: Sun Jun 14, 2009 8:46 am
by enamelrod
is there there a field for age in the letter merge?

Re: "AGE in the patient field

Posted: Sun Jun 14, 2009 7:58 pm
by jordansparks
Use birthdate. Word can easily covert that to an age.

Re: "AGE in the patient field

Posted: Sun Jun 14, 2009 8:32 pm
by enamelrod
im a computer idiot and i dont see anywhere in word that will do this

Re: "AGE in the patient field

Posted: Mon Jun 15, 2009 3:42 am
by jordansparks
Well, I thought it did. I can't seem to find it now either.

Re: "AGE in the patient field

Posted: Mon Jun 15, 2009 5:12 am
by nathansparks
I would try this for age in word, supposing you bring in birth date as BirthDate, I have not tried it, if it does not work, postback (or email you, I emailed this to you also).

I guarantee nothing, but I would say 85% chance it will work, if not I have a typo

{ = INT({ DATE \@ "yyyy" } + { DATE \@ "M" } / 12 +
{ DATE \@ "d" } / 365.25 - { MERGEFIELD BirthDate \@"yyyy" \*Mergeformat }
- { MERGEFIELD BirthDate \@"M" \*Mergeformat } / 12 - { MERGEFIELD BirthDate \@"d" \*Mergeformat } / 365.25) }

cheers
nathan

Re: "AGE in the patient field

Posted: Tue Sep 29, 2009 3:52 pm
by enamelrod
any plans to add an age to the patient field?

Re: "AGE in the patient field

Posted: Wed Sep 30, 2009 10:20 pm
by jordansparks
I don't think I've seen it yet in the feature request system.

Re: "AGE in the patient field

Posted: Thu Oct 01, 2009 12:05 pm
by jordansparks
Done in version 6.8.