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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: MAGDIR8R

Package: Imaging

Routine: MAGDIR8R


Information

MAGDIR8R ;WOIFO/PMK - Automatic Import Reconciliation Workflow ; 27 Sep 2010 1:00 PM

Source Information

Source file <MAGDIR8R.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Imaging 1 BADERROR^MAGDIRVE  

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

Package Total Caller Graph
Imaging 3 MAG DISPLAY IMPORTER  MAGDIR81  MAGDRPCA  

Entry Points

Name Comments DBIA/ICR reference
DISPLAY ;Display a study
DISPLAY1 ; Display for one machine
HEADING ; output the heading
NAME(NAME) ; convert person name from DICOM format to displayable one
DATE(YYYYMMDD,FORMAT) ; convert date from DICOM format to displayable one
; FORMAT: B for birthday mm/dd/yyyy, S for short mm/dd/yy, L for long
CONTINUE ; prompt
BUILD() ;
GETDATA(I,MODE,DATA) ; get the data from the I-th entry in the DATAFILE
; if MODE="LIST", then I is the index into the LIST
; if MODE="IEN", then I is the actual internal entry number
STORE ; store an entry
DELETE(IMAGEUID,MACHID,OLDPATH) ; remove an entry
DELETE1(IMAGEUID,MACHID,OLDPATH) ; remove the single entry
; Note: ^MAGD(2006.5752,0) must be locked prior to invocation

External References

Name Field # of Occurrence
BADERROR^MAGDIRVE DELETE1+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"No images to correct"
  • Line Location: DISPLAY+20
Function Call: WRITE
  • Prompt: !,$J(I,3),")"
  • Line Location: DISPLAY1+7
Function Call: WRITE
  • Prompt: ?5,$J(DATA("PID"),14)
  • Line Location: DISPLAY1+8
Function Call: WRITE
  • Prompt: ?20,$E($$NAME(DATA("PNAMEDCM")),1,25)
  • Line Location: DISPLAY1+9
Function Call: WRITE
  • Prompt: ?47,DATA("ACNUMB"),?64,$$DATE(DATA("STUDYDAT"),"S")
  • Line Location: DISPLAY1+10
Function Call: WRITE
  • Prompt: ?72
  • Line Location: DISPLAY1+11
Function Call: WRITE
  • Prompt: " ",MODALITY,"=",^TMP("MAG",$J,"IRWF",MACHID,I,"MOD",MODALITY)
  • Line Location: DISPLAY1+14
Function Call: WRITE
  • Prompt: @IOF,?TAB,X
  • Line Location: HEADING+4
Function Call: WRITE
  • Prompt: !?TAB,$TR($J("",$L(X))," ","-")
  • Line Location: HEADING+5
Function Call: WRITE
  • Prompt: !!," #",?7,"Patient ID",?22,"DICOM Patient Name"
  • Line Location: HEADING+6
Function Call: WRITE
  • Prompt: ?49,"Accession #",?66,"Date",?73,"Images"
  • Line Location: HEADING+7
Function Call: WRITE
  • Prompt: !,"----",?5,"--------------",?20,"-------------------------",?47,"----------------"
  • Line Location: HEADING+8
Function Call: WRITE
  • Prompt: ?64,"--------",?73,"------"
  • Line Location: HEADING+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAGD(2006.5752 - [#2006.5752] BUILD+7, BUILD+8, BUILD+19, GETDATA+11, STORE+14, STORE+15*, STORE+16, STORE+17*, STORE+18*, STORE+19
STORE+20*, STORE+21*, DELETE+2, DELETE+6, DELETE+8, DELETE+13, DELETE1+3, DELETE1+4, DELETE1+23, DELETE1+24!
, DELETE1+25!, DELETE1+26!, DELETE1+28
^TMP("MAG" DISPLAY+16, DISPLAY1+3, DISPLAY1+13, DISPLAY1+14, BUILD+4!, BUILD+16*, BUILD+17, GETDATA+6, GETDATA+7

Label References

Name Line Occurrences
$$BUILD DISPLAY+14
$$DATE DISPLAY1+10
$$DELETE1 DELETE+3, DELETE+10
$$GETDATA DISPLAY1+4, BUILD+9
$$NAME DISPLAY1+9
CONTINUE DISPLAY+18, DISPLAY+20, DISPLAY1+6
DISPLAY1 DISPLAY+17
HEADING DISPLAY1+2, DISPLAY1+6

Naked Globals

Name Field # of Occurrence
^( BUILD+17*
^(0 DELETE1+28*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ACNUMB STORE+7
>> ARG2 DELETE1+19
>> ARGS DELETE1+18
CHAR NAME+1~, NAME+4*, NAME+5
COUNT BUILD+1~, BUILD+5*, BUILD+15*, BUILD+20
DATA DISPLAY1+1~, DISPLAY1+4, BUILD+2~, BUILD+9, GETDATA~, GETDATA+4!
DATA( GETDATA+18*
DATA("ACNUMB" DISPLAY1+10
DATA("MACHID" BUILD+10
DATA("MODALITY" BUILD+11
DATA("PID" DISPLAY1+8
DATA("PNAME" GETDATA+20!
DATA("PNAMEDCM" DISPLAY1+9, GETDATA+20*
DATA("SERIEUID" BUILD+13
DATA("STUDYDAT" DISPLAY1+10
DATA("STUDYUID" BUILD+12
DTIME CONTINUE+1
DUPIEN DELETE+1~, DELETE+6*, DELETE+8
EXIST DELETE1+2~, DELETE1+23*, DELETE1+28
FORMAT DATE~, DATE+3*, DATE+4, DATE+7, DATE+8
>> FROMPATH STORE+11, STORE+21
HEADING DISPLAY+1~, DISPLAY+13*, HEADING+2
I DISPLAY+9~, DISPLAY1+3*, DISPLAY1+4, DISPLAY1+7, DISPLAY1+13, DISPLAY1+14, NAME+1~, NAME+3*, NAME+4, NAME+7
, NAME+9, BUILD+14*, BUILD+15*, BUILD+16, BUILD+17, GETDATA~, GETDATA+4, GETDATA+6, GETDATA+7, GETDATA+9
STORE+1~, DELETE1+7!, DELETE1+8*, DELETE1+9*, DELETE1+10*, DELETE1+11*, DELETE1+12*, DELETE1+13*, DELETE1+14*, DELETE1+15*
, DELETE1+16*, DELETE1+17*, DELETE1+18*, DELETE1+19*
IEN DISPLAY+2~, BUILD+8*, BUILD+9, BUILD+16, GETDATA+3~, GETDATA+7*, GETDATA+9*, GETDATA+11, STORE+1~, STORE+16*
STORE+17, STORE+18, STORE+20, STORE+21, DELETE1+2~, DELETE1+3*, DELETE1+4, DELETE1+13, DELETE1+14, DELETE1+15
, DELETE1+16, DELETE1+17, DELETE1+23, DELETE1+24, DELETE1+25, DELETE1+26
IMAGEUID STORE+11, STORE+20, DELETE~, DELETE+3, DELETE+6, DELETE+10, DELETE1~, DELETE1+6, DELETE1+11, DELETE1+25
IOF DISPLAY+11*, HEADING+4
J DISPLAY+9~, GETDATA+3~, GETDATA+12*, GETDATA+17*, GETDATA+18
K DISPLAY+9~, GETDATA+3~, GETDATA+12*, GETDATA+18*
M DATE+2~, DATE+9*, DATE+10*, DATE+11
MACHID DISPLAY+3~, DISPLAY+15*, DISPLAY+16*, DISPLAY1+3, DISPLAY1+13, DISPLAY1+14, HEADING+2, BUILD+10*, BUILD+16, BUILD+17
, GETDATA+6, GETDATA+7, STORE+5, STORE+21, DELETE~, DELETE+3, DELETE+7~, DELETE+9*, DELETE+10, DELETE1~
, DELETE1+3, DELETE1+26
MODALITY DISPLAY+4~, DISPLAY1+12*, DISPLAY1+13*, DISPLAY1+14, BUILD+11*, BUILD+17, STORE+9
MODE GETDATA~, GETDATA+4, GETDATA+5, GETDATA+9
MSG DELETE1+7!, DELETE1+20
MSG( DELETE1+9*, DELETE1+10*, DELETE1+11*, DELETE1+12*, DELETE1+13*, DELETE1+14*, DELETE1+15*, DELETE1+16*, DELETE1+17*, DELETE1+18*
, DELETE1+19*
NAME NAME~, NAME+3, NAME+4, NAME+7, NAME+9
NONE DISPLAY+5~, DISPLAY+15*, DISPLAY+20, DISPLAY1+5*
OLDPATH DELETE~, DELETE+3, DELETE+7~, DELETE+9*, DELETE+10, DELETE1~, DELETE1+3, DELETE1+26
>> PID STORE+5
PNAME STORE+1~, STORE+3*, STORE+5
PNAMEDCM DISPLAY+6~, STORE+3
RETURN DELETE+1~, DELETE+3*, DELETE+7~, DELETE+10*, DELETE+14
SERIEUID DISPLAY+7~, BUILD+13*, BUILD+16, GETDATA+3~, GETDATA+6*, GETDATA+7, STORE+9
>> STUDYDAT STORE+7
STUDYUID DISPLAY+8~, BUILD+12*, BUILD+14, BUILD+15, STORE+7
STUDYUID( BUILD+14, BUILD+15*
TAB HEADING+1~, HEADING+3*, HEADING+4, HEADING+5
VARS GETDATA+3~
VARS( GETDATA+18
VARS(0 GETDATA+13*
VARS(1 GETDATA+14*
VARS(2 GETDATA+15*
VARS(3 GETDATA+16*
X DISPLAY+9~, DISPLAY+14*, HEADING+1~, HEADING+2*, HEADING+3, HEADING+4, HEADING+5, NAME+1~, NAME+2*, NAME+7*
, NAME+9*, NAME+10, CONTINUE+1*, BUILD+9*, GETDATA+3~, GETDATA+11*, STORE+1~, STORE+18, DELETE+7~, DELETE+8*
, DELETE1+2~, DELETE1+4*
X( GETDATA+12*, GETDATA+18
X(0 STORE+5*, DELETE+9, DELETE1+14
X(1 STORE+7*, DELETE1+15
X(2 STORE+9*, DELETE1+16
X(3 STORE+11*, DELETE+9, DELETE1+6, DELETE1+12, DELETE1+17
YYYYMMDD DATE~, DATE+5, DATE+6, DATE+7, DATE+8, DATE+9, DATE+11

Marked Items

Name Field # of Occurrence
$T( DELETE1+20
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All