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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: MAGNVQ01

Package: Imaging

Routine: MAGNVQ01


Information

MAGNVQ01 ;WOIFO/NST - Retrieve study ; 11 Oct 2017 3:59 PM

Source Information

Source file <MAGNVQ01.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Imaging 5 ($$ACNRAD,$$ACNTIU,$$CPRSCTX,REFBYACN)^MAGNU003  $$DTE^MAGSIXG3  ($$GETVAL,$$ISOK)^MAGVAF02  GETAIENT^MAGVAG02  GETAINST^MAGVAG04  
Kernel 1 $$FMTE^XLFDT  
Master Patient Index VistA 1 ($$GETICN,GETICN)^MPIF001  
VA FileMan 1 ($$GET1,GETS)^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Imaging 2 MAGNVQ04  MAGNVQ06  

Entry Points

Name Comments DBIA/ICR reference
GETSTUDY(MAGOUT,IARRAY,REFTYPE,REFIEN,CONTEXT)
AIMAGE(SOPIX,IMAGE) ; Append Image section
ASTUDY(STYIX,REFTYPE,REFIEN,CONTEXT) ; Append Study section
ASOP(SOPIX,FIMAGE) ; Append SOP section
STUDYUID(REFTYPE,REFIEN,CONTEXT) ; Get Study UID by readiology report or TIU note
STDINFO(MAGOUTST,IENSSTD) ; Return study info section
GSTUDY(MAGOUT,REFTYPE,REFIEN,CONTEXT,IMGLESS)
DTE(DTI) ;
IMGINFO(MAGOUTSO,IENSSOP,FIMAGE)
IMGBYSTD(MAGOUT,STUDYUID,REFTYPE,REFIEN,CONTEXT,IMGLESS) ; Get a Study images
STUDYIEN(MAGOUTST,IENSSTD) ; Return study IEN section
AINST(TOKEN)
WRTOUT(S) ; Write a new line
ASERIES(SERIX) ; Append Series section

External References

Name Field # of Occurrence
$$GET1^DIQ STUDYUID+8, IMGINFO+31, AINST+18, AINST+22, AINST+25
GETS^DIQ ASTUDY+5, STDINFO+7, ASERIES+4, ASOP+4, AIMAGE+5
$$ACNRAD^MAGNU003 STUDYUID+3
$$ACNTIU^MAGNU003 STUDYUID+4
$$CPRSCTX^MAGNU003 ASTUDY+10
REFBYACN^MAGNU003 ASTUDY+9
$$DTE^MAGSIXG3 STDINFO+9, STDINFO+13
$$GETVAL^MAGVAF02 AINST+4
$$ISOK^MAGVAF02 AINST+3, AINST+6
GETAIENT^MAGVAG02 AINST+2
GETAINST^MAGVAG04 AINST+5
$$GETICN^MPIF001 ASTUDY+20
GETICN^MPIF001 ASTUDY+20
$$FMTE^XLFDT DTE+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MAG(2005.2 - [#2005.2] GET1^DIQ
^MAGV(2005.62 - [#2005.62] GET1^DIQ
^MAGV(2005.65 - [#2005.65] GET1^DIQ
^MAGV(2006.916 - [#2006.916] GET1^DIQ
^MAGV(2006.917 - [#2006.917] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] ASTUDY+20
^MAGV(2005.6 - [#2005.6] IMGBYSTD+8
^MAGV(2005.61 - [#2005.61] IMGBYSTD+7
^MAGV(2005.62 - [#2005.62] IMGBYSTD+5, IMGBYSTD+6, STUDYUID+7
^MAGV(2005.63 - [#2005.63] IMGBYSTD+13
^MAGV(2005.64 - [#2005.64] IMGBYSTD+17
^MAGV(2005.65 - [#2005.65] IMGBYSTD+19, IMGBYSTD+20
^TMP("MAGNVQ01" GETSTUDY+5!, GETSTUDY+6*, GETSTUDY+29, GETSTUDY+31, WRTOUT+2, WRTOUT+3*, WRTOUT+4*

Label References

Name Line Occurrences
$$DTE IMGINFO+25
$$IMGINFO ASOP+9
$$STDINFO ASTUDY+17
$$STUDYIEN ASTUDY+16
$$STUDYUID GSTUDY+8
AIMAGE GETSTUDY+20
AINST AIMAGE+7
ASERIES GETSTUDY+13
ASOP GETSTUDY+17
ASTUDY GETSTUDY+10
GETSTUDY IMGBYSTD+28
IMGBYSTD GSTUDY+10
WRTOUT ASTUDY+14, ASTUDY+15, ASTUDY+16, ASTUDY+17, ASTUDY+20, ASTUDY+22, ASERIES+6, ASERIES+7, ASERIES+8, ASERIES+9
, ASERIES+10, ASERIES+11, ASERIES+12, ASERIES+13, ASOP+5, ASOP+6, ASOP+7, ASOP+8, ASOP+9, AINST+10
, AINST+15, AINST+19, AINST+22, AINST+25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACN STUDYUID+1~, STUDYUID+3*, STUDYUID+4*, STUDYUID+5, STUDYUID+7
ACNUMB ASTUDY+7~, ASTUDY+8*, ASTUDY+9
ACTVIMG IMGBYSTD+14~, IMGBYSTD+15*, IMGBYSTD+17, IMGBYSTD+21*
CNT WRTOUT+1~, WRTOUT+2*, WRTOUT+3, WRTOUT+4
CONTEXT GSTUDY~, GSTUDY+8, GSTUDY+10, IMGBYSTD~, IMGBYSTD+28, GETSTUDY~, GETSTUDY+10, STUDYUID~, STUDYUID+3, ASTUDY~
, ASTUDY+10*, ASTUDY+17
DTI DTE~, DTE+1
FILEIMG ASOP+1~, AIMAGE+1~, AIMAGE+3*, AIMAGE+5, AIMAGE+7
FILEPRC STDINFO+1~, STDINFO+4*, STDINFO+7, STDINFO+9, STDINFO+11
FILESER ASERIES+1~, ASERIES+2*, ASERIES+4, ASERIES+7, ASERIES+9, ASERIES+10, ASERIES+11, ASERIES+12, ASERIES+13
FILESOP ASOP+1~, ASOP+2*, ASOP+4, ASOP+7, ASOP+8, IMGINFO+1~, IMGINFO+2*, IMGINFO+9, IMGINFO+25
FILESTD ASTUDY+1~, ASTUDY+3*, ASTUDY+5, ASTUDY+8, ASTUDY+13, ASTUDY+19, ASTUDY+22, STUDYIEN+1~, STUDYIEN+2*, STUDYIEN+4
, STDINFO+1~, STDINFO+3*, STDINFO+5, STDINFO+10, STDINFO+12, STDINFO+13, STDINFO+14
FIMAGE ASOP~, ASOP+9, IMGINFO~, IMGINFO+31
I GETSTUDY+1~, GETSTUDY+27*, GETSTUDY+29*, GETSTUDY+31, ASOP+1~, AINST+1~, AINST+8*, AINST+9*, AINST+12, AINST+13
IARRAY IMGBYSTD+1~, IMGBYSTD+28, GETSTUDY~, GETSTUDY+3
IARRAY( IMGBYSTD+21*, GETSTUDY+9, GETSTUDY+12, GETSTUDY+15, GETSTUDY+16, GETSTUDY+19
IEN AINST+1~, AINST+4*, AINST+5
IENSIMG ASOP+1~, AIMAGE+1~, AIMAGE+4*, AIMAGE+7
IENSPRC STDINFO+1~, STDINFO+6*, STDINFO+9, STDINFO+11
IENSSER ASERIES+1~, ASERIES+3*, ASERIES+7, ASERIES+9, ASERIES+10, ASERIES+11, ASERIES+12, ASERIES+13
IENSSOP ASOP+1~, ASOP+3*, ASOP+7, ASOP+8, ASOP+9, IMGINFO~, IMGINFO+4, IMGINFO+9, IMGINFO+25
IENSSTD ASTUDY+1~, ASTUDY+4*, ASTUDY+8, ASTUDY+13, ASTUDY+16, ASTUDY+17, ASTUDY+19, ASTUDY+22, STUDYIEN~, STUDYIEN+3
, STUDYIEN+4, STDINFO~, STDINFO+5, STDINFO+10, STDINFO+12, STDINFO+13, STDINFO+14
IMAGE IMGBYSTD+1~, IMGBYSTD+18*, IMGBYSTD+19*, IMGBYSTD+20, IMGBYSTD+21, GETSTUDY+1~, GETSTUDY+16*, GETSTUDY+17, GETSTUDY+18*, GETSTUDY+19*
, GETSTUDY+20, AIMAGE~, AIMAGE+4, AIMAGE+5
IMGLESS GSTUDY~, GSTUDY+10, IMGBYSTD~, IMGBYSTD+17
INFO ASTUDY+1~, STUDYIEN+1~, STUDYIEN+3*, STUDYIEN+4*, STUDYIEN+5, STDINFO+1~, STDINFO+9*, STDINFO+10*, STDINFO+11*, STDINFO+12*
, STDINFO+13*, STDINFO+14*, STDINFO+15, IMGINFO+1~, IMGINFO+4*, IMGINFO+5*, IMGINFO+6*, IMGINFO+7*, IMGINFO+8*, IMGINFO+9*
, IMGINFO+10*, IMGINFO+11*, IMGINFO+12*, IMGINFO+13*, IMGINFO+14*, IMGINFO+15*, IMGINFO+16*, IMGINFO+17*, IMGINFO+18*, IMGINFO+19*
, IMGINFO+20*, IMGINFO+21*, IMGINFO+22*, IMGINFO+23*, IMGINFO+24*, IMGINFO+25*, IMGINFO+26*, IMGINFO+27*, IMGINFO+28*, IMGINFO+29*
, IMGINFO+30*, IMGINFO+31*, IMGINFO+32*, IMGINFO+33*, IMGINFO+34*, IMGINFO+35*, IMGINFO+36*, IMGINFO+37*, IMGINFO+38*, IMGINFO+39
KEY AINST+1~, AINST+12*, AINST+15, AINST+16, AINST+21, AINST+24
LINE AINST+1~, AINST+9*, AINST+10, AINST+11
LOCATION AINST+17~, AINST+18*, AINST+19
MAGDFN ASTUDY+1~, ASTUDY+19*, ASTUDY+20
MAGERR ASTUDY+1~, STDINFO+1~, ASERIES+1~, ASOP+1~, AIMAGE+1~
MAGNCNT GETSTUDY+1~, GETSTUDY+28*, GETSTUDY+30*, GETSTUDY+31, GETSTUDY+33
MAGOUT GSTUDY~, GSTUDY+10, IMGBYSTD~, IMGBYSTD+26, IMGBYSTD+28, GETSTUDY~, GETSTUDY+28, GETSTUDY+31, GETSTUDY+33
MAGOUTIM ASOP+1~, AIMAGE+1~
MAGOUTIM( AIMAGE+7
MAGOUTPR ASTUDY+1~, STDINFO+1~
MAGOUTPR( STDINFO+9, STDINFO+11
MAGOUTSO ASOP+1~, ASOP+9, IMGINFO~
MAGOUTSO( ASOP+7, ASOP+8, IMGINFO+9, IMGINFO+25
MAGOUTSR ASERIES+1~
MAGOUTSR( ASERIES+7, ASERIES+9, ASERIES+10, ASERIES+11, ASERIES+12, ASERIES+13
MAGOUTST ASTUDY+1~, ASTUDY+16, ASTUDY+17, STUDYIEN~, STDINFO~
MAGOUTST( ASTUDY+8, ASTUDY+13, ASTUDY+19, ASTUDY+22, STUDYIEN+4, STDINFO+5, STDINFO+10, STDINFO+12, STDINFO+13, STDINFO+14
PAT IMGBYSTD+1~, IMGBYSTD+3*, IMGBYSTD+5, IMGBYSTD+9*, IMGBYSTD+10*, IMGBYSTD+26
PAT0 IMGBYSTD+1~, IMGBYSTD+9*, IMGBYSTD+10
PATDTA IMGBYSTD+1~, IMGBYSTD+8*, IMGBYSTD+9, IMGBYSTD+10
PATIX IMGBYSTD+1~, IMGBYSTD+7*, IMGBYSTD+8
PROCIX IMGBYSTD+1~, IMGBYSTD+6*, IMGBYSTD+7, ASTUDY+1~, STDINFO+1~, STDINFO+5*, STDINFO+6, STDINFO+7
QT AINST+1~, AINST+7*, AINST+13
REFIEN GSTUDY~, GSTUDY+8, GSTUDY+10, IMGBYSTD~, IMGBYSTD+28, GETSTUDY~, GETSTUDY+10, STUDYUID~, STUDYUID+3, STUDYUID+4
, ASTUDY~, ASTUDY+6, ASTUDY+9, ASTUDY+10, ASTUDY+17
REFTYPE GSTUDY~, GSTUDY+8, GSTUDY+10, IMGBYSTD~, IMGBYSTD+28, GETSTUDY~, GETSTUDY+10, STUDYUID~, STUDYUID+3, STUDYUID+4
, ASTUDY~, ASTUDY+9, ASTUDY+10, ASTUDY+17
RES AINST+1~, AINST+2, AINST+3, AINST+4
S WRTOUT~, WRTOUT+4
SERIX IMGBYSTD+1~, IMGBYSTD+12*, IMGBYSTD+13*, IMGBYSTD+17, IMGBYSTD+21, GETSTUDY+1~, GETSTUDY+11*, GETSTUDY+12*, GETSTUDY+13, GETSTUDY+15
, GETSTUDY+16, GETSTUDY+19, ASERIES~, ASERIES+3, ASERIES+4, ASERIES+8
SOPIX IMGBYSTD+1~, IMGBYSTD+16*, IMGBYSTD+17*, IMGBYSTD+19, IMGBYSTD+21, GETSTUDY+1~, GETSTUDY+14*, GETSTUDY+15*, GETSTUDY+16, GETSTUDY+17
, GETSTUDY+19, GETSTUDY+20, ASOP~, ASOP+3, ASOP+4, ASOP+6, AIMAGE~
STDIEN STUDYUID+1~, STUDYUID+7*, STUDYUID+8
STUDYUID GSTUDY+6~, GSTUDY+8*, GSTUDY+9, GSTUDY+10, IMGBYSTD~, IMGBYSTD+5
STYIX IMGBYSTD+1~, IMGBYSTD+4*, IMGBYSTD+5*, IMGBYSTD+6, IMGBYSTD+13, IMGBYSTD+21, GETSTUDY+1~, GETSTUDY+8*, GETSTUDY+9*, GETSTUDY+10
, GETSTUDY+12, GETSTUDY+15, GETSTUDY+16, GETSTUDY+19, ASTUDY~, ASTUDY+4, ASTUDY+5
TMPARR AINST+1~, AINST+5
TMPARR( AINST+9, AINST+12, AINST+13
TMPARR(0 AINST+6
TOKEN AINST~, AINST+2
U STDINFO+9, STDINFO+10, STDINFO+11, STDINFO+12, STDINFO+13, STDINFO+14, IMGINFO+4, IMGINFO+5, IMGINFO+6, IMGINFO+7
, IMGINFO+8, IMGINFO+9, IMGINFO+10, IMGINFO+11, IMGINFO+12, IMGINFO+13, IMGINFO+14, IMGINFO+15, IMGINFO+16, IMGINFO+17
, IMGINFO+18, IMGINFO+19, IMGINFO+20, IMGINFO+21, IMGINFO+22, IMGINFO+23, IMGINFO+24, IMGINFO+25, IMGINFO+26, IMGINFO+27
, IMGINFO+28, IMGINFO+29, IMGINFO+30, IMGINFO+31, IMGINFO+32, IMGINFO+33, IMGINFO+34, IMGINFO+35, IMGINFO+36, IMGINFO+37
, IMGINFO+38
UID ASTUDY+1~, ASTUDY+13*, ASTUDY+14, ASTUDY+15
VALUE AINST+1~, AINST+13*, AINST+14*, AINST+15, AINST+18, AINST+22, AINST+25

Marked Items

Name Field # of Occurrence
$T(GETICN^MPIF001 ASTUDY+20
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All