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  | All
Print Page as PDF
Routine: MAGDSTQ5

Package: Imaging

Routine: MAGDSTQ5


Information

MAGDSTQ5 ;WOIFO/PMK - Study Tracker - Patient Level Query/Retrieve Display; Jul 23, 2020@07:39:54

Source Information

Source file <MAGDSTQ5.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Imaging 3 CONTINUE^MAGDSTQ  POP^MAGDSTQ0  ($$DATE,$$IMAGE,$$NAME,$$PATIENT,$$SERIES,$$STUDY)^MAGDSTQ6  

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

Package Total Caller Graph
Imaging 2 MAGDSTQ  MAGDSTV1  

Entry Points

Name Comments DBIA/ICR reference
DISPLAY ;
; the values of the following four status is important
DISPLAY1() ; select the patient
DISPLAY2() ; select the study
DISPLAY3() ; select the series
DISPLAY4() ; select the image
MULTIPLE(LEVEL,N) ; display information for multiple entries
MULTI ; display one set of information
MULTIEND ; set loop end variables
MULTITOP ; display the MULTI header
MULTIONE ; display one line of data for each patient, study, series, or image
SINGLE(LEVEL,I) ; display detailed information for one entity
HEADER ; display the header

External References

Name Field # of Occurrence
CONTINUE^MAGDSTQ DISPLAY+16
POP^MAGDSTQ0 DISPLAY+17, DISPLAY+33
$$DATE^MAGDSTQ6 MULTIONE+14, MULTIONE+19
$$IMAGE^MAGDSTQ6 SINGLE+13
$$NAME^MAGDSTQ6 MULTIONE+14
$$PATIENT^MAGDSTQ6 MULTITOP+9, SINGLE+4
$$SERIES^MAGDSTQ6 MULTITOP+22, SINGLE+10
$$STUDY^MAGDSTQ6 MULTITOP+17, SINGLE+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,^(I)
  • Line Location: DISPLAY+15
Function Call: WRITE
  • Prompt: !!,"Nothing selected -- Exit display of query results?"
  • Line Location: DISPLAY+27
Function Call: READ
  • Prompt: " y// "
  • Variable: X
  • Timeout: DTIME
  • Line Location: DISPLAY+28
Function Call: WRITE
  • Prompt: X
  • Line Location: DISPLAY+30
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: MULTI+8
Function Call: WRITE
  • Prompt: !!,"Enter 1-",IEND," to see the ",PROMPT(1)," details"
  • Line Location: MULTI+16
Function Call: WRITE
  • Prompt: ", <Enter> to see more ",PROMPT(2)
  • Line Location: MULTI+17
Function Call: READ
  • Prompt: ": "
  • Variable: I
  • Timeout: DTIME
  • Line Location: MULTI+18
Function Call: READ
  • Prompt: " ???"
  • Variable: X
  • Timeout: DTIME
  • Line Location: MULTI+22
Function Call: WRITE
  • Prompt: @IOF,?4,"Identifier ",?17,"Patient Name",?60,"Birth Date",?75,"Sex"
  • Line Location: MULTITOP+2
Function Call: WRITE
  • Prompt: !?4,"-----------",?17,"------------",?60,"----------",?75,"---"
  • Line Location: MULTITOP+3
Function Call: WRITE
  • Prompt: !!?4,"Accession Number",?22,"Study Date",?34,"Description"
  • Line Location: MULTITOP+10
Function Call: WRITE
  • Prompt: !?4,"----------------",?22,"----------",?34,"-----------"
  • Line Location: MULTITOP+11
Function Call: WRITE
  • Prompt: "Modality: ",MODALITY,!
  • Line Location: MULTIONE+8
Function Call: WRITE
  • Prompt: $J(I,3),")",?5
  • Line Location: MULTIONE+11
Function Call: WRITE
  • Prompt: PID,?17,$E($$NAME^MAGDSTQ6(PNAME),1,40),?60,$$DATE^MAGDSTQ6(DOB,"SHORT"),?76,SEX
  • Line Location: MULTIONE+14
Function Call: WRITE
  • Prompt: ACNUMB
  • Line Location: MULTIONE+18
Function Call: WRITE
  • Prompt: ?22,$$DATE^MAGDSTQ6(STUDYDATE,"SHORT")
  • Line Location: MULTIONE+19
Function Call: WRITE
  • Prompt: ?34,$E(DESCRIPTION,1,80-34)
  • Line Location: MULTIONE+20
Function Call: WRITE
  • Prompt: SERIESDESC
  • Line Location: MULTIONE+24
Function Call: WRITE
  • Prompt: "Series UID: ",SERIESUID
  • Line Location: MULTIONE+25
Function Call: WRITE
  • Prompt: "SOP Instance UID: ",SOPUID
  • Line Location: MULTIONE+29
Function Call: WRITE
  • Prompt: @IOF,?J,X
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !,?J
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: "-"
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XTMP( DISPLAY+12, DISPLAY+15, DISPLAY1+2, DISPLAY1+7, DISPLAY2+3, DISPLAY2+8, DISPLAY3+3, DISPLAY3+8, DISPLAY4+3, MULTIONE+6
MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28

Label References

Name Line Occurrences
$$DISPLAY1 DISPLAY+22
$$DISPLAY2 DISPLAY1+17
$$DISPLAY3 DISPLAY2+18
$$DISPLAY4 DISPLAY3+18
$$MULTIPLE DISPLAY1+12, DISPLAY2+13, DISPLAY3+13, DISPLAY4+8
$$SINGLE MULTIPLE+5, MULTI+21
HEADER MULTITOP+8, MULTITOP+16, MULTITOP+21, SINGLE+2
MULTI MULTIPLE+9
MULTIEND MULTI+18, MULTI+20, MULTI+22
MULTIONE MULTI+15
MULTITOP MULTI+4

Naked Globals

Name Field # of Occurrence
^( DISPLAY+15, MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ACNUMB MULTIONE+18
CARET DISPLAY+4~*
>> DESCRIPTION MULTIONE+20
>> DOB MULTIONE+14
DONE MULTIPLE+1~, MULTIPLE+2*, MULTIPLE+9, MULTIPLE+11*, MULTI+21*, MULTIEND+1*
DTIME DISPLAY+28, MULTI+18, MULTI+22
FINISHED MULTI+1~, MULTI+2*, MULTI+18*, MULTI+19*, MULTI+20*, MULTI+21*, MULTI+22*
FIRSTLINE MULTI+1~, MULTI+5*, MULTI+9*, MULTIONE+3, MULTIONE+11*
HIT DISPLAY+8~, DISPLAY+20*, DISPLAY+23, DISPLAY1+14*, DISPLAY1+18, DISPLAY2+15*, DISPLAY2+19, DISPLAY3+15*, DISPLAY3+19, DISPLAY4+10*
>> HOSTNAME DISPLAY+12, DISPLAY+15, DISPLAY1+2, DISPLAY1+7, DISPLAY2+3, DISPLAY2+8, DISPLAY3+3, DISPLAY3+8, DISPLAY4+3, MULTIONE+6
MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28
I DISPLAY+14~, DISPLAY+15*, MULTI+1~, MULTI+15*, MULTI+18*, MULTI+19, MULTI+20, MULTI+21, MULTIEND+1*, MULTIONE+6
MULTIONE+11, MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28, SINGLE~, SINGLE+4, SINGLE+7, SINGLE+10, SINGLE+13
HEADER+1~, HEADER+5*
IBEGIN MULTIPLE+1~, MULTIPLE+9*, MULTIPLE+10*, MULTIPLE+11, MULTI+3, MULTI+14, MULTI+15
IEND MULTIPLE+1~, MULTI+14*, MULTI+15, MULTI+16, MULTI+17, MULTI+21
INCORRECT DISPLAY+2~*, DISPLAY1+13, DISPLAY2+14, DISPLAY3+14, DISPLAY4+9, MULTIPLE+6
INCREMENT MULTIPLE+1~, MULTIPLE+10, MULTI+12*, MULTI+13*, MULTI+14
IOF MULTI+8, MULTITOP+2, HEADER+4
IOSL MULTI+12
J HEADER+1~, HEADER+3*, HEADER+4, HEADER+5
JIMAGE DISPLAY+6~, SINGLE+13*
JPATIENT DISPLAY+6~, DISPLAY1+8*, DISPLAY2+2, DISPLAY2+3, DISPLAY2+8, DISPLAY3+3, DISPLAY3+8, DISPLAY4+3, MULTITOP+5*, MULTIONE+6
MULTIONE+17, MULTIONE+23, MULTIONE+28, SINGLE+4*
JSERIES DISPLAY+6~, DISPLAY3+9*, DISPLAY4+2, DISPLAY4+3, MULTITOP+5*, MULTITOP+13*, MULTIONE+28, SINGLE+10*
JSTUDY DISPLAY+6~, DISPLAY2+9*, DISPLAY3+2, DISPLAY3+3, DISPLAY3+8, DISPLAY4+3, MULTITOP+5*, MULTITOP+13*, MULTIONE+6, MULTIONE+23
MULTIONE+28, SINGLE+7*
LEVEL MULTIPLE~, MULTIPLE+5, MULTI+21, MULTITOP+1, MULTITOP+7, MULTITOP+15, MULTIONE+4, MULTIONE+12, MULTIONE+16, MULTIONE+22
MULTIONE+27, SINGLE~, SINGLE+3, SINGLE+6, SINGLE+9
>> MAGXTMP DISPLAY+12, DISPLAY+15, DISPLAY1+2, DISPLAY1+7, DISPLAY2+3, DISPLAY2+8, DISPLAY3+3, DISPLAY3+8, DISPLAY4+3, MULTIONE+6
MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28
MODALITY MULTIONE+5~, MULTIONE+6*, MULTIONE+7, MULTIONE+8, MULTIONE+9
N DISPLAY1+1~, DISPLAY1+2*, DISPLAY1+3, DISPLAY1+7, DISPLAY1+12, DISPLAY1+19, DISPLAY2+1~, DISPLAY2+3*, DISPLAY2+4, DISPLAY2+8
, DISPLAY2+13, DISPLAY2+20, DISPLAY3+1~, DISPLAY3+3*, DISPLAY3+4, DISPLAY3+8, DISPLAY3+13, DISPLAY3+20, DISPLAY4+1~, DISPLAY4+3*
, DISPLAY4+4, DISPLAY4+8, MULTIPLE~, MULTIPLE+4, MULTIPLE+11, MULTI+14, MULTI+17
NOTSELECTED DISPLAY+3~*, DISPLAY1+19, DISPLAY2+20, DISPLAY3+20, MULTIPLE+6, MULTIPLE+11, MULTI+19, MULTIEND+1
OLDMODALITY MULTI+1~, MULTIONE+7, MULTIONE+9*
>> OPTION HEADER+2
>> PID MULTIONE+14
>> PNAME MULTIONE+14
PROMPT MULTIPLE+1~
PROMPT(1 MULTI+16, MULTITOP+4*, MULTITOP+12*, MULTITOP+18*, MULTITOP+23*
PROMPT(2 MULTI+17, MULTITOP+4*, MULTITOP+12*, MULTITOP+18*, MULTITOP+23*
>> QRSTACK DISPLAY+12, DISPLAY+15, DISPLAY+17, DISPLAY+33, DISPLAY1+2, DISPLAY1+7, DISPLAY2+3, DISPLAY2+8, DISPLAY3+3, DISPLAY3+8
, DISPLAY4+3, MULTIONE+6, MULTIONE+13, MULTIONE+17, MULTIONE+23, MULTIONE+28
REPEAT DISPLAY+9~, DISPLAY+20*, DISPLAY+21, DISPLAY+23*, DISPLAY+32*, DISPLAY1+1~, DISPLAY1+5*, DISPLAY1+6, DISPLAY1+11, DISPLAY1+15*
, DISPLAY1+18*, DISPLAY1+19*, DISPLAY2+1~, DISPLAY2+6*, DISPLAY2+7, DISPLAY2+12, DISPLAY2+16*, DISPLAY2+19*, DISPLAY2+20*, DISPLAY3+1~
, DISPLAY3+6*, DISPLAY3+7, DISPLAY3+12, DISPLAY3+16*, DISPLAY3+19*, DISPLAY3+20*, DISPLAY4+1~, DISPLAY4+6*, DISPLAY4+7, DISPLAY4+11*
RETURN DISPLAY+10~, DISPLAY+22*, DISPLAY+25, MULTI+1~, MULTITOP+9*, MULTITOP+17*, MULTITOP+22*, SINGLE+1~, SINGLE+4*, SINGLE+7*
, SINGLE+10*, SINGLE+13*, SINGLE+15
RETURN1 DISPLAY1+1~, DISPLAY1+9*, DISPLAY1+12*, DISPLAY1+13, DISPLAY1+14, DISPLAY1+15, DISPLAY1+19*, DISPLAY1+21, DISPLAY2+1~, DISPLAY2+10*
, DISPLAY2+13*, DISPLAY2+14, DISPLAY2+15, DISPLAY2+16, DISPLAY2+20*, DISPLAY2+22, DISPLAY3+1~, DISPLAY3+10*, DISPLAY3+13*, DISPLAY3+14
, DISPLAY3+15, DISPLAY3+16, DISPLAY3+20*, DISPLAY3+22, DISPLAY4+1~, DISPLAY4+8*, DISPLAY4+9, DISPLAY4+10, DISPLAY4+11, DISPLAY4+13
RETURN2 DISPLAY1+1~, DISPLAY1+17*, DISPLAY1+19, DISPLAY2+1~, DISPLAY2+18*, DISPLAY2+20, DISPLAY3+1~, DISPLAY3+18*, DISPLAY3+20
SELECT MULTIPLE+1~, MULTIPLE+5*, MULTIPLE+6*, MULTIPLE+11*, MULTIPLE+14, MULTI+19*, MULTI+21*, MULTIEND+1*
>> SERIESDESC MULTIONE+24
>> SERIESUID MULTIONE+25
SETKEYS DISPLAY+7~*
>> SEX MULTIONE+14
>> SOPUID MULTIONE+29
>> STUDYDATE MULTIONE+19
VAR MULTIONE+1~, MULTIONE+2*, MULTIONE+13*~, MULTIONE+17*~, MULTIONE+23*~, MULTIONE+28*~
X DISPLAY+25*, DISPLAY+28*, DISPLAY+30*, DISPLAY+31, MULTI+22*, SINGLE+1~, HEADER+1~, HEADER+2*, HEADER+3, HEADER+4
HEADER+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All