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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: MAGDRPCA

Package: Imaging

Routine: MAGDRPCA


Information

MAGDRPCA ;WOIFO/PMK/MLS/SG/DAC/JSL - Imaging RPCs for Importer ; 26 Jan 2016 7:03 PM

Source Information

Source file <MAGDRPCA.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Imaging 4 $$DISPLAY^MAGDAIRG  $$GMRCACN^MAGDFCNV  $$DELETE^MAGDIR8R  IENLOOK^MAGDRPC9  
Kernel 2 $$DT^XLFDT  ($$IEN,$$STA)^XUAF4  
Master Patient Index VistA 1 ($$GETDFN,$$GETICN,GETDFN,GETICN)^MPIF001  
Radiology Nuclear Medicine 1 $$ACCFIND^RAAPI  
Registration 1 DEM^VADPT  
VA FileMan 1 $$GET1^DIQ  

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: 10

Package Total Caller Graph
Imaging 10 MAG DICOM GET DFN  MAG DICOM GET RAD INFO BY ACN  MAG DICOM IMPORTER CHECK UIDS  MAG DICOM IMPORTER DELETE  MAG DICOM IMPORTER LOOKUP  MAG DICOM RADIOLOGY MODIFIERS  MAG DICOM RADIOLOGY PROCEDURES  MAGDRPC3  
MAGVIM01  MAGVIM06  

Entry Points

Name Comments DBIA/ICR reference
CHECKUID(OUT,UIDLIST,LEVEL) ; RPC = MAG DICOM IMPORTER CHECK UIDS
DUPUID(LEVEL,UID) ; return a list of ^MAG(2005) entries with dup uids
LOOKUP(OUT,MAGIEN) ; RPC = MAG DICOM IMPORTER LOOKUP
LOOKUP1(MAGIEN) ; patient and accession number lookup
GETDFN(OUT,ICN) ; RPC = MAG DICOM GET DFN
ACNUMB(OUT,ACNUMB) ; RPC = MAG DICOM GET RAD INFO BY ACN
DELETE(OUT,IMAGEUID,MACHID,FILEPATH) ; RPC = MAG DICOM IMPORTER DELETE
PROC(ARRAY,DIV,FILTER) ;
MOD(ARRAY) ;

External References

Name Field # of Occurrence
$$GET1^DIQ LOOKUP1+21, LOOKUP1+23, LOOKUP1+24, ACNUMB+7, PROC+58
$$DISPLAY^MAGDAIRG PROC+20
$$GMRCACN^MAGDFCNV LOOKUP1+20
$$DELETE^MAGDIR8R DELETE+1
IENLOOK^MAGDRPC9 LOOKUP1+28
$$GETDFN^MPIF001 GETDFN+1
$$GETICN^MPIF001 LOOKUP1+16
GETDFN^MPIF001 GETDFN+1
GETICN^MPIF001 LOOKUP1+16
$$ACCFIND^RAAPI ACNUMB+2
DEM^VADPT LOOKUP1+6
$$DT^XLFDT PROC+37
$$IEN^XUAF4 PROC+16
$$STA^XUAF4 PROC+15

Used in RPC

RPC Name Call Tags
MAG DICOM GET DFN GETDFN
MAG DICOM GET RAD INFO BY ACN ACNUMB
MAG DICOM IMPORTER CHECK UIDS CHECKUID
MAG DICOM IMPORTER DELETE DELETE
MAG DICOM IMPORTER LOOKUP LOOKUP
MAG DICOM RADIOLOGY MODIFIERS MOD
MAG DICOM RADIOLOGY PROCEDURES PROC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^SC - [#44] GET1^DIQ
^RA(79.1 - [#79.1] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2005 - [#2005] CHECKUID+11, CHECKUID+13, DUPUID+3, DUPUID+4, DUPUID+5, LOOKUP1+2
^MAGD(2006.5759 - [#2006.5759] PROC+42, PROC+43
^RADPT - [#70] ACNUMB+7
^RAMIS(71 - [#71] PROC+38, PROC+39, PROC+52
^RAMIS(71.2 - [#71.2] MOD+10, MOD+11, MOD+13, MOD+14

Label References

Name Line Occurrences
$$DUPUID CHECKUID+19, CHECKUID+26
$$LOOKUP1 CHECKUID+19, CHECKUID+26, LOOKUP+1

Naked Globals

Name Field # of Occurrence
^(2 LOOKUP1+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A LOOKUP1+5~
ACNUMB LOOKUP1+19~, LOOKUP1+20*, LOOKUP1+25, ACNUMB~, ACNUMB+2
ARRAY PROC~, PROC+11!, PROC+15, MOD~, MOD+7!
ARRAY( PROC+60*, MOD+16*
ARRAY(1 PROC+17*, PROC+22*, PROC+28*, PROC+34*, PROC+37*, PROC+60*, MOD+9*, MOD+15*, MOD+16
ARRAY(2 PROC+23*, PROC+29*
ARRAY(3 PROC+24*, PROC+30*
ARRAY(4 PROC+25*, PROC+31*
BUF PROC+10~, PROC+46*, PROC+49*, PROC+50*, PROC+51*, PROC+54*, PROC+55*, PROC+57*, PROC+58*, PROC+60
COUNT CHECKUID+1~, CHECKUID+8*, CHECKUID+9, CHECKUID+10, CHECKUID+33, DUPUID+1~, DUPUID+12*, DUPUID+13*, DUPUID+14, DUPUID+16*
, DUPUID+18*, DUPUID+20
DFN CHECKUID+13*, DUPUID+1~, DUPUID+4*, DUPUID+7, DUPUID+8, LOOKUP1+1~, LOOKUP1+3*, LOOKUP1+8, LOOKUP1+16
DIV PROC~, PROC+14*, PROC+15, PROC+16, PROC+17, PROC+18*, PROC+42, PROC+44
DIVSN PROC+8~, PROC+16*, PROC+17, PROC+18
DUPCOUNT CHECKUID+1~
DUPUID CHECKUID+1~, DUPUID+1~, DUPUID+14!
DUPUID( DUPUID+7*, DUPUID+17
ERROR CHECKUID+1~, CHECKUID+8*, CHECKUID+17*, CHECKUID+24*, CHECKUID+31, CHECKUID+32, PROC+10~, PROC+20*, PROC+21, PROC+27
, PROC+33, PROC+34
FILEPATH DELETE~, DELETE+1
FILTER PROC~, PROC+48
GMRCIEN LOOKUP1+19~, LOOKUP1+20*, LOOKUP1+21, LOOKUP1+23, LOOKUP1+24
I CHECKUID+1~, CHECKUID+10*, CHECKUID+16, CHECKUID+17, CHECKUID+19, CHECKUID+23, CHECKUID+24, CHECKUID+26, CHECKUID+29, DUPUID+1~
, DUPUID+6*, LOOKUP1+1~, LOOKUP1+5~
ICN GETDFN~, GETDFN+1
IEN PROC+10~, PROC+37*, PROC+38*, PROC+39, PROC+46, PROC+52, MOD+1~, MOD+9*, MOD+10*, MOD+11
, MOD+13, MOD+14, MOD+16
IEN2 MOD+2~, MOD+12*, MOD+13*, MOD+14
IMAGEUID DELETE~, DELETE+1
IMAGTYPE PROC+1~, PROC+39*, PROC+42, PROC+51, MOD+3~, MOD+14*, MOD+16
INACTDAT PROC+2~, PROC+52*, PROC+53, PROC+54
J LOOKUP1+5~
K LOOKUP1+5~
K1 LOOKUP1+5~
LEVEL CHECKUID~, CHECKUID+3, CHECKUID+4, CHECKUID+6, CHECKUID+14, CHECKUID+19, CHECKUID+26, DUPUID~, DUPUID+11
LIST ACNUMB+1~, ACNUMB+2
LIST(1 ACNUMB+4, ACNUMB+6
MACHID DELETE~, DELETE+1
MAG0 CHECKUID+1~, CHECKUID+13*, DUPUID+1~, DUPUID+4*, LOOKUP1+1~, LOOKUP1+2*, LOOKUP1+3
MAG2 DUPUID+1~, DUPUID+5*, DUPUID+6, LOOKUP1+1~, LOOKUP1+2*, LOOKUP1+18, LOOKUP1+20
MAGIEN CHECKUID+1~, CHECKUID+11*, CHECKUID+12, CHECKUID+13, CHECKUID+17, CHECKUID+19, CHECKUID+24, CHECKUID+26, DUPUID+1~, DUPUID+2*
, DUPUID+3*, DUPUID+4, DUPUID+5, DUPUID+7, DUPUID+8, DUPUID+16*, DUPUID+17*, DUPUID+18, LOOKUP~, LOOKUP+1
, LOOKUP1~, LOOKUP1+2, LOOKUP1+28
MODIFIER LOOKUP1+19~, LOOKUP1+24*, LOOKUP1+25, MOD+4~, MOD+11*, MOD+16
NC LOOKUP1+5~
NF LOOKUP1+5~
NQ LOOKUP1+5~
NUMBER LOOKUP1+1~, LOOKUP1+28*
OBJECT CHECKUID+1~, CHECKUID+13*, CHECKUID+15, CHECKUID+22
OMLDAT PROC+3~, PROC+43*, PROC+44, PROC+55, PROC+56
OMLIEN PROC+4~, PROC+42*, PROC+43
OUT CHECKUID~, LOOKUP~, LOOKUP+1*, LOOKUP1+1~, GETDFN~, GETDFN+1*, ACNUMB~, ACNUMB+3*, ACNUMB+4*, ACNUMB+7*
, DELETE~, DELETE+1*
OUT( CHECKUID+16*, CHECKUID+17*, CHECKUID+19*, CHECKUID+23*, CHECKUID+24*, CHECKUID+26*, CHECKUID+29*
OUT(1 CHECKUID+2*, CHECKUID+3*, CHECKUID+5*, CHECKUID+6*, CHECKUID+9*, CHECKUID+31*, CHECKUID+32*, CHECKUID+33*, LOOKUP1+29
OUT(2 LOOKUP1+30
PARENT DUPUID+1~, DUPUID+6*, DUPUID+7, DUPUID+8
PROCMOD MOD+5~, MOD+11*
PROCNAME LOOKUP1+19~, LOOKUP1+23*, LOOKUP1+25
PROCTYPE PROC+7~, PROC+47*, PROC+48, PROC+49
RADFN ACNUMB+1~, ACNUMB+6*, ACNUMB+7
RADPROC PROC+5~, PROC+39*, PROC+46, PROC+47, PROC+50
RADTI ACNUMB+1~, ACNUMB+6*, ACNUMB+7
RETURN DUPUID+1~, DUPUID+16*, DUPUID+18*, DUPUID+20
STATUS ACNUMB+1~, ACNUMB+2*, ACNUMB+3, ACNUMB+4
STUDYDAT LOOKUP1+19~, LOOKUP1+22*, LOOKUP1+25
T LOOKUP1+5~
TMP LOOKUP1+1~, LOOKUP1+11*, LOOKUP1+12, LOOKUP1+16*, LOOKUP1+17, LOOKUP1+21*, LOOKUP1+22
TODAY PROC+6~, PROC+37*, PROC+53
U PROC+39, PROC+44, PROC+46, PROC+47, PROC+49, PROC+50, PROC+51, PROC+52, PROC+54, PROC+55
, PROC+56, PROC+57, PROC+58, MOD+11, MOD+16
UID CHECKUID+10*, CHECKUID+11, CHECKUID+19, CHECKUID+26, DUPUID~, DUPUID+3
UIDLIST CHECKUID~, CHECKUID+2
UIDLIST( CHECKUID+10
UIDLIST(1 CHECKUID+8
VA LOOKUP1+1~
VA("PID" LOOKUP1+10
VADM LOOKUP1+1~
VADM(1 LOOKUP1+9
VADM(3 LOOKUP1+11
VADM(5 LOOKUP1+13
VAHOW LOOKUP1+5~
VAPTYP LOOKUP1+5~
VAROOT LOOKUP1+5~
X LOOKUP1+1~, LOOKUP1+5~, LOOKUP1+8*, LOOKUP1+9*, LOOKUP1+10*, LOOKUP1+12*, LOOKUP1+13*, LOOKUP1+17*, LOOKUP1+25*, LOOKUP1+29*
, LOOKUP1+30*, LOOKUP1+32
XREF DUPUID+1~, DUPUID+12*, DUPUID+13*
XREFLIST DUPUID+1~
XREFLIST( DUPUID+8*, DUPUID+13
Z PROC+10~, PROC+56*, PROC+57, PROC+58

Marked Items

Name Field # of Occurrence
$T(GETDFN^MPIF001 GETDFN+1
$T(GETICN^MPIF001 LOOKUP1+16
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All