All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
This is a repost as the first was rejected!
>>> "Kenny Whiteside" <[EMAIL PROTECTED]> 10/05/2006 3:45
PM >>>
Hi Terry,
Here's a recent response to a similar question. See if this helps:
Hi Sharon,
There are many paths that can be taken to get the same result but here
is the way we are doing this.
The following attribute calculates the amount of time in hours since
the patient's date of birth, divides it by 24 to convert it to days.
Then we send the "age in days" to /AGE and evaluate it for the number
of
days that we want. You could also further divide the days to convert
to
months before assigning the value to /AGE. It's six one way and half
a
dozen the other.
Also, because we have sent the age in days to a slash variable, you
can
simply evaluate /AGE for the other queries without recalculating.
IFE=IF{%Z.elapsed.time(@.today,@.now,@p.ADM.PAT.birthdate,@.now,"hh")^
IFE=XXX/24^/AGE>60}
Hope this helps,
Kenny Whiteside
Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]
>>> "Terry Price" <[EMAIL PROTECTED]> 10/05/2006 9:43 AM >>>
All messages should be posted in plain text. HTML will be converted
to
attachments. The meditech-l web site is MTUsers.com
======================================
Hello all, I have a slight problem with an attribute. The following
attribute works great, the problem is the guideline has changed and
instead
of being 6-24 months it is now 6-59 months. I tried substituting the
24
months with 59 months and it did not work. I have tried several
different
formats with none of them working, I have now ran out of gas and
looking
towards you great people to assist. I really appreciate your help!
IFE=(@p.ADM.PAT.age'<6MO)&(@p.ADM.PAT.age'>24MO)!(@p.ADM.PAT.age'<50)
Thank you,
Terry Price
Clinical Systems Analyst/PACS Administrator, MCSE
Emergency Preparedness/HAZMAT Team Leader
Great Plains Regional Medical Center
Elk City, OK
580.303.5883
Header
Description: Binary data
_______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
