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

Package: Imaging

Routine: MAGNU003


Information

MAGNU003 ;WOIFO/NST - Misc fuctions for image list ; 16 Jan 2018 3:42 AM

Source Information

Source file <MAGNU003.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Imaging 4 ($$GMRCACN,$$STATNUMB)^MAGDFCNV  $$INFO^MAGGAII  $$NODE^MAGGI11  ($$DTE,$$RPTITLE)^MAGSIXG3  
Text Integration Utility 2 GETDOCS^TIUSRVLR  GET1405^TIUSRVR  
VA FileMan 2 $$EXTERNAL^DILFD  $$GET1^DIQ  
Radiology Nuclear Medicine 1 ($$ACCNUM,ACCFIND)^RAAPI  

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

Package Total Caller Graph
Imaging 5 MAGNUTL2  MAGNVQ01  MAGNVQ04  MAGNVQ06  MAGNWRK1  

Entry Points

Name Comments DBIA/ICR reference
STDINFO(IMGIEN,REFTYPE,REFIEN,MAGNCXT) ; Get study info by image IEN in file #2005 or #2005.1
; IMGIEN -- Image IEN
; REFTYPE = "RAD", "TIU"
; REFIEN = IEN in respective file of REFTYPE
; MAGNCXT = CPRS Context ID
INSFIMG(DATA,MAGNCNT,OUT) ; Append First Image Info from 2005 image structure
ACCNUM(REFTYPE,REFIEN,MAGNCXT)
ACNRAD(RARPT,MAGNCXT) ; Get Accession number by RAD report IEN
ACNTIU(MAGTIUDA) ; Get Accession number by TIU Note IEN
CPRSCTX(REFTYPE,REFIEN)
REFBYACN(REFTYPE,REFIEN,ACNUMB) ; Get report by accession number
GMRCIEN(ACNUMB) ; return the GMRC IEN, given a consult/procedure accession number
; ACNUMB is the accession number for a consult/procedure request
; OLD Format: GMRC-<gmrcien>, where <gmrcien>is the internal entry number of the request
; New Format: <sss>-GMR-<gmrcien>, where <sss> is station number, and <gmrcien>
; is the internal entry number of the request, up to 8 digits (100 million)
RACPRS(REFIEN) ; Return Radiology CRPS context by Report IEN in file #74
; REFIEN - Radiology report IEN in file #74
TIUCPRS(REFIEN) ; Return TIU CRPS context by TIU note IEN in file #8925
; REFIEN - TIU note IEN in file #8925

External References

Name Field # of Occurrence
$$EXTERNAL^DILFD STDINFO+37
$$GET1^DIQ STDINFO+39, REFBYACN+7, RACPRS+4, RACPRS+5, RACPRS+6, RACPRS+8, TIUCPRS+4
$$GMRCACN^MAGDFCNV ACNTIU+6
$$STATNUMB^MAGDFCNV GMRCIEN+8
$$INFO^MAGGAII INSFIMG+10
$$NODE^MAGGI11 STDINFO+11
$$DTE^MAGSIXG3 STDINFO+29, STDINFO+38
$$RPTITLE^MAGSIXG3 STDINFO+28
$$ACCNUM^RAAPI ACNRAD+16
ACCFIND^RAAPI REFBYACN+11
GETDOCS^TIUSRVLR REFBYACN+24
GET1405^TIUSRVR ACNTIU+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^MAG(2005 - [#2005] EXTERNAL^DILFD
^MAGV(2005.62 - [#2005.62] GET1^DIQ
^RARPT - [#74] GET1^DIQ
^TIU(8925 - [#8925] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2005.82 - [#2005.82] STDINFO+33
^MAG(2005.83 - [#2005.83] STDINFO+25, STDINFO+34
^MAG(2005.84 - [#2005.84] STDINFO+35
^MAG(2005.85 - [#2005.85] STDINFO+36
^MAGV(2005.62 - [#2005.62] REFBYACN+5
^RADPT - [#70] REFBYACN+17
^RADPT("ADC" RACPRS+10
^RADPT("ADC1" RACPRS+9
^RARPT - [#74] ACNRAD+3

Label References

Name Line Occurrences
$$ACCNUM STDINFO+41
$$ACNRAD ACCNUM+2
$$ACNTIU ACCNUM+1
$$CPRSCTX STDINFO+42
$$GMRCIEN REFBYACN+22
$$RACPRS CPRSCTX+10
$$TIUCPRS CPRSCTX+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACN ACNRAD+1~, ACNRAD+2, ACNRAD+3*, ACNRAD+16*, ACNRAD+17*, ACNRAD+18
ACNUMB REFBYACN~, REFBYACN+4, REFBYACN+5, REFBYACN+11, REFBYACN+22, GMRCIEN~, GMRCIEN+7, GMRCIEN+8
CAPTAPP STDINFO+8~, STDINFO+23*
CASE RACPRS+3~, RACPRS+8*, RACPRS+11
CLASS STDINFO+8~, STDINFO+25*, STDINFO+33
CONTEXT RACPRS+3~, RACPRS+11*, RACPRS+12, TIUCPRS+3~, TIUCPRS+5*, TIUCPRS+6
CTXID CPRSCTX+4~, CPRSCTX+5, CPRSCTX+6*, CPRSCTX+9, CPRSCTX+10*
DATA INSFIMG~, INSFIMG+2, INSFIMG+3
DATETIME RACPRS+3~, RACPRS+6*, RACPRS+7
DAYCASE RACPRS+3~, RACPRS+4*, RACPRS+9, RACPRS+10
DFN ACNRAD+1~, ACNRAD+9*, ACNRAD+16, REFBYACN+10~, REFBYACN+14*, REFBYACN+17, RACPRS+5*, RACPRS+9, RACPRS+10, RACPRS+11
, TIUCPRS+3~, TIUCPRS+4*, TIUCPRS+5
ENT ACNRAD+1~, ACNRAD+10*, ACNRAD+16, REFBYACN+10~, REFBYACN+16*, REFBYACN+17, RACPRS+3~, RACPRS+9*, RACPRS+10*, RACPRS+11
EVT STDINFO+8~, STDINFO+19*, STDINFO+36
FLTX STDINFO+9~, STDINFO+27*, STDINFO+28*, STDINFO+29*, STDINFO+30*, STDINFO+31*, STDINFO+32*, STDINFO+33*, STDINFO+34*, STDINFO+35*
, STDINFO+36*, STDINFO+37*, STDINFO+38*, STDINFO+39*, STDINFO+40*, STDINFO+41*, STDINFO+42
GMRCIEN REFBYACN+1~, REFBYACN+22*, REFBYACN+23, REFBYACN+24, GMRCIEN+5~, GMRCIEN+6*, GMRCIEN+7*, GMRCIEN+8*, GMRCIEN+10
I REFBYACN+10~, REFBYACN+12*, REFBYACN+13, REFBYACN+14, REFBYACN+15, REFBYACN+16
IEN ACNTIU+1~, ACNTIU+4*, ACNTIU+5, ACNTIU+6, REFBYACN+1~, REFBYACN+5*, REFBYACN+6, REFBYACN+7
IMGGRP INSFIMG+1~, INSFIMG+2*, INSFIMG+5, INSFIMG+9
IMGIEN STDINFO~, STDINFO+11, STDINFO+40, INSFIMG+1~, INSFIMG+3*, INSFIMG+8, INSFIMG+10
IMGNODE STDINFO+9~, STDINFO+11*, STDINFO+13, STDINFO+14, STDINFO+15
INVDAT RACPRS+3~, RACPRS+7*, RACPRS+9, RACPRS+10, RACPRS+11
INVDT ACNRAD+1~, ACNRAD+12*, ACNRAD+14*, ACNRAD+15, REFBYACN+10~, REFBYACN+15*, REFBYACN+17
INVDTTM ACNRAD+1~, ACNRAD+11*, ACNRAD+12, ACNRAD+13, ACNRAD+15*, ACNRAD+16
INVTM ACNRAD+1~, ACNRAD+13*, ACNRAD+15
LST REFBYACN+1~, REFBYACN+11, REFBYACN+24, REFBYACN+25
LST( REFBYACN+14, REFBYACN+15, REFBYACN+16
LST("" REFBYACN+12
MAGMRC ACNTIU+1~, ACNTIU+3, ACNTIU+4, ACNTIU+5
MAGNCNT INSFIMG~, INSFIMG+4*, INSFIMG+5*, INSFIMG+6*, INSFIMG+7*, INSFIMG+8*, INSFIMG+9*, INSFIMG+10*
MAGNCXT STDINFO~, STDINFO+41, STDINFO+42, ACCNUM~, ACCNUM+2, ACNRAD~, ACNRAD+6, ACNRAD+9, ACNRAD+10, ACNRAD+11
MAGTIUDA ACNTIU~, ACNTIU+3
ORIG STDINFO+8~, STDINFO+21*, STDINFO+22*, STDINFO+37
OUT INSFIMG~, INSFIMG+4, INSFIMG+5, INSFIMG+6, INSFIMG+7, INSFIMG+8, INSFIMG+9, INSFIMG+10
PKG STDINFO+8~, STDINFO+17*, STDINFO+32
RARPT ACNRAD~, ACNRAD+2, ACNRAD+3
REFIEN STDINFO~, STDINFO+41, STDINFO+42, ACCNUM~, ACCNUM+1, ACCNUM+2, CPRSCTX~, CPRSCTX+6, CPRSCTX+10, REFBYACN~
, REFBYACN+2*, REFBYACN+17*, REFBYACN+25*, RACPRS~, RACPRS+2, RACPRS+4, RACPRS+5, RACPRS+6, RACPRS+8, TIUCPRS~
, TIUCPRS+2, TIUCPRS+4, TIUCPRS+5
REFTYPE STDINFO~, STDINFO+41, STDINFO+42, ACCNUM~, ACCNUM+1, ACCNUM+2, CPRSCTX~, CPRSCTX+5, CPRSCTX+9, REFBYACN~
, REFBYACN+2*, REFBYACN+7*, REFBYACN+9, REFBYACN+20, REFBYACN+21*
SPEC STDINFO+8~, STDINFO+20*, STDINFO+35
TYPE STDINFO+8~, STDINFO+18*, STDINFO+25, STDINFO+34
U STDINFO+17, STDINFO+18, STDINFO+19, STDINFO+20, STDINFO+21, STDINFO+23, STDINFO+25, STDINFO+28, STDINFO+29, STDINFO+30
, STDINFO+31, STDINFO+32, STDINFO+33, STDINFO+34, STDINFO+35, STDINFO+36, STDINFO+37, STDINFO+38, STDINFO+39, STDINFO+40
, STDINFO+41, ACNRAD+9, ACNRAD+10, ACNRAD+11, REFBYACN+17
X0 STDINFO+7~, STDINFO+13*, STDINFO+30
X2 STDINFO+7~, STDINFO+14*, STDINFO+23, STDINFO+28, STDINFO+29, STDINFO+31, STDINFO+38, STDINFO+39
X40 STDINFO+7~, STDINFO+15*, STDINFO+17, STDINFO+18, STDINFO+19, STDINFO+20, STDINFO+21
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  | All