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

Package: Imaging

Routine: MAGVIM05


Information

MAGVIM05 ;WOIFO/MAT,BT,JL,DAC,PMK - Utilities for RPC calls for DICOM file processing ;09 Sep 2021 3:13 PM

Source Information

Source file <MAGVIM05.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Imaging 3 (ADDROOM,IMAGELOC)^MAGDRPCB  ($$OUTSEP,$$STATSEP)^MAGVIM01  ALERT^MAGVIMRA  
Kernel 2 ($$HL7TFM,$$NOW)^XLFDT  $$IEN^XUAF4  
Radiology Nuclear Medicine 2 (COMPLETE,ORDER,REGISTER)^RAMAGRP1  (EXAMINED,EXMSTREQ)^RAMAGRP2  
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: 4

Package Total Caller Graph
Imaging 4 MAGV RAD EXAM ORDER  MAGV RAD EXAM REGISTER  MAGV RAD STAT COMPLETE  MAGV RAD STAT EXAMINED  

Entry Points

Name Comments DBIA/ICR reference
XMCOMPLT(RETURN,RADPT,RAEXAM1,RAEXAM2,MAGVUSR,MAGVUSRDV,RAIMGTYP,RASTDRPT,RADXPRIM,RADXSCND) ;
XMEXAMIN(RETURN,RADFN,RAEXAM1,RAEXAM2,MAGVUSR,MAGVUSRDV,RAIMGTYP) ;
XMORDER(RETURN,DFN,RAMLC,RADPROC,STUDYDAT,RACAT,REQLOC,REQPHYS,REASON,MISC) ;
XMREGSTR(RETURN,RAOIFN,EXMDTE,RAMSC) ;
ZRUSEPIN ;
MAKELIST(RACTION,RAIMGTYP,RAMSC,MAGVUSR,MAGSITEP) ; output required fields
; Load required flags
STNDRPRT(RASTDRPT,SSCR,INDEX1) ;
OUTPUT(TEXT,ARRAY) ;
IMAGELOC(RESULT,PROCIEN,DIVISION) ;
; return the outside imaging location for a given radiology procedure and division
ADDROOM(INFO,RAEXAM) ; add the OUTSIDE STUDY camera equipment room to the IMAGING LOCATION

External References

Name Field # of Occurrence
$$GET1^DIQ XMREGSTR+26, MAKELIST+17, MAKELIST+22, MAKELIST+27, MAKELIST+50, IMAGELOC+14, IMAGELOC+19, IMAGELOC+26
ADDROOM^MAGDRPCB ADDROOM+2
IMAGELOC^MAGDRPCB XMREGSTR+14
$$OUTSEP^MAGVIM01 ZRUSEPIN+1
$$STATSEP^MAGVIM01 ZRUSEPIN+2
ALERT^MAGVIMRA XMCOMPLT+79
COMPLETE^RAMAGRP1 XMCOMPLT+55, XMCOMPLT+61
ORDER^RAMAGRP1 XMORDER+26
REGISTER^RAMAGRP1 XMREGSTR+33
EXAMINED^RAMAGRP2 XMEXAMIN+45, XMEXAMIN+51
EXMSTREQ^RAMAGRP2 MAKELIST+3
$$HL7TFM^XLFDT XMORDER+9
$$NOW^XLFDT MAKELIST+7
$$IEN^XUAF4 XMCOMPLT+27, XMEXAMIN+26

Used in RPC

RPC Name Call Tags
MAGV RAD EXAM ORDER XMORDER
MAGV RAD EXAM REGISTER XMREGSTR
MAGV RAD STAT COMPLETE XMCOMPLT
MAGV RAD STAT EXAMINED XMEXAMIN

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MAG(2006.1 - [#2006.1] GET1^DIQ
^MAGD(2006.5759 - [#2006.5759] GET1^DIQ
^DIC(4 - [#4] GET1^DIQ
^RAMIS(71 - [#71] GET1^DIQ
^RA(79.1 - [#79.1] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2006.1 - [#2006.1] XMCOMPLT+24, XMCOMPLT+28, XMEXAMIN+23, XMEXAMIN+27, XMORDER+6
^MAGD(2006.5759 - [#2006.5759] IMAGELOC+22
^RA(74.1 - [#74.1] STNDRPRT+5, STNDRPRT+7
^RAO(75.1 - [#75.1] XMORDER+19, XMREGSTR+6

Label References

Name Line Occurrences
$$MAKELIST XMCOMPLT+37, XMEXAMIN+37
ADDROOM XMCOMPLT+58, XMEXAMIN+48
IMAGELOC XMREGSTR+9, XMREGSTR+21
OUTPUT XMCOMPLT+43, XMCOMPLT+49, XMCOMPLT+53, XMEXAMIN+43, MAKELIST+64, MAKELIST+65, STNDRPRT+7
STNDRPRT MAKELIST+41, MAKELIST+60
ZRUSEPIN XMCOMPLT+4, XMEXAMIN+4, XMORDER+3, XMREGSTR+3, IMAGELOC+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY OUTPUT~
ARRAY( OUTPUT+3*
ARRAY("" OUTPUT+2
CT XMCOMPLT+48~*, XMCOMPLT+49*, STNDRPRT+4~, STNDRPRT+5*, STNDRPRT+7
DFN XMORDER~, XMORDER+19, XMORDER+26
DIVISION IMAGELOC~, IMAGELOC+9*, IMAGELOC+10, IMAGELOC+11, IMAGELOC+19, IMAGELOC+20, IMAGELOC+22, IMAGELOC+24
DUZ(2 XMCOMPLT+24, XMEXAMIN+23, XMREGSTR+9, XMREGSTR+21
EXMDTE XMREGSTR~, XMREGSTR+33
FMDAY XMORDER+3~, XMORDER+9*, XMORDER+10, XMORDER+14
I XMORDER+3~, XMORDER+19*, OUTPUT+1~, OUTPUT+2*, OUTPUT+3
IEN IMAGELOC+2~, IMAGELOC+22*, IMAGELOC+23, IMAGELOC+26
IENINST XMCOMPLT+27~*, XMCOMPLT+28, XMEXAMIN+26~*, XMEXAMIN+27
IMAGETYPE IMAGELOC+2~, IMAGELOC+14*, IMAGELOC+15, IMAGELOC+22
IMAGLOC XMREGSTR+3~, XMREGSTR+26*, XMREGSTR+28
INDEX MAKELIST+62~, MAKELIST+63*, MAKELIST+64, MAKELIST+65
INDEX1 STNDRPRT~, STNDRPRT+7
INFO XMCOMPLT+57~, XMCOMPLT+58, XMCOMPLT+60, XMEXAMIN+47~, XMEXAMIN+48, XMEXAMIN+50, MAKELIST+2~, MAKELIST+3, ADDROOM~, ADDROOM+2
INFO(0 MAKELIST+4, MAKELIST+63
INFO(1 XMCOMPLT+60, XMEXAMIN+50, MAKELIST+4
LOCINFO XMREGSTR+8~, XMREGSTR+14, XMREGSTR+15
MAGERR XMCOMPLT+7~*, XMCOMPLT+9, XMCOMPLT+10*, XMCOMPLT+14, XMCOMPLT+29*, XMCOMPLT+32, XMCOMPLT+37*, XMCOMPLT+38, XMCOMPLT+39, XMEXAMIN+6~*
, XMEXAMIN+8, XMEXAMIN+9*, XMEXAMIN+13, XMEXAMIN+28*, XMEXAMIN+31, XMEXAMIN+37*, XMEXAMIN+38, XMEXAMIN+39
MAGSITEP XMCOMPLT+22~, XMCOMPLT+24*, XMCOMPLT+25, XMCOMPLT+28*, XMCOMPLT+37, XMEXAMIN+21~, XMEXAMIN+23*, XMEXAMIN+24, XMEXAMIN+27*, XMEXAMIN+37
, MAKELIST~, MAKELIST+17, MAKELIST+22, MAKELIST+27, MAKELIST+50
MAGVUSR XMCOMPLT~, XMCOMPLT+37, XMEXAMIN~, XMEXAMIN+37, MAKELIST~, MAKELIST+11
MAGVUSRDV XMCOMPLT~, XMCOMPLT+24*, XMCOMPLT+27, XMCOMPLT+29, XMEXAMIN~, XMEXAMIN+23*, XMEXAMIN+26, XMEXAMIN+28
MAXORDER XMORDER+3~, XMORDER+6*, XMORDER+7*, XMORDER+19
MISC XMORDER~, XMORDER+26
MSG XMCOMPLT+4~, XMCOMPLT+29*, XMCOMPLT+33, XMEXAMIN+4~, XMEXAMIN+28*, XMEXAMIN+32
ORDINFO XMORDER+26, XMORDER+29!, XMORDER+38!
ORDINFO( XMORDER+32, XMORDER+34
ORDINFO("A" XMORDER+31
ORDINFO(0 XMORDER+29, XMORDER+37
PARAM XMCOMPLT+7~, XMCOMPLT+9*, XMCOMPLT+10, XMCOMPLT+15, XMEXAMIN+6~, XMEXAMIN+8*, XMEXAMIN+9, XMEXAMIN+14
PREFIX STNDRPRT+2~*, STNDRPRT+7
PROC1 XMORDER+3~, XMORDER+15*, XMORDER+19
PROCIEN XMREGSTR+8~*, XMREGSTR+9, XMREGSTR+19!, XMREGSTR+20*, XMREGSTR+21, IMAGELOC~, IMAGELOC+4*, IMAGELOC+5, IMAGELOC+6, IMAGELOC+14
, IMAGELOC+16, IMAGELOC+24
RACAT XMORDER~, XMORDER+26
RACTION MAKELIST~, MAKELIST+3
RADFN XMEXAMIN~, XMEXAMIN+18
RADPROC XMORDER~, XMORDER+15, XMORDER+26
RADPT XMCOMPLT~, XMCOMPLT+19, XMCOMPLT+79
RADPVAL MAKELIST+9~, MAKELIST+17*, MAKELIST+18, MAKELIST+22*, MAKELIST+23, MAKELIST+27*, MAKELIST+28, MAKELIST+50*, MAKELIST+51
RADXPRIM XMCOMPLT~, XMCOMPLT+43, MAKELIST+21
RADXSCND XMCOMPLT~
RADXSCND( XMCOMPLT+49
RADXSCND(0 XMCOMPLT+46
RAEXAM XMCOMPLT+19*, XMCOMPLT+55, XMCOMPLT+58, XMCOMPLT+61, XMEXAMIN+18~*, XMEXAMIN+45, XMEXAMIN+48, XMEXAMIN+51, ADDROOM~, ADDROOM+2
RAEXAM1 XMCOMPLT~, XMCOMPLT+19, XMCOMPLT+79, XMEXAMIN~, XMEXAMIN+18
RAEXAM2 XMCOMPLT~, XMCOMPLT+19, XMCOMPLT+79, XMEXAMIN~, XMEXAMIN+18
RAIMGTYP XMCOMPLT~, XMCOMPLT+37, XMEXAMIN~, XMEXAMIN+37, MAKELIST~, MAKELIST+3
RAMLC XMORDER~, XMORDER+26, XMREGSTR+8~, XMREGSTR+9, XMREGSTR+10, XMREGSTR+12*, XMREGSTR+14, XMREGSTR+19!, XMREGSTR+21, XMREGSTR+22
, XMREGSTR+24*, XMREGSTR+26
RAMSC XMCOMPLT+37, XMCOMPLT+43, XMCOMPLT+49, XMCOMPLT+53, XMCOMPLT+55, XMCOMPLT+61, XMEXAMIN+37, XMEXAMIN+43, XMEXAMIN+45, XMEXAMIN+51
, XMREGSTR~, XMREGSTR+27!, XMREGSTR+33, MAKELIST~, MAKELIST+64, MAKELIST+65, STNDRPRT+7
RAMSC(1 XMREGSTR+28*
RAMSC(2 XMREGSTR+29*
RAOIEN XMORDER+3~, XMORDER+17*, XMORDER+19*, XMORDER+20, XMORDER+22
RAOIFN XMREGSTR~, XMREGSTR+6, XMREGSTR+14, XMREGSTR+33
RARESULT XMCOMPLT+4~, XMCOMPLT+55, XMCOMPLT+59!, XMCOMPLT+60*, XMCOMPLT+61, XMEXAMIN+4~, XMEXAMIN+45, XMEXAMIN+49!, XMEXAMIN+50*, XMEXAMIN+51
, XMREGSTR+33
RARESULT( XMCOMPLT+69, XMCOMPLT+70, XMCOMPLT+75, XMCOMPLT+76, XMEXAMIN+59, XMEXAMIN+60, XMEXAMIN+65, XMEXAMIN+66, XMREGSTR+38, XMREGSTR+40
, XMREGSTR+44, XMREGSTR+46
RARESULT("A" XMCOMPLT+67, XMEXAMIN+57, XMREGSTR+37
RARESULT(0 XMCOMPLT+65, XMCOMPLT+73, XMEXAMIN+55, XMEXAMIN+63, XMREGSTR+35, XMREGSTR+43
RARESULT(1 XMCOMPLT+56, XMEXAMIN+46
RASTDRPT XMCOMPLT~, MAKELIST+37, MAKELIST+41, MAKELIST+56, MAKELIST+60, STNDRPRT~, STNDRPRT+5, STNDRPRT+7
REASON XMORDER~, XMORDER+26
REQ MAKELIST+9~
REQ( MAKELIST+64, MAKELIST+65
REQ(1 MAKELIST+11*
REQ(11 MAKELIST+36*, MAKELIST+38*
REQ(12 MAKELIST+44*, MAKELIST+45*
REQ(14 MAKELIST+51*
REQ(16 MAKELIST+57*
REQ(4 MAKELIST+18*
REQ(5 MAKELIST+23*
REQ(6 MAKELIST+28*
REQLOC XMORDER~, XMORDER+26
REQPHYS XMORDER~, XMORDER+26
RESULT IMAGELOC~, IMAGELOC+3!, IMAGELOC+6*, IMAGELOC+11*, IMAGELOC+16*, IMAGELOC+20*, IMAGELOC+24*, IMAGELOC+26*
RETURN XMCOMPLT~, XMCOMPLT+3!, XMEXAMIN~, XMEXAMIN+3!, XMORDER~, XMORDER+2!, XMREGSTR~, XMREGSTR+2!
RETURN( XMCOMPLT+70*, XMCOMPLT+76*, XMEXAMIN+60*, XMEXAMIN+66*, XMORDER+34*, XMREGSTR+40*, XMREGSTR+46*
RETURN(0 XMCOMPLT+15*, XMCOMPLT+33*, XMCOMPLT+39*, XMCOMPLT+67*, XMCOMPLT+73*, XMEXAMIN+14*, XMEXAMIN+32*, XMEXAMIN+39*, XMEXAMIN+57*, XMEXAMIN+63*
, XMORDER+11*, XMORDER+21*, XMORDER+31*, XMORDER+37*, XMREGSTR+10*, XMREGSTR+11, XMREGSTR+15*, XMREGSTR+22*, XMREGSTR+23, XMREGSTR+31
, XMREGSTR+37*, XMREGSTR+43*
RETURN(1 XMORDER+12*, XMORDER+22*
REVERSEDAY XMORDER+3~, XMORDER+14*, XMORDER+19
RODATA XMREGSTR+6~*, XMREGSTR+7, XMREGSTR+8, XMREGSTR+20
RPTXT STNDRPRT+6~, STNDRPRT+7*
SEPOUTP XMCOMPLT+4~, XMCOMPLT+76, XMEXAMIN+4~, XMEXAMIN+66, XMORDER+3~, XMREGSTR+3~, XMREGSTR+46, ZRUSEPIN+1*, IMAGELOC+2~
SEPSTAT XMCOMPLT+4~, XMCOMPLT+15, XMCOMPLT+33, XMCOMPLT+39, XMCOMPLT+67, XMCOMPLT+70, XMCOMPLT+73, XMEXAMIN+4~, XMEXAMIN+14, XMEXAMIN+32
, XMEXAMIN+39, XMEXAMIN+57, XMEXAMIN+60, XMEXAMIN+63, XMORDER+3~, XMORDER+11, XMORDER+12, XMORDER+21, XMORDER+22, XMORDER+31
, XMORDER+34, XMREGSTR+3~, XMREGSTR+10, XMREGSTR+12, XMREGSTR+22, XMREGSTR+24, XMREGSTR+37, XMREGSTR+40, XMREGSTR+43, ZRUSEPIN+2*
, IMAGELOC+2~, IMAGELOC+6, IMAGELOC+11, IMAGELOC+16, IMAGELOC+20, IMAGELOC+24, IMAGELOC+26
SSCR STNDRPRT~, STNDRPRT+2, STNDRPRT+5, STNDRPRT+7
STUDYDAT XMORDER~, XMORDER+9, XMORDER+12, XMORDER+26
TEXT OUTPUT~, OUTPUT+3
TODAYHL7 MAKELIST+6~, MAKELIST+7*, MAKELIST+36, MAKELIST+44
U XMCOMPLT+19, XMCOMPLT+39, XMCOMPLT+49, XMCOMPLT+70, XMCOMPLT+76, XMEXAMIN+18, XMEXAMIN+39, XMEXAMIN+60, XMEXAMIN+66, XMORDER+6
, XMORDER+15, XMORDER+34, XMREGSTR+7, XMREGSTR+8, XMREGSTR+20, XMREGSTR+40, XMREGSTR+46, MAKELIST+18, STNDRPRT+7
X XMCOMPLT+68~*, XMCOMPLT+69*, XMCOMPLT+70, XMCOMPLT+74~*, XMCOMPLT+75*, XMCOMPLT+76, XMEXAMIN+58~*, XMEXAMIN+59*, XMEXAMIN+60, XMEXAMIN+64~*
, XMEXAMIN+65*, XMEXAMIN+66, XMORDER+32~*, XMORDER+34, XMREGSTR+38~*, XMREGSTR+40, XMREGSTR+44~*, XMREGSTR+46
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