MAGGSIUI ;WOIFO/GEK/NST - Utilities for Image Import API ; 20 Jan 2010 10:10 AM
Source file <MAGGSIUI.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Imaging | 7 | MAG4 DATA FROM IMPORT QUEUE MAG4 REMOTE IMPORT MAG4 STATUS CALLBACK MAGGNTI MAGGSIA1 MAGGSIU4 MAGGSIU5 |
Clinical Procedures | 1 | MDRPCOT1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
REMOTE(MAGRY,MAGDATA) | ;RPC [MAG4 REMOTE IMPORT]
; Import Images from a Windows App, by sending an array. |
|
IMPORT(MAGRY,IMAGES,MAGIX) | ;
; "IDFN","PXPKG","PXIEN","PXDT","TRKID","ACQD","ACQS","ACQL","STSCB","ITYPE", ; "CMTH","CDUZ","USERNAME","PASSWORD","GDESC","DFLG","TRTYPE","DOCCTG","DOCDT", ; "IXTYPE","IXSPEC","IXPROC","IXORIGIN ;Patch 8: Added Index fields ; "PXSGNTYP","PXNEW","PXTIUTTL","PXTIUTXTxxxxx" ; Patch 108 |
|
SA(FLD,VAL) | ;Set the data array with Fld,Value
|
|
SI(FLD,ARR) | ;Set the images into the data array
; 'CT' is a global variable. |
|
GETARR(ARR,QNUM) | ;RPC [MAG4 DATA FROM IMPORT QUEUE]
; Get the Input Array from Queue Number |
|
STATUSCB(MAGRY,STAT,TAGRTN,DOCB) | ;RPC [MAG4 STATUS CALLBACK]
; Report Status to calling application ; Now the IAPI and OCX make this call. Not BP ; STAT(0)= "0^message" or "1^message" ; STAT(1)=TRKID, ; (2)=QNUM ; (3..N)=warnings |
|
TESTCB(STATARR) | ;TESTING. This is the Status Callback for testing.
; the STATUSCB property must have a Valid "M" TAG^ROUTINE ; TAG TESTCB exists so that STATUSCB validates successfully |
|
ERRTRK | ;Track bad data and Quit
|
|
DATATRK | ; Track the raw data being sent to the Import API.
; Log the data being imported. Results are logged later. |
|
ERR | ; ERROR TRAP FOR Import API
|
|
GETIAPID(OUT,TRKID) | ; Returns Import API data in OUT array from file (#2006.82) by tracking ID
; OUT(FIELD)=VALUE |
Name | Field # of Occurrence |
---|---|
$$EC^%ZOSV | ERR+1 |
$$IMPORT^MAGBAPI | IMPORT+103 |
$$PLACE^MAGBAPI | IMPORT+103 |
LOGERR^MAGGSERR | ERRTRK+2, ERRTRK+3 |
INFO^MAGGSFT | SI+13 |
$$REQPARAM^MAGGSIU2 | IMPORT+34 |
$$LOG^MAGGSIU3 | DATATRK+3 |
$$SES4TRK^MAGGSIU3 | STATUSCB+20 |
LOGRES^MAGGSIU3 | IMPORT+109, STATUSCB+21 |
VAL^MAGGSIV | IMPORT+91 |
$$VALINDEX^MAGGSIV1 | IMPORT+94 |
IMPAR^MAGQBUT2 | GETARR+3 |
$$NOW^XLFDT | IMPORT+30, IMPORT+101 |
$$UP^XLFSTR | SI+11 |
$$BROKER^XWBLIB | IMPORT+14 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
RPC Name | Call Tags |
---|---|
MAG4 REMOTE IMPORT | REMOTE |
MAG4 DATA FROM IMPORT QUEUE | GETARR |
MAG4 STATUS CALLBACK | STATUSCB |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("ERRTN" | ERR+3 |
^DIC(4 - [#4] | IMPORT+40, IMPORT+47 |
^MAG(2006.82 - [#2006.82] | GETIAPID+3, GETIAPID+7, GETIAPID+8, GETIAPID+10, GETIAPID+15 |
Name | Line Occurrences |
---|---|
@( | STATUSCB+14, ERR+3 |
DATATRK | IMPORT+33 |
ERRTRK | IMPORT+34, IMPORT+91, IMPORT+94, IMPORT+96, IMPORT+108, ERR+4 |
IMPORT | REMOTE+10 |
SA | IMPORT+28, IMPORT+57, IMPORT+58, IMPORT+59, IMPORT+63, IMPORT+64, IMPORT+65, IMPORT+66, IMPORT+67, IMPORT+68 , IMPORT+69, IMPORT+70, IMPORT+71, IMPORT+72, IMPORT+73, IMPORT+74, IMPORT+75, IMPORT+76, IMPORT+77, IMPORT+78 , IMPORT+79, IMPORT+80, IMPORT+81, IMPORT+84, IMPORT+85, IMPORT+86, IMPORT+87, IMPORT+89, IMPORT+92 |
SI | IMPORT+96 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACQD | IMPORT+16~, IMPORT+68, DATATRK+3 |
ACQL | IMPORT+16~, IMPORT+70 |
ACQN | IMPORT+16~, IMPORT+46, IMPORT+47, IMPORT+48, IMPORT+50!, IMPORT+51* |
ACQS | IMPORT+16~, IMPORT+39, IMPORT+40, IMPORT+41, IMPORT+47*, IMPORT+48, IMPORT+50*, IMPORT+69, IMPORT+92 |
ACTION | IMPORT+20~, IMPORT+89, SI+8 |
APISESS | IMPORT+13~, IMPORT+109, STATUSCB+10~, STATUSCB+20*, STATUSCB+21, ERRTRK+2, ERRTRK+3, DATATRK+3*, ERR+4 |
ARR | SI~, GETARR~, GETARR+3 |
ARR( | SI+5, SI+8, SI+9, SI+10, SI+15 |
ARR(0 | GETARR+2* |
CBMSG | STATUSCB+10~, STATUSCB+13*, STATUSCB+15 |
CDUZ | IMPORT+16~, IMPORT+74 |
CMTH | IMPORT+16~, IMPORT+73 |
CT | IMPORT+15~, IMPORT+21*, SA+2*, SI+6*, SI+8, SI+15 |
DCT | REMOTE+3~, REMOTE+4*, REMOTE+9* |
DFLG | IMPORT+17~, IMPORT+78 |
DOCB | STATUSCB~, STATUSCB+11*, STATUSCB+13, STATUSCB+14 |
DOCCTG | IMPORT+17~, IMPORT+80 |
DOCDT | IMPORT+17~, IMPORT+81 |
DUZ | IMPORT+31 |
ERR | REMOTE+3~, REMOTE+4*, REMOTE+5, REMOTE+7*, REMOTE+10, IMPORT+18~, IMPORT+21*, IMPORT+39, IMPORT+41*, IMPORT+46 , IMPORT+48*, ERR+1~*, ERR+2 |
FLD | SA~, SA+2, SI~ |
GDESC | IMPORT+17~, IMPORT+77 |
I | REMOTE+3~, REMOTE+5*, REMOTE+7, SI+3~, SI+5*, SI+8, SI+9, SI+10, SI+15, ERRTRK+1~ , ERRTRK+3*, GETIAPID+2~, GETIAPID+6*, GETIAPID+7*, GETIAPID+8, GETIAPID+10, GETIAPID+15 |
ICT | REMOTE+3~, REMOTE+4*, REMOTE+8* |
IDFN | IMPORT+16~, IMPORT+63, DATATRK+3 |
IMAGES | REMOTE+3~, REMOTE+10, IMPORT~, IMPORT+96, DATATRK+3 |
IMAGES( | REMOTE+8* |
ITYPE | IMPORT+16~, IMPORT+72 |
IXCLS | IMPORT+17~ |
IXORIGIN | IMPORT+17~, IMPORT+87 |
IXPKG | IMPORT+17~ |
IXPROC | IMPORT+17~, IMPORT+85, IMPORT+94 |
IXSPEC | IMPORT+17~, IMPORT+86, IMPORT+94 |
IXTYPE | IMPORT+17~, IMPORT+84, IMPORT+94 |
J | REMOTE+3~ |
MAGA | IMPORT+15~, IMPORT+91, IMPORT+99, IMPORT+103 |
MAGA( | SA+2*, SI+8*, SI+15* |
MAGDATA | REMOTE~, REMOTE+2 |
MAGDATA( | REMOTE+5 |
MAGEXT | SI+3~, SI+11*, SI+13 |
MAGFN | SI+3~, SI+10*, SI+11 |
MAGIX | REMOTE+3~, REMOTE+10, IMPORT~, IMPORT+22 |
MAGIX( | REMOTE+9*, IMPORT+26!, IMPORT+28 |
MAGIXZ | IMPORT+18~, IMPORT+22*, DATATRK+3 |
MAGRY | REMOTE~, REMOTE+10, IMPORT~, IMPORT+12!, IMPORT+91, IMPORT+94, IMPORT+97!, IMPORT+99*, IMPORT+109, STATUSCB~ , STATUSCB+15*, STATUSCB+16 |
MAGRY( | ERRTRK+3 |
MAGRY(0 | REMOTE+2*, REMOTE+7*, IMPORT+12*, IMPORT+31*, IMPORT+41*, IMPORT+48*, IMPORT+91, IMPORT+96, IMPORT+99*, IMPORT+105* , IMPORT+106*, IMPORT+108, SI+2*, SI+5, SI+9*, SI+14*, ERR+2* |
MAGTM | IMPORT+18~, IMPORT+30* |
MAGTN | IMPORT+15~ |
MAGY | IMPORT+15~, IMPORT+103*, IMPORT+105*, IMPORT+106* |
MAX | IMPORT+17~, IMPORT+35*, IMPORT+39, IMPORT+50, IMPORT+69, IMPORT+92 |
MWIN | IMPORT+13~, IMPORT+14* |
OUT | GETIAPID~ |
OUT( | GETIAPID+12* |
OUT("IMAGE" | GETIAPID+17* |
PASSWORD | IMPORT+16~, IMPORT+76 |
PRM | IMPORT+15~, IMPORT+25*, IMPORT+26, IMPORT+28* |
PXDT | IMPORT+16~, IMPORT+66 |
PXIEN | IMPORT+16~, IMPORT+62*, IMPORT+65 |
PXNEW | IMPORT+19~, IMPORT+59, IMPORT+62 |
PXPKG | IMPORT+16~, IMPORT+64 |
PXSGNTYP | IMPORT+19~, IMPORT+57 |
PXTIUTTL | IMPORT+19~, IMPORT+58 |
QNUM | GETARR~, GETARR+2, GETARR+3 |
QTIME | IMPORT+18~, IMPORT+101* |
RES | SI+4~, SI+12!, SI+13 |
RES(0 | SI+14 |
SITEPLC | IMPORT+17~, IMPORT+42*, IMPORT+69*, IMPORT+103 |
SNUM | GETIAPID+2~, GETIAPID+3*, GETIAPID+4, GETIAPID+7, GETIAPID+8, GETIAPID+10, GETIAPID+15 |
STAT | STATUSCB~, STATUSCB+21 |
STAT( | STATUSCB+16* |
STAT("" | STATUSCB+16 |
STAT(1 | STATUSCB+17 |
STATARR | TESTCB~ |
STSCB | IMPORT+16~, IMPORT+71, IMPORT+103 |
TAGRTN | STATUSCB~, STATUSCB+14 |
TNODE | IMPORT+15~ |
TRKID | IMPORT+16~, IMPORT+35, IMPORT+67, IMPORT+103, IMPORT+105, STATUSCB+10~, STATUSCB+17*, STATUSCB+19, STATUSCB+20, DATATRK+3 , GETIAPID~, GETIAPID+3 |
TRTYPE | IMPORT+17~, IMPORT+79, IMPORT+99 |
U | REMOTE+6, REMOTE+8, REMOTE+9, IMPORT+105, SA+2, SI+9, SI+15 |
USERNAME | IMPORT+16~, IMPORT+75 |
VAL | SA~, SA+1, SA+2 |
VAL1 | GETIAPID+2~, GETIAPID+8*, GETIAPID+9, GETIAPID+14 |
X | REMOTE+3~, REMOTE+5*, REMOTE+6, REMOTE+7, REMOTE+8, REMOTE+9, IMPORT+40*, IMPORT+41, IMPORT+42, GETIAPID+2~ , GETIAPID+10*, GETIAPID+11, GETIAPID+12, GETIAPID+15*, GETIAPID+16, GETIAPID+17 |
XY | DATATRK+2~, DATATRK+3 |
Y | GETIAPID+2~, GETIAPID+11*, GETIAPID+12, GETIAPID+16*, GETIAPID+17 |
Z | REMOTE+3~, REMOTE+6*, REMOTE+7, REMOTE+8, REMOTE+9 |
Name | Field # of Occurrence |
---|---|
$T( | IMPORT+11 |