This method is extremely useful, except that I’ve had a problem with infant ages because they are less than 1. I’ve had to remove the 365 so that I’m now calculating for days rather than years.
Now, I have a new issue: When Admitting enters a DOB of 01/01/1901 (don’t ask me why they seem to do this — I think they do this on anon patients as policy), it causes a tcl callout error that says that the date is not calculatable and of course the message fails to be created.
Any ideas for a fix or work around?
Thanks in advance,
Jennifer Hardesty
Systems Interface Specialist
Maine Medical Center
hardej@mmc.org