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

Package: Imaging

Routine: MAGNTRAI


Information

MAGNTRAI ;WOIFO/NST - List images for Reports ; 16 Jan 2018 3:59 PM

Source Information

Source file <MAGNTRAI.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Imaging 7 STUDY2^MAGDQR21  $$INFO^MAGGAII  $$NODE^MAGGI11  IMAGES^MAGGNTI  CHK^MAGGSQI  IMAGEL^MAGNVQ06  ($$DTE,$$RPTITLE)^MAGSIXG3  
VA FileMan 2 $$EXTERNAL^DILFD  $$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: 1

Package Total Caller Graph
Imaging 1 MAGN CPRS IMAGE LIST  

Entry Points

Name Comments DBIA/ICR reference
IMAGEL(MAGRY,DATA,IMGLESS) ;RPC [MAGN CPRS IMAGE LIST]
IMAGEC(MAGZRY,DATA,IMGLESS,RARPT) ;A copy from MAGGTRAI
; Call to list Images for a Rad Exam that was selected from CPRS
; and Imaging Window was notified via windows messaging
; INPUT : DATA is in format of Windows message received from CPRS
; example 'RPT^CPRS^29027^RA^i79029185.9998-1'
GETSTUDY(MAGZRY,RARPT,IMGLESS) ; Private call. From other points in this routine, when RARPT is defined
; RARPT -- Radiology report IEN
; and returns a list in MAGZRY(1..n).
; We'll make a tmp list of just the image IEN's
; splitting groups into individual image entries.
; If more than 1 Image group points to this report, we
; will prefix the Image Description with (G1), (G2) etc
; We call GROUP^MAGGTIG to get the images for the group, this call
; sorts the images in Dicom Series, Dicom Image number order.
APPENDRA(OUT,MAGNCNT,MAGNCXT,MAGZRY,RARPT)
INSFIMG(DATA,MAGNCNT,OUT) ; Append First Image Info I
APPEND2(OUT,MAGNCNT,MAGNCXT,MAGZRY,MAGNTIU)
STDINFO(IMGIEN) ; Get study info
; IMGIEN -- Image IEN

External References

Name Field # of Occurrence
$$EXTERNAL^DILFD STDINFO+34
$$GET1^DIQ STDINFO+36
STUDY2^MAGDQR21 GETSTUDY+37
$$INFO^MAGGAII INSFIMG+10
$$NODE^MAGGI11 STDINFO+8
IMAGES^MAGGNTI IMAGEL+31
CHK^MAGGSQI GETSTUDY+27
IMAGEL^MAGNVQ06 IMAGEL+10
$$DTE^MAGSIXG3 STDINFO+26, STDINFO+35
$$RPTITLE^MAGSIXG3 STDINFO+25

Used in RPC

RPC Name Call Tags
MAGN CPRS IMAGE LIST IMAGEL

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^MAG(2005 - [#2005] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2005 - [#2005] GETSTUDY+23, GETSTUDY+25
^MAG(2005.82 - [#2005.82] STDINFO+30
^MAG(2005.83 - [#2005.83] STDINFO+22, STDINFO+31
^MAG(2005.84 - [#2005.84] STDINFO+32
^MAG(2005.85 - [#2005.85] STDINFO+33
^RADPT - [#70] IMAGEC+16, IMAGEC+17
^RARPT - [#74] IMAGEC+20, GETSTUDY+13, GETSTUDY+20, GETSTUDY+21, GETSTUDY+23, GETSTUDY+32, GETSTUDY+33, GETSTUDY+36
^TMP("MAGGTRAI" IMAGEC+6
^TMP("MAGNTRAI" IMAGEL+16

Label References

Name Line Occurrences
$$STDINFO APPENDRA+25, APPEND2+22
APPEND2 IMAGEL+32
APPENDRA IMAGEL+26
GETSTUDY IMAGEC+21
IMAGEC IMAGEL+25
INSFIMG APPENDRA+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CAPTAPP STDINFO+5~, STDINFO+20*
CLASS STDINFO+5~, STDINFO+22*, STDINFO+30
CT GETSTUDY+12~, GETSTUDY+20*, GETSTUDY+30*, GETSTUDY+32*
DATA IMAGEL~, IMAGEL+10, IMAGEC~, IMAGEC+8, IMAGEC+9, IMAGEC+10, INSFIMG~, INSFIMG+2, INSFIMG+3
DATA( IMAGEL+7, IMAGEL+8, IMAGEL+21, IMAGEL+22
DFN IMAGEC+5~, IMAGEC+8*, IMAGEC+16, IMAGEC+17, IMAGEC+20
ENT IMAGEC+5~, IMAGEC+9*, IMAGEC+16, IMAGEC+17
EVT STDINFO+5~, STDINFO+16*, STDINFO+33
FLTX STDINFO+6~, STDINFO+24*, STDINFO+25*, STDINFO+26*, STDINFO+27*, STDINFO+28*, STDINFO+29*, STDINFO+30*, STDINFO+31*, STDINFO+32*
, STDINFO+33*, STDINFO+34*, STDINFO+35*, STDINFO+36*, STDINFO+37*, STDINFO+38
GROUPS GETSTUDY+10~, GETSTUDY+37
GROUPS( GETSTUDY+33*
I APPENDRA+8~, APPENDRA+18*, APPENDRA+19*, APPENDRA+21, APPENDRA+22, APPENDRA+24, APPENDRA+26, APPENDRA+28, APPEND2+8~, APPEND2+17*
, APPEND2+18*, APPEND2+19, APPEND2+20, APPEND2+23, APPEND2+24
IGCT GETSTUDY+12~, GETSTUDY+13*, GETSTUDY+15
IMGGRP INSFIMG+1~, INSFIMG+2*, INSFIMG+5, INSFIMG+9
IMGIEN APPENDRA+8~, APPENDRA+24*, APPENDRA+25, INSFIMG+1~, INSFIMG+3*, INSFIMG+8, INSFIMG+10, APPEND2+8~, APPEND2+19*, APPEND2+20*
, APPEND2+22, STDINFO~, STDINFO+8, STDINFO+37
IMGLESS IMAGEL~, IMAGEL+1*, IMAGEL+10, IMAGEL+15*, IMAGEL+25, IMAGEC~, IMAGEC+21, GETSTUDY~, GETSTUDY+37, APPENDRA+28
IMGNODE STDINFO+6~, STDINFO+8*, STDINFO+10, STDINFO+11, STDINFO+12
INVDT IMAGEC+5~, IMAGEC+11*, IMAGEC+13*, IMAGEC+14
INVDTTM IMAGEC+5~, IMAGEC+10*, IMAGEC+11, IMAGEC+12, IMAGEC+14*, IMAGEC+16, IMAGEC+17
INVTM IMAGEC+5~, IMAGEC+12*, IMAGEC+14
MAGIEN1 GETSTUDY+12~, GETSTUDY+21*, GETSTUDY+23, GETSTUDY+25, GETSTUDY+27, GETSTUDY+33*
MAGNCNT IMAGEL+12~, IMAGEL+19*, IMAGEL+26, IMAGEL+32, IMAGEL+34*, IMAGEL+35, APPENDRA~, APPENDRA+11*, APPENDRA+12, APPENDRA+15
, APPENDRA+16*, APPENDRA+20*, APPENDRA+21, APPENDRA+23*, APPENDRA+25, APPENDRA+28, APPENDRA+30, INSFIMG~, INSFIMG+4*, INSFIMG+5*
, INSFIMG+6*, INSFIMG+7*, INSFIMG+8*, INSFIMG+9*, INSFIMG+10*, APPEND2~, APPEND2+11*, APPEND2+12, APPEND2+15*, APPEND2+16
, APPEND2+21*, APPEND2+24
MAGNCNTN APPENDRA+8~, APPENDRA+15*, APPENDRA+30
MAGNCXT IMAGEL+12~, IMAGEL+22*, IMAGEL+23, IMAGEL+25, IMAGEL+26, IMAGEL+29, IMAGEL+32, IMAGEL+35, APPENDRA~, APPENDRA+12
, APPENDRA+30, APPEND2~, APPEND2+12, APPEND2+16
MAGNI IMAGEL+12~, IMAGEL+20*, IMAGEL+21*, IMAGEL+22
MAGNII IMAGEL+3~, IMAGEL+5*, IMAGEL+7*, IMAGEL+8
MAGNTIU IMAGEL+12~, IMAGEL+29*, IMAGEL+31, IMAGEL+32, APPEND2~, APPEND2+24
MAGNX IMAGEL+12~, IMAGEL+23*, IMAGEL+24, IMAGEL+28
MAGQI GETSTUDY+12~, GETSTUDY+19*, GETSTUDY+20, GETSTUDY+23*, GETSTUDY+25*, GETSTUDY+27*, GETSTUDY+29
MAGRY IMAGEL~, IMAGEL+10, IMAGEL+16*, IMAGEL+17, IMAGEL+18, IMAGEL+26, IMAGEL+32, IMAGEL+35, IMAGEL+37
MAGSTUDY APPENDRA+8~, APPENDRA+26*, APPENDRA+28
MAGVER IMAGEL+3~, IMAGEL+4*, IMAGEL+7, IMAGEL+8*, IMAGEL+10
MAGX GETSTUDY+12~, GETSTUDY+27
MAGX(0 GETSTUDY+27
MAGZRY IMAGEL+13~, IMAGEL+25, IMAGEL+26, IMAGEL+30!, IMAGEL+31, IMAGEL+32, IMAGEC~, IMAGEC+6*, IMAGEC+7, IMAGEC+16
, IMAGEC+18, IMAGEC+20, IMAGEC+21, GETSTUDY~, GETSTUDY+15, GETSTUDY+29, GETSTUDY+39*, GETSTUDY+40, APPENDRA~, APPENDRA+9
, APPENDRA+10, APPENDRA+12, APPENDRA+19, APPENDRA+21, APPENDRA+22, APPENDRA+24, APPENDRA+26, APPENDRA+28, APPEND2~
MAGZRY( APPEND2+18, APPEND2+19, APPEND2+20, APPEND2+23, APPEND2+24
MAGZRY(0 APPEND2+9*, APPEND2+10, APPEND2+12, APPEND2+16
OI GETSTUDY+12~, GETSTUDY+20*, GETSTUDY+21, GETSTUDY+32*, GETSTUDY+33
ORIG STDINFO+5~, STDINFO+18*, STDINFO+19*, STDINFO+34
OUT GETSTUDY+10~, GETSTUDY+37, GETSTUDY+39, APPENDRA~, APPENDRA+12, APPENDRA+21, APPENDRA+25, APPENDRA+28, APPENDRA+30, INSFIMG~
, INSFIMG+4, INSFIMG+5, INSFIMG+6, INSFIMG+7, INSFIMG+8, INSFIMG+9, INSFIMG+10, APPEND2~, APPEND2+12, APPEND2+16
, APPEND2+24
PKG STDINFO+5~, STDINFO+14*, STDINFO+29
RARPT IMAGEL+12~, IMAGEL+25, IMAGEL+26, IMAGEC~, IMAGEC+15*, IMAGEC+17*, IMAGEC+18, IMAGEC+20, IMAGEC+21, GETSTUDY~
, GETSTUDY+13, GETSTUDY+20, GETSTUDY+21, GETSTUDY+23, GETSTUDY+25, GETSTUDY+32, GETSTUDY+33, GETSTUDY+36, APPENDRA~, APPENDRA+25
REQDFN GETSTUDY+10~, GETSTUDY+36*, GETSTUDY+37
SPEC STDINFO+5~, STDINFO+17*, STDINFO+32
STDINFO APPEND2+8~, APPEND2+22*, APPEND2+23*, APPEND2+24
TYPE STDINFO+5~, STDINFO+15*, STDINFO+22, STDINFO+31
U IMAGEC+8, IMAGEC+9, IMAGEC+10, IMAGEC+17, IMAGEC+20, GETSTUDY+13, GETSTUDY+21, GETSTUDY+23, GETSTUDY+25, GETSTUDY+27
, GETSTUDY+33, GETSTUDY+36, STDINFO+14, STDINFO+15, STDINFO+16, STDINFO+17, STDINFO+18, STDINFO+20, STDINFO+22, STDINFO+25
, STDINFO+26, STDINFO+27, STDINFO+28, STDINFO+29, STDINFO+30, STDINFO+31, STDINFO+32, STDINFO+33, STDINFO+34, STDINFO+35
, STDINFO+36, STDINFO+37
X0 STDINFO+4~, STDINFO+10*, STDINFO+27
X2 STDINFO+4~, STDINFO+11*, STDINFO+20, STDINFO+25, STDINFO+26, STDINFO+28, STDINFO+35, STDINFO+36
X40 STDINFO+4~, STDINFO+12*, STDINFO+14, STDINFO+15, STDINFO+16, STDINFO+17, STDINFO+18
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