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 |  Local Variables  | All
Print Page as PDF
Routine: MAGDRPC4

Package: Imaging

Routine: MAGDRPC4


Information

MAGDRPC4 ;WOIFO/EdM,DAC - Imaging RPCs ; 24 Oct 2017 4:39 PM

Source Information

Source file <MAGDRPC4.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Imaging 7 FILEFIND^MAGDFB  ($$GMRCACN,$$GMRCIEN)^MAGDFCNV  TIUALL^MAGDGMRC  LABLKUP^MAGDIR8A  SUBFILES^MAGDIR9F  (CLEAN,IENLOOK)^MAGDRPC9  $$TIUIEN^MAGT7MA  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  
Radiology Nuclear Medicine 1 ($$ACCFIND,$$ACCRPT)^RAAPI  
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: 3

Package Total Caller Graph
Imaging 3 MAG DICOM GET NEXT QUEUE ENTRY  MAG DICOM LOOKUP STUDY  MAG DICOM QUEUE INIT  

Entry Points

Name Comments DBIA/ICR reference
LOOKUP(OUT,NUMBER) ; RPC = MAG DICOM LOOKUP STUDY
; Look Up for both Radiology and Consults
RADLKUP ; Radiology lookup
CONLKUP ; CPRS Consult/Procedure study lookup
LABLKUP ; Lab (Anatomic Pathology) study lookup
NEXTIMG(OUT,FROMS,SENT,CHECK) ; RPC = MAG DICOM GET NEXT QUEUE ENTRY
; Get next file to be DICOM transmitted
CLEANUP ; remove old studies
FIND(DATE,CASE,NUM) ;
; Use the ADC x-reference in the radiology patient file
MMDDYY(DAY) ; Convert Fileman date to mmddyy
INIT(OUT,LOCATION) ; RPC = MAG DICOM QUEUE INIT
SECOND(H)

External References

Name Field # of Occurrence
$$GET1^DIQ CONLKUP+8, CONLKUP+9, CONLKUP+11, CONLKUP+12, LABLKUP+19, INIT+22
FILEFIND^MAGDFB NEXTIMG+52, NEXTIMG+57
$$GMRCACN^MAGDFCNV CONLKUP+4
$$GMRCIEN^MAGDFCNV CONLKUP+3
TIUALL^MAGDGMRC CONLKUP+24
LABLKUP^MAGDIR8A LABLKUP+3
SUBFILES^MAGDIR9F LABLKUP+5
CLEAN^MAGDRPC9 NEXTIMG+7, CLEANUP+7
IENLOOK^MAGDRPC9 LOOKUP+24
$$TIUIEN^MAGT7MA LABLKUP+15
$$ACCFIND^RAAPI RADLKUP+13
$$ACCRPT^RAAPI RADLKUP+23
$$FMADD^XLFDT CLEANUP+2, FIND+3
$$NOW^XLFDT CLEANUP+2

Used in RPC

RPC Name Call Tags
MAG DICOM GET NEXT QUEUE ENTRY NEXTIMG
MAG DICOM LOOKUP STUDY LOOKUP
MAG DICOM QUEUE INIT INIT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^DIC(4 - [#4] GET1^DIQ
^TIU(8925.91 - [#8925.91] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2005 - [#2005] NEXTIMG+49, NEXTIMG+50, NEXTIMG+55
^MAG(2006.5838 - [#2006.5838] LABLKUP+7, LABLKUP+9
^MAG(2006.5839 - [#2006.5839] CONLKUP+16, CONLKUP+18
^MAGDOUTP(2006.574 - [#2006.574] NEXTIMG+9, NEXTIMG+12, NEXTIMG+13, NEXTIMG+14, NEXTIMG+15, NEXTIMG+17*, NEXTIMG+18!, NEXTIMG+19*, NEXTIMG+27, NEXTIMG+28
, NEXTIMG+33, NEXTIMG+34, NEXTIMG+36*, NEXTIMG+37!, NEXTIMG+38*, NEXTIMG+43, NEXTIMG+48, NEXTIMG+59, NEXTIMG+68, CLEANUP+3
CLEANUP+4, CLEANUP+5, CLEANUP+6, CLEANUP+11, INIT+3, INIT+6, INIT+7, INIT+8, INIT+9, INIT+10
, INIT+11, INIT+12!, INIT+13!, INIT+14!, INIT+15!, INIT+22, INIT+24*, INIT+25
^RADPT - [#70] RADLKUP+8, RADLKUP+9, RADLKUP+10, RADLKUP+18, RADLKUP+19, RADLKUP+21, RADLKUP+22
^RADPT("ADC" FIND+4
^RADPT("C" RADLKUP+6
^RARPT - [#74] RADLKUP+26, RADLKUP+27
^TIU(8925.91 - [#8925.91] LABLKUP+17

Label References

Name Line Occurrences
$$MMDDYY FIND+4
$$SECOND NEXTIMG+8, NEXTIMG+15
CLEANUP NEXTIMG+66
CONLKUP LOOKUP+32
LABLKUP LOOKUP+33
RADLKUP LOOKUP+31

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACCNUM LOOKUP+2~, RADLKUP+25*, RADLKUP+27, CONLKUP+1~, CONLKUP+4*, CONLKUP+19
ACNUMB LABLKUP+1~, LABLKUP+3*, LABLKUP+11, LABLKUP+20
CASE FIND~, FIND+4
CHECK NEXTIMG~, NEXTIMG+10, NEXTIMG+35
CPTCODE LOOKUP+3~
CPTNAME LOOKUP+4~
D0 CONLKUP+6~, CONLKUP+7*, CONLKUP+8, CONLKUP+9, CONLKUP+11, CONLKUP+12, INIT+1~, INIT+9*, INIT+10, INIT+11
, INIT+12, INIT+13, INIT+14, INIT+15
DATE FIND~, FIND+3
DAY MMDDYY~, MMDDYY+1, MMDDYY+2
DFN LOOKUP+5~, LOOKUP+30!, RADLKUP+19*, RADLKUP+20, RADLKUP+21, RADLKUP+22, CONLKUP+8*, CONLKUP+14, LABLKUP+4
EXAMSTS LOOKUP+6~, CONLKUP+9*, CONLKUP+10
EXAMTYPE LOOKUP+7~, LOOKUP+27*, LOOKUP+28, LOOKUP+29*, RADLKUP+1, CONLKUP+2, LABLKUP+2
F1 NEXTIMG+2~, NEXTIMG+52, NEXTIMG+53, NEXTIMG+57
F2 NEXTIMG+2~, NEXTIMG+52, NEXTIMG+54
F3 NEXTIMG+2~, NEXTIMG+57, NEXTIMG+58
FILEDATA LABLKUP+1~
FROM NEXTIMG+2~, NEXTIMG+11*, NEXTIMG+12, NEXTIMG+13, NEXTIMG+14, NEXTIMG+18, NEXTIMG+19, NEXTIMG+26*, NEXTIMG+27, NEXTIMG+28
, NEXTIMG+32*, NEXTIMG+33, NEXTIMG+34, NEXTIMG+37, NEXTIMG+38
FROM( NEXTIMG+3*, NEXTIMG+4*, NEXTIMG+11, NEXTIMG+26
FROM("" NEXTIMG+5
FROMS NEXTIMG~, NEXTIMG+3
FROMS( NEXTIMG+4
GMRCIEN LOOKUP+8~, CONLKUP+3*, CONLKUP+4, CONLKUP+7, CONLKUP+16, CONLKUP+24
H NEXTIMG+2~, NEXTIMG+8*, NEXTIMG+16, SECOND~
I LOOKUP+18~, RADLKUP+26*, RADLKUP+27, CONLKUP+23~, CONLKUP+25*, CONLKUP+26, NEXTIMG+2~, NEXTIMG+4*, NEXTIMG+7*, CLEANUP+1~
CLEANUP+7*
INFO LOOKUP+9~, RADLKUP+23
INFO(1 RADLKUP+25
JBTOHD NEXTIMG+2~, NEXTIMG+47*, NEXTIMG+57
LIST LOOKUP+18~
LOC NEXTIMG+2~
LOCATION INIT~, INIT+2, INIT+7, INIT+8, INIT+9, INIT+15, INIT+22
LRDFN LABLKUP+1~, LABLKUP+7, LABLKUP+15
LRI LABLKUP+1~, LABLKUP+7, LABLKUP+15
LRSS LABLKUP+1~, LABLKUP+5, LABLKUP+15
MAGIEN CONLKUP+1~, LABLKUP+1~, LABLKUP+19*, LABLKUP+20
MAGPTR CONLKUP+1~, CONLKUP+16*, CONLKUP+17, CONLKUP+18, LABLKUP+1~, LABLKUP+7*, LABLKUP+8, LABLKUP+9
N NEXTIMG+2~, INIT+1~, INIT+5*, INIT+16*, INIT+22, INIT+24, INIT+26
NDATE FIND+2~, FIND+3*, FIND+4
NOUT LOOKUP+18~, LOOKUP+20*, LOOKUP+34, RADLKUP+28*, CONLKUP+20*, CONLKUP+27*, LABLKUP+12*, LABLKUP+21*
NUM FIND~, FIND+3
NUMBER LOOKUP~, LOOKUP+21, LOOKUP+22, LOOKUP+27, LOOKUP+28*, RADLKUP+3, RADLKUP+7, RADLKUP+8, RADLKUP+9, RADLKUP+10
RADLKUP+13, CONLKUP+3, LABLKUP+3
OUT LOOKUP~, LOOKUP+20!, NEXTIMG~, INIT~, INIT+2*, INIT+3*, INIT+22*, INIT+26*
OUT( RADLKUP+28*, CONLKUP+20*, CONLKUP+27*, LABLKUP+12*, LABLKUP+21*
OUT(1 LOOKUP+21*, LOOKUP+32, LOOKUP+33, LOOKUP+34*, RADLKUP+24*, CONLKUP+10*, CONLKUP+14*, LABLKUP+4*, NEXTIMG+5*, NEXTIMG+31*
, NEXTIMG+33, NEXTIMG+34, NEXTIMG+40*, NEXTIMG+64, NEXTIMG+65*
OUT(10 NEXTIMG+54*
OUT(11 NEXTIMG+55*
OUT(12 NEXTIMG+58*
OUT(13 NEXTIMG+60*
OUT(2 NEXTIMG+41*
OUT(3 NEXTIMG+42*
OUT(4 NEXTIMG+44*
OUT(5 NEXTIMG+45*
OUT(6 NEXTIMG+46*
OUT(7 NEXTIMG+48*, NEXTIMG+49, NEXTIMG+50, NEXTIMG+52, NEXTIMG+55, NEXTIMG+57
OUT(8 NEXTIMG+49*
OUT(9 NEXTIMG+53*
PARENTFILE LABLKUP+1~, LABLKUP+7
PRI NEXTIMG+2~, NEXTIMG+12*, NEXTIMG+13, NEXTIMG+14, NEXTIMG+18, NEXTIMG+19, NEXTIMG+27*, NEXTIMG+28, NEXTIMG+31*, NEXTIMG+32
, NEXTIMG+33, NEXTIMG+34, NEXTIMG+37, NEXTIMG+38, INIT+1~, INIT+7*, INIT+8, INIT+9, INIT+15
PRI( NEXTIMG+28*, NEXTIMG+32
PRI("" NEXTIMG+31
PROCDESC LOOKUP+10~, CONLKUP+11*, LABLKUP+1~
PROCIEN LOOKUP+11~
RAA LOOKUP+12~, RADLKUP+13
RAA(1 RADLKUP+15
RACNI LOOKUP+16~, RADLKUP+2*, RADLKUP+3, RADLKUP+10*, RADLKUP+12, RADLKUP+16*, RADLKUP+22
RADFN LOOKUP+14~, RADLKUP+8*, RADLKUP+9, RADLKUP+10, RADLKUP+16*, RADLKUP+18, RADLKUP+19
RADTI LOOKUP+15~, RADLKUP+9*, RADLKUP+10, RADLKUP+16*, RADLKUP+21, RADLKUP+22
RAIX LOOKUP+13~, RADLKUP+5~, RADLKUP+6*, RADLKUP+7*, RADLKUP+8, RADLKUP+9, RADLKUP+10
RARPT LOOKUP+17~, RADLKUP+22*, RADLKUP+23, RADLKUP+26, RADLKUP+27
REPORTF CONLKUP+1~
REPORTI CONLKUP+1~
REQUESTDATETIME CLEANUP+1~, CLEANUP+2*, CLEANUP+4*, CLEANUP+5, INIT+1~, INIT+10*, INIT+13
RESULT CONLKUP+23~, CONLKUP+24
RESULT( CONLKUP+25, CONLKUP+26
S0 NEXTIMG+2~, NEXTIMG+13*, NEXTIMG+14, NEXTIMG+15, NEXTIMG+17, NEXTIMG+18, NEXTIMG+19, NEXTIMG+33*, NEXTIMG+34, NEXTIMG+36
, NEXTIMG+37, NEXTIMG+38, NEXTIMG+41, NEXTIMG+43, NEXTIMG+48, NEXTIMG+59, CLEANUP+1~, CLEANUP+5*, CLEANUP+6, CLEANUP+7
S1 NEXTIMG+2~, NEXTIMG+14*, NEXTIMG+15, NEXTIMG+17, NEXTIMG+18, NEXTIMG+19, NEXTIMG+34*, NEXTIMG+36, NEXTIMG+37, NEXTIMG+38
, NEXTIMG+42, NEXTIMG+48, CLEANUP+1~, CLEANUP+6*, CLEANUP+7
SENT NEXTIMG~, CLEANUP+1~
SENT( NEXTIMG+7
SENT(1 CLEANUP+7*
STS NEXTIMG+2~, INIT+1~, INIT+8*, INIT+9, INIT+15
STUID INIT+1~, INIT+11*, INIT+14
TIUIEN CONLKUP+1~, LABLKUP+1~, LABLKUP+15*, LABLKUP+16, LABLKUP+17, LABLKUP+20
TIUPTR CONLKUP+1~
TIUXIEN CONLKUP+1~, LABLKUP+1~, LABLKUP+17*, LABLKUP+18, LABLKUP+19
TYPE NEXTIMG+2~, NEXTIMG+50*, NEXTIMG+52
X LOOKUP+18~, RADLKUP+13*, RADLKUP+14, RADLKUP+23*, RADLKUP+24, RADLKUP+27*, RADLKUP+28, CONLKUP+1~, CONLKUP+3*, CONLKUP+18*
CONLKUP+19*, CONLKUP+20, CONLKUP+23~, CONLKUP+26*, CONLKUP+27, LABLKUP+1~, LABLKUP+9*, LABLKUP+11*, LABLKUP+12, LABLKUP+20*
LABLKUP+21, NEXTIMG+2~, NEXTIMG+3*, NEXTIMG+4*, NEXTIMG+15*, NEXTIMG+16, NEXTIMG+28*, NEXTIMG+43*, NEXTIMG+44, NEXTIMG+45
, NEXTIMG+46, NEXTIMG+47, NEXTIMG+59*, NEXTIMG+60, INIT+1~, INIT+10*
Y LOOKUP+18~, RADLKUP+15*, RADLKUP+16
Z LOOKUP+18~, CONLKUP+6~, CONLKUP+12*
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 |  Local Variables  | All