All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hi Shirley
Putting parantheses around a list of fields like this creates a packed
data
piece. I t usually looks something like this.
{FLD1,FLD2,FLD3,FLD4}^PFLD
to access FLD1 out of PFLD you would say PFLD|0
to access FLD2 out of PFLD you would say PFLD|1
to access FLD3 out of PFLD you would say PFLD|2
to access FLD4 out of PFLD you would say PFLD|3
The number after the bar (PFLD|0 reads PFLD "bar" 0) refers to the
ordinal
position of the data in the packed field. The number is determined by
counting from the left from 0.
I don't understand why there was no ^ in your example and assume that it
was a typo.
Hope this Helps
Ken
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 2:06 PM
To: [email protected]
Subject: [MEDITECH-L] Magic NPR syntax question
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
In a macro that compiles the med information for a printed MAR there is
the following:
@SETUP.LOCALS,
@SETUP.DOSE,
@COMPILE.MEDS,
@COMPILE.TIMES,
@CHECK.FOR.DOT.SIG,
{bottle.type,mar.format,mar.section},
@COMMENTS,
@TAPER,
@MLS;
I understand most of the code in this but I do not understand the syntax
of parenthesis around a list of fields. Could someone enlighten me?
Thanks.
Shirley Schoberg, MT(ASCP)
Clinical Systems Analyst
Samaritan Health Services - IS
Albany, OR
Phone: 541-812-4866
Cell: 541-979-1129
Fax: 541-812-4300
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l