[MT-L] MEDITECH MAGIC 5.64 SYNTAX ERROR

24 views
Skip to first unread message

Joy Merritts

unread,
Nov 9, 2012, 10:42:50 AM11/9/12
to medit...@mtusers.com

I have the following Val statement:

 

VAL=IF{(@financial.class="MC"!(@financial.class="MC HMO"))&@xx.adult "ADULT",

VAL=0;1}

 

I need to change the word “ADULT” to “GERIATRIC”.  No matter how I split the line, I keep getting syntax errors in my VAL statements.

 

This is the one I’m trying:

 

VAL=IF{(@financial.class="MC"!(@financial.class="MC HMO"))&,

VAL=@xx.adult "GERIATRIC" 0;1}

 

Joy C. Merritts

Assistant I.T.  Director

JC Blair Memorial Hospital

Warm Springs Avenue

Huntingdon, PA   16652

(814) 643-8557

(814) 643-8771 - FAX

 

Important Notice

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



Joe Cocuzzo

unread,
Nov 9, 2012, 11:17:21 AM11/9/12
to Joy Merritts, medit...@mtusers.com

Comma after & sign is an error.

 


Joe Cocuzzo
Vice President
Report Writing Services

Iatric Systems, Inc.
Phone/Fax:
(978) 805-4115
Email: Joe.C...@iatric.com
Web: www.iatric.com


Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.

__________

Reply all
Reply to author
Forward
0 new messages