Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: MAGGSIV

Package: Imaging

Routine: MAGGSIV


Information

MAGGSIV ;WOIFO/GEK/NST - Imaging RPC Broker calls. Validate Image data array ; [ 12/27/2000 10:49 ]

Source Information

Source file <MAGGSIV.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Imaging 4 $$CONSOLID^MAGBAPI  $$GETTIUDA^MAGGSIV  $$VALID^MAGGSIV1  $$DRIVE^MAGGTU1  
Kernel 2 $$EC^%ZOSV  $$UP^XLFSTR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
Imaging 7 MAG4 VALIDATE DATA  MAGGNTI  MAGGSIA  MAGGSIM  MAGGSIU2  MAGGSIUI  MAGGSIV  

Entry Points

Name Comments DBIA/ICR reference
VAL(MAGRY,MAGARRAY,ALL) ;RPC [MAG4 VALIDATE DATA]
ACTCODE(CODE) ;Function that returns True (1) if this code is a valid Import API Action Code
; Patch 8. We're adding 107 as an action code, so it will pass validation even if the entry
; in the Acquisition Device File doesn't exist;
; it will be validated in PRE^MAGGSIA1 and a new Acquisition Device entry made if needed.
VALCODE(CODE,VALUE) ; We validate the values for the possible action codes
IEN
ACTION ; Patch 121 ACTION = "RESCIND"
PXNEW ; New Package (TIU note)
PXSGNTYP ; Signature type
PXTIUTTL ; Check for valid TIU title
EXT ; code will go here to validate the extension type. i.e. we won't let types .exe .bat .com .zip ... etc.
; Maybe a modification to Object Type file, to have allowable extensions in the file, and a
; cross reference on a new field EXTENSION. The capture workstation wouldn't have to ask the
; user for the file type of each file, and we wouldn't get WORD .DOC files that the user called Color Images
ABS ; Meaning: Have the BP create the abstract
JB ; Meaning: Have the BP copy the image to the JukeBox
BIG ; Meaning: There is a big file also, set the Image File field ? to indicate there is a BIG File.
WRITE ; Meaning: This is the Internal Entry (or "PACS") of the WRITE Directory. Images will be written
; here instead of the default WRITE Directory.
DICOMSN ;Meaning: DICOM Series Number. This will be entered in the Group Object multiple, field #1
DICOMIN ;Meaning: DICOM Image Number. This will be entered in the Group Object multiple, field #2
; We were validating this as an integer, but it can be anything, no way to validate.
DELFLAG ;Meaning: This flag tells the Delphi Import Component to Delete the Image files after successful processing
TRNSTYP ;Meaning: This flag is for future use, for now it is ignored, defaults to "NEW"
STATUSCB ; Meaning: This is the TAG^RTN that Imaging calls to report the
; status of the Import.
ACQS ; We need to make sure the ACQS (Acquisition Site) is a Valid entry in Imaging Site Params.
107 ; 107 and ACQD are the same. Calling 107 falls into validation for ACQD.
ACQD ; 107 and ACQD are ACQUISITION DEVICE FILE (2006.04) pointers or Values.
; If it is an integer, We assume the value is an IEN and validate it here.
UPPER(X) ;
ERR ; ERROR TRAP FOR Import API
GETTIUDA(MAGY,TITLE,TIEN) ;

External References

Name Field # of Occurrence
$$EC^%ZOSV ERR+1
$$CONSOLID^MAGBAPI ACQS+9
$$GETTIUDA^MAGGSIV PXTIUTTL+2
$$VALID^MAGGSIV1 VAL+58
$$DRIVE^MAGGTU1 WRITE+2
$$UP^XLFSTR GETTIUDA+9

Used in RPC

RPC Name Call Tags
MAG4 VALIDATE DATA VAL

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("ERRTN" ERR+3
^DIC(4 - [#4] ACQS+5
^MAG(2005 - [#2005] VAL+49, VAL+51, IEN
^MAG(2006.04 - [#2006.04] ACQD+2
^MAG(2006.1 - [#2006.1] ACQS+11
^TIU(8925.1 - [#8925.1] GETTIUDA+4, GETTIUDA+10, GETTIUDA+11

Label References

Name Line Occurrences
$$ACTCODE VAL+38
$$UPPER DELFLAG+1
$$VALCODE VAL+40
@( VALCODE+6, ERR+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AITEM VAL+17~, VAL+28*, VAL+30, VAL+31, VAL+32, VAL+40, VAL+41, VAL+49, VAL+51, VAL+59
ALL VAL~, VAL+19*, VAL+28
CHKOK VAL+16~
CODE ACTCODE~, ACTCODE+4, ACTCODE+5, ACTCODE+6, ACTCODE+7, VALCODE~, VALCODE+4, VALCODE+5, VALCODE+6
CT VAL+17~, VAL+21*, VAL+28*, PXNEW+3*, PXSGNTYP+3*
DAT1 VAL+17~, VAL+39*, VAL+41, VAL+57*, VAL+59
DFNFLAG VAL+17~, VAL+21*, VAL+33*, VAL+71
DONE GETTIUDA+7~, GETTIUDA+8*, GETTIUDA+10, GETTIUDA+11*, GETTIUDA+13
ERR ACQS+3~*, ACQS+4, ACQS+6*, ERR+1~*, ERR+2
MAGARRAY VAL~, VAL+23
MAGARRAY( VAL+26, VAL+28, VAL+30, VAL+31, VAL+32, VAL+40, VAL+41*, VAL+49, VAL+51, VAL+59*
MAGERR VAL+17~, VAL+21*, VAL+28*, VAL+29*, VAL+31*, VAL+32*, VAL+40*, VAL+49*, VAL+51*, VAL+58*
, VAL+66
MAGETXT VAL+16~
MAGFSPEC VAL+16~
MAGGDAT VAL+16~, VAL+30*, VAL+32, VAL+36, VAL+39, VAL+40, VAL+41, VAL+46, VAL+49, VAL+51
, VAL+54, VAL+57, VAL+58, VAL+59
MAGGFLD VAL+16~, VAL+30*, VAL+31, VAL+33, VAL+36, VAL+38, VAL+40, VAL+41, VAL+45, VAL+53
, VAL+54, VAL+55, VAL+58, VAL+59
MAGRES VAL+16~, VAL+58
MAGRET VAL+16~
MAGRY VAL~
MAGRY( VAL+28*, PXNEW+3*, PXSGNTYP+3*
MAGRY(0 VAL+20*, VAL+23*, VAL+36*, VAL+64*, VAL+66*, VAL+71*, VAL+72*, ERR+2*
MAGY VALCODE+1~, VALCODE+7, IEN*, IEN+1*, ACTION+1*, ACTION+2*, PXNEW+2*, PXNEW+4*, PXSGNTYP+2*, PXSGNTYP+4*
PXTIUTTL+2, BIG+1*, WRITE+2*, DICOMSN+2*, DICOMIN+2*, DELFLAG+1*, DELFLAG+2*, TRNSTYP+1*, STATUSCB+2*, STATUSCB+3*
STATUSCB+4*, ACQS+6*, ACQS+9*, ACQS+11*, ACQS+12*, ACQD+2*, ACQD+5*, GETTIUDA~, GETTIUDA+1*, GETTIUDA+3
, GETTIUDA+4*, GETTIUDA+5*, GETTIUDA+13*, GETTIUDA+14*, GETTIUDA+15
MAX VAL+17~, VAL+25*, VAL+26*, ACQS+4
>> PXNEW PXNEW+1
>> PXSGNTYP PXSGNTYP+1
TIEN GETTIUDA~, GETTIUDA+4*, GETTIUDA+8*, GETTIUDA+10*, GETTIUDA+11
TITLE GETTIUDA~, GETTIUDA+1, GETTIUDA+3, GETTIUDA+4, GETTIUDA+5, GETTIUDA+9*, GETTIUDA+10, GETTIUDA+14
U VAL+26, VAL+30, VAL+51
VALIEN PXTIUTTL+1~, PXTIUTTL+2
VALUE VALCODE~, VALCODE+2, IENACTION+1, ACTION+2, PXTIUTTL+2*, WRITE+2, DELFLAG+1, DELFLAG+3*, DELFLAG+4*
STATUSCB+2, STATUSCB+3, ACQS+1*, ACQS+5, ACQS+6, ACQS+7*, ACQS+11, ACQD+2
X VAL+17~, VAL+26*, VALCODE+2, ACQS+5*, ACQS+6, ACQS+7, UPPER~, UPPER+1
Y VAL+17~, VAL+40*

Marked Items

Name Field # of Occurrence
$T( VAL+18
$T(@VALUE STATUSCB+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All