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 |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: MAGDRPCG

Package: Imaging

Routine: MAGDRPCG


Information

MAGDRPCG ;WOIFO/PMK - Imaging RPCs ; Dec 06, 2021@10:34:52

Source Information

Source file <MAGDRPCG.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
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: 6

Package Total Caller Graph
Imaging 6 MAG DICOM GET LAB BY DATE  MAG DICOM GET LAB BY PAT  MAG DICOM GET LAB IMAGES  MAG DICOM GET LAB NEXT LRDFN  MAG DICOM GET LAB PAT DFN  MAG DICOM GET LAB PAT LRDFN  

Entry Points

Name Comments DBIA/ICR reference
GETLRDFN(OUT,DFN,LRSSLIST) ; RPC = MAG DICOM GET LAB PAT LRDFN
GETDFN(OUT,LRDFN) ; RPC = MAG DICOM GET LAB PAT DFN
PATIENT(OUT,SORTORDER,LRDFN,LRSSLIST,BEGDATE,ENDDATE) ; RPC = MAG DICOM GET LAB BY PAT
LOOKUP(OUT,LRDFN,LRSS,LRI) ; RPC = MAG DICOM GET LAB IMAGES
LOOKUP1(LRDFN,LRSS,LRI) ; lookup an anatomic pathology image
; Images can be assocated with the TIU External Data file (#8925.91),
; or DICOM LAB TEMP LIST file (#2006.5838), or stored in the new
; SOP Class database IMAGE STUDY file (#2005.62) -- check all three
TIU(LRDFN,LRSS,LRI,ACNUMB) ; check for images assocated with the TIU External Data file (#8925.91)
LABTEMP(PARENTFILE,LRDFN,LRSS,LRI,ACNUMB) ; check for images assocated with the DICOM LAB TEMP LIST file (#2006.5838)
NEWSOP(LRSS,LRI,ACNUMB) ; check for images in the new SOP Class database IMAGE STUDY file (#2005.62)
DATE(OUT,SUBSCRIPTLEVEL,SORTORDER,LRSS,DATE,LRDFN,LRI) ; RPC = MAG DICOM GET LAB BY DATE
NXTLRDFN(OUT,SORTORDER,LRDFN,LRSSLIST) ; RPC = MAG DICOM GET LAB NEXT LRDFN
REVDATE(DATE) ; convert a LAB date to a FM date and vice versa

External References

Name Field # of Occurrence
$$GET1^DIQ GETLRDFN+6, GETDFN+6, GETDFN+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"ACNUMB = ",ACNUMB
  • Line Location: LOOKUP1+8
Function Call: WRITE
  • Prompt: !,"LR(""",LRO,""",",DATE,",",LRDFN,",",LRI,")"
  • Line Location: DATE+28
Function Call: WRITE
  • Prompt: !,"LR(""",LRO,""",",DATE,",",LRDFN,",",LRI,")"
  • Line Location: DATE+29

Used in RPC

RPC Name Call Tags
MAG DICOM GET LAB PAT LRDFN GETLRDFN
MAG DICOM GET LAB BY PAT PATIENT
MAG DICOM GET LAB NEXT LRDFN NXTLRDFN
MAG DICOM GET LAB BY DATE DATE
MAG DICOM GET LAB IMAGES LOOKUP
MAG DICOM GET LAB PAT DFN GETDFN

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^LR - [#63] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] GETLRDFN+4
^LR - [#63] GETLRDFN+12, GETDFN+4, PATIENT+21, PATIENT+23, LOOKUP1+5, LOOKUP1+7, TIU+2, TIU+4, DATE+25, DATE+26
, DATE+27, NXTLRDFN+16, NXTLRDFN+17
^MAG(2006.5838 - [#2006.5838] LABTEMP+3, LABTEMP+4
^MAGV(2005.62 - [#2005.62] NEWSOP+3
^TIU(8925.91 - [#8925.91] TIU+6, TIU+7

Label References

Name Line Occurrences
$$REVDATE PATIENT+11, PATIENT+15, TIU+9, LABTEMP+6, NEWSOP+4
LABTEMP LOOKUP1+10
LOOKUP1 PATIENT+26, LOOKUP+9
NEWSOP LOOKUP1+11
TIU LOOKUP1+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACNUMB LOOKUP1+4~, LOOKUP1+7*, LOOKUP1+9, LOOKUP1+10, LOOKUP1+11, TIU~, TIU+9, LABTEMP~, LABTEMP+6, NEWSOP~
, NEWSOP+3, NEWSOP+4
BEGDATE PATIENT~, PATIENT+6, PATIENT+11, PATIENT+15
DATE DATE~, DATE+6, DATE+17*, DATE+25, DATE+26, DATE+27, REVDATE~, REVDATE+1
DFN GETLRDFN~, GETLRDFN+2, GETLRDFN+3, GETLRDFN+4, GETLRDFN+6
DIRECTION PATIENT+1~, PATIENT+10*, PATIENT+14*, PATIENT+23, PATIENT+24, PATIENT+25, DATE+1~, DATE+13*, DATE+16*, DATE+25
, DATE+26, DATE+27, NXTLRDFN+1~, NXTLRDFN+6*, NXTLRDFN+9*, NXTLRDFN+16
DONE PATIENT+1~, PATIENT+22*, PATIENT+23, PATIENT+24*, PATIENT+25*
ENDDATE PATIENT~, PATIENT+7, PATIENT+11, PATIENT+15
FILENAME GETDFN+1~, GETDFN+6*, GETDFN+7, GETDFN+8
HIT GETLRDFN+9~, GETLRDFN+10*, GETLRDFN+11, GETLRDFN+12*, GETLRDFN+17, PATIENT+1~, PATIENT+21*, PATIENT+22*, PATIENT+30, NXTLRDFN+1~
, NXTLRDFN+16*, NXTLRDFN+17*
I GETLRDFN+9~, GETLRDFN+11*, GETLRDFN+12, GETLRDFN+14, GETLRDFN+15, PATIENT+1~, PATIENT+21*, NXTLRDFN+1~, NXTLRDFN+17*
LRDFN GETLRDFN+1~, GETLRDFN+6*, GETLRDFN+7, GETLRDFN+12, GETLRDFN+18, GETDFN~, GETDFN+2, GETDFN+3, GETDFN+4, GETDFN+6
, GETDFN+8, GETDFN+10, PATIENT~, PATIENT+4, PATIENT+21, PATIENT+23, PATIENT+26, LOOKUP~, LOOKUP+3, LOOKUP+9
, LOOKUP1~, LOOKUP1+5, LOOKUP1+7, LOOKUP1+9, LOOKUP1+10, TIU~, TIU+2, TIU+4, LABTEMP~, LABTEMP+3
, DATE~, DATE+7, DATE+17*, DATE+26, DATE+27, NXTLRDFN~, NXTLRDFN+3, NXTLRDFN+4, NXTLRDFN+10*, NXTLRDFN+16*
, NXTLRDFN+17, NXTLRDFN+19
LRI PATIENT+1~, PATIENT+22*, PATIENT+23*, PATIENT+24, PATIENT+25, PATIENT+26, LOOKUP~, LOOKUP+5, LOOKUP+9, LOOKUP1~
, LOOKUP1+7, LOOKUP1+9, LOOKUP1+10, LOOKUP1+11, TIU~, TIU+2, TIU+4, TIU+9, LABTEMP~, LABTEMP+3
, LABTEMP+6, NEWSOP~, NEWSOP+4, DATE~, DATE+8, DATE+17*, DATE+27
LRO DATE+1~, DATE+21*, DATE+25, DATE+26, DATE+27
LRSS GETLRDFN+12*, GETLRDFN+13, PATIENT+1~, PATIENT+21*, PATIENT+23, PATIENT+26, LOOKUP~, LOOKUP+4, LOOKUP+9, LOOKUP1~
, LOOKUP1+5, LOOKUP1+7, LOOKUP1+9, LOOKUP1+10, LOOKUP1+11, TIU~, TIU+2, TIU+4, TIU+9, LABTEMP~
, LABTEMP+6, NEWSOP~, NEWSOP+4, DATE~, DATE+5, DATE+21, NXTLRDFN+1~, NXTLRDFN+17*
LRSSLIST GETLRDFN~, GETLRDFN+5, PATIENT~, PATIENT+5, NXTLRDFN~, NXTLRDFN+14
LRSSLIST( GETLRDFN+11, GETLRDFN+12, PATIENT+21, NXTLRDFN+17
LRSSLIST("" GETLRDFN+10
MAG20065838IEN LABTEMP+1~, LABTEMP+2*, LABTEMP+3*, LABTEMP+4
MAGIEN TIU+1~, TIU+8*, TIU+9, LABTEMP+1~, LABTEMP+5*, LABTEMP+6
MAGV200562 NEWSOP+1~, NEWSOP+2*, NEWSOP+3*
MSG GETLRDFN+9~, GETLRDFN+10*, GETLRDFN+13*, GETLRDFN+14*, GETLRDFN+15*, GETLRDFN+17
N GETLRDFN+9~, GETLRDFN+10*, GETLRDFN+14, GETLRDFN+15
NODE0 TIU+1~, TIU+7*, TIU+8, LABTEMP+1~, LABTEMP+4*, LABTEMP+5
NODE0X LOOKUP1+4~, LOOKUP1+5*, LOOKUP1+6
NODE0Y LOOKUP1+4~, LOOKUP1+7*
NOUT PATIENT+1~, PATIENT+19*, PATIENT+29, PATIENT+33, LOOKUP+1~, LOOKUP+7*, LOOKUP+11, LOOKUP+14, TIU+9*, LABTEMP+6*
, NEWSOP+4*
OUT GETLRDFN~, GETLRDFN+2*, GETLRDFN+3*, GETLRDFN+4*, GETLRDFN+5*, GETLRDFN+7*, GETLRDFN+17*, GETLRDFN+18*, GETDFN~, GETDFN+2*
, GETDFN+3*, GETDFN+4*, GETDFN+8*, GETDFN+10*, PATIENT~, PATIENT+2!, PATIENT+3*, PATIENT+4*, PATIENT+5*, PATIENT+6*
, PATIENT+7*, PATIENT+17*, LOOKUP~, LOOKUP+2!, LOOKUP+3*, LOOKUP+4*, LOOKUP+5*, DATE~, DATE+2!, DATE+3*
, DATE+4*, DATE+5*, DATE+6*, DATE+7*, DATE+8*, DATE+10*, DATE+19*, DATE+25*, DATE+26*, DATE+27*
, NXTLRDFN~, NXTLRDFN+2*, NXTLRDFN+3*, NXTLRDFN+4*, NXTLRDFN+12*, NXTLRDFN+14*, NXTLRDFN+15!, NXTLRDFN+19*
OUT( TIU+9*, LABTEMP+6*, NEWSOP+4*
OUT(1 PATIENT+30*, PATIENT+31*, PATIENT+33*, LOOKUP+12*, LOOKUP+14*
PARENTFILE LOOKUP1+4~, LOOKUP1+6*, LOOKUP1+10, LABTEMP~, LABTEMP+3
SORTORDER PATIENT~, PATIENT+3, PATIENT+9, PATIENT+13, PATIENT+17, DATE~, DATE+4, DATE+12, DATE+15, DATE+19
, NXTLRDFN~, NXTLRDFN+2, NXTLRDFN+5, NXTLRDFN+8, NXTLRDFN+12
STARTDATE PATIENT+1~, PATIENT+11*, PATIENT+15*, PATIENT+22
STOPDATE PATIENT+1~, PATIENT+11*, PATIENT+15*, PATIENT+24, PATIENT+25
SUBSCRIPTLEVEL DATE~, DATE+3, DATE+10, DATE+25, DATE+26, DATE+27
TIU892591IEN TIU+1~, TIU+5*, TIU+6*, TIU+7
TIUIEN TIU+1~, TIU+3*, TIU+4*, TIU+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All