[MEDITECH-L] NPR footnote help.

63 views
Skip to first unread message

Rober...@ncmc-hospital.com

unread,
Oct 2, 2009, 8:56:54 AM10/2/09
to medit...@mtusers.com
Can anyone please help me understand what the following footnote does?
I know it runs at start of NPR report and moves a temp variable to ADM,
but do not understand what it is doing and specifically what the last
part is about.

AL START @Move(c.urn,/LI),%Z.link.db({"ADM.NCY"},`O,B,1,,,1')

Robert Conn

Clinical Analyst, Information Technology

North Cypress Medical Center

21214 Northwest Frwy

Cypress, TX 77429

(tel) 832-912-3908

(cell) 832-746-1075

email: Rober...@NCMC-Hospital.com
<mailto:Rober...@NCMC-Hospital.com>

====================================

Please do NOT send messages that ask "Please post to the list" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.

To UNSUBSCRIBE, go to http://MTUSers.net
for information.

The meditech-l archives (and other tips) can be found at
http://mtusers.net/zarchives

Job opportunities in the Meditech community can be found at
http://mtusers.net/zjobs

Joe Cocuzzo

unread,
Oct 2, 2009, 9:37:20 AM10/2/09
to Rober...@ncmc-hospital.com, medit...@mtusers.com
The @Move command is copying the data in c.urn (/c.urn) to /LI

So if you have:

c.urn[1]
c.urn[2] and you do @Move(c.urn,/LI), you get a copy of c.urn in /LI

/LI[1]
/LI[2]

Note that c.urn translates to /c.urn

The Z.link.db command is opening prefixes to the ADM database, bypassing database access checks.

The arguments show you two different ways to queue strings
{"ADM.NCY"} makes the A argument be A|0 = ADM.NCY
The `O,B,1,,,1' does the same thing as:

{"O","B","1","","","1"} or

Q("O","B","1","","","1")

So the B argument is

B|0="O"
B|1="B"
B|2="1"
B|3=""
B|4=""
B|5=1

Z.link.db is a Client server program. The queuing syntax can be used on either Magic or C/S systems.


Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: mailto:Joe.C...@iatric.com
Web: http://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