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 |  Marked Items  | All
Print Page as PDF
Routine: MAGDRPC1

Package: Imaging

Routine: MAGDRPC1


Information

MAGDRPC1 ;WOIFO/EDM,DAC - Imaging RPCs ; Feb 15, 2022@10:28:27

Source Information

Source file <MAGDRPC1.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Imaging 3 $$CONSOLID^MAGBAPI  $$STATNUMB^MAGDFCNV  ROUTEDAY^MAGDRPC2  
Kernel 3 ($$FMADD,$$NOW)^XLFDT  $$HLNAME^XLFNAME  $$KSP^XUPARAM  
Master Patient Index VistA 1 ($$GETICN,GETICN)^MPIF001  
Registration 1 (ADD,DEM,INP,SDA)^VADPT  
VA FileMan 1 ($$GET1,GETS)^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: 20

Package Total Caller Graph
Imaging 20 MAG DICOM ET PHONE HOME  MAG DICOM FILEMAN GET  MAG DICOM GET AGENCY  MAG DICOM GET DOMAIN  MAG DICOM GET MACHINE ID  MAG DICOM GET PATIENT  MAG DICOM GET PROCESS ID  MAG DICOM GET RAD RPT INFO  
MAG DICOM PACS CUTOFF DATE  MAG DICOM PACS MINIMUM SPACE  MAG DICOM PURGE HL7  MAG DICOM ROUTE VALID DEST  MAG DICOM WORKSTATION VERSION  MAG GET DICOM FMT PATIENT NAME  MAG GET DICOM XMIT ORIGIN  MAGBRTE4  
MAGBRTE5  MAGDIWDV  MAGDSTQA  MAGVCHK  

Entry Points

Name Comments DBIA/ICR reference
GETPID(OUT) ; RPC = MAG DICOM GET PROCESS ID
GETID(OUT,HOSTNAME) ; RPC = MAG DICOM GET MACHINE ID
DOMAIN(OUT) ; RPC = MAG DICOM GET DOMAIN
AGENCY(OUT) ; RPC = MAG DICOM GET AGENCY
INFO(OUT,LOCATION) ; RPC = MAG DICOM ET PHONE HOME
STATION(OUT,STATION,VERSION) ; RPC = MAG DICOM WORKSTATION VERSION
FMGET(OUT,FILE,D0,FIELD) ; RPC = MAG DICOM FILEMAN GET
; Get the value of a data field
CUTOFF(OUT,D0) ; RPC = MAG DICOM PACS CUTOFF DATE
; Retention Period for PACS
MINSPACE(OUT,D0) ; RPC = MAG DICOM PACS MINIMUM SPACE
; Minimum Percentage of Free Disk Space
HL7PURGE(OUT,CUTOFF) ; RPC = MAG DICOM PURGE HL7
; Purge HL7 transactions
VALDEST(OUT,NAME) ; RPC = MAG DICOM ROUTE VALID DEST
PAT(OUT,DFN) ; RPC = MAG DICOM GET PATIENT
DCMNAME(OUT,DFN,DELIM) ; RPC = MAG GET DICOM FMT PATIENT NAME
; P239 DAC - New RPC added
; HL7: family ^ given ^ middle ^ suffix ^ prefix ^ degree
; DICOM: family ^ given ^ middle ^ prefix ^ suffix (4 & 5 swapped, no degree)
VA(PRE,ARR,SUB)
RARPTO(OUT,TYPE,D0,F,D1) ; RPC = MAG DICOM GET RAD RPT INFO
LISTORIG(OUT) ; RPC = MAG GET DICOM XMIT ORIGIN

External References

Name Field # of Occurrence
$$GET1^DIQ FMGET+2
GETS^DIQ LISTORIG+4
$$CONSOLID^MAGBAPI CUTOFF+3, MINSPACE+3
$$STATNUMB^MAGDFCNV PAT+10
ROUTEDAY^MAGDRPC2 INFO+10
$$GETICN^MPIF001 PAT+9
GETICN^MPIF001 PAT+9
ADD^VADPT PAT+6
DEM^VADPT PAT+5
INP^VADPT PAT+7
SDA^VADPT PAT+8
$$FMADD^XLFDT INFO+3
$$NOW^XLFDT STATION+17
$$HLNAME^XLFNAME DCMNAME+8
$$KSP^XUPARAM DOMAIN+2

Used in RPC

RPC Name Call Tags
MAG DICOM ET PHONE HOME INFO
MAG DICOM FILEMAN GET FMGET
MAG DICOM GET DOMAIN DOMAIN
MAG DICOM GET PATIENT PAT
MAG DICOM GET RAD RPT INFO RARPTO
MAG DICOM PACS CUTOFF DATE CUTOFF
MAG DICOM PACS MINIMUM SPACE MINSPACE
MAG DICOM PURGE HL7 HL7PURGE
MAG DICOM ROUTE VALID DEST VALDEST
MAG DICOM WORKSTATION VERSION STATION
MAG DICOM GET MACHINE ID GETID
MAG GET DICOM XMIT ORIGIN LISTORIG
MAG DICOM GET AGENCY AGENCY
MAG DICOM GET PROCESS ID GETPID
MAG GET DICOM FMT PATIENT NAME DCMNAME

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("SITE" DOMAIN+5
^MAG(2005.2 - [#2005.2] VALDEST+7, VALDEST+8, VALDEST+9, VALDEST+13, VALDEST+14, VALDEST+15
^MAG(2006.1 - [#2006.1] CUTOFF+5, CUTOFF+7, CUTOFF+12, CUTOFF+14, MINSPACE+5, MINSPACE+7, MINSPACE+12, MINSPACE+14
^MAG(2006.83 STATION+4, STATION+5, STATION+6, STATION+8, STATION+11*, STATION+12*, STATION+13, STATION+15*, STATION+16, STATION+17*
^MAGDAUDT(2006.5761 - [#2006.5761] INFO+14, INFO+15, INFO+16
^MAGDHL7(2006.5 - [#2006.5] HL7PURGE+4, HL7PURGE+5, HL7PURGE+6, HL7PURGE+7!, HL7PURGE+8!, HL7PURGE+9!, HL7PURGE+10!, HL7PURGE+15, HL7PURGE+16, HL7PURGE+19*
, HL7PURGE+20
^MAGDICOM(2006.5641 - [#2006.5641] GETID+4, GETID+6, GETID+7, GETID+8*, GETID+9*, GETID+10*, GETID+11, GETID+12*, GETID+13
^MAGDOUTP(2006.574 - [#2006.574] LISTORIG+3
^RARPT - [#74] RARPTO+2, RARPTO+3, RARPTO+4, RARPTO+5

Label References

Name Line Occurrences
DOMAIN INFO+7
VA PAT+5, PAT+6, PAT+7, PAT+8, VA+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A INFO+13~, INFO+14*, INFO+18*, VA~, VA+2*, VA+3, VA+4
ARR VA~, VA+1, VA+2
C INFO+13~
CUTOFF HL7PURGE~, HL7PURGE+4
D HL7PURGE+2~, HL7PURGE+4*, HL7PURGE+5, HL7PURGE+8
D0 GETID+1~, GETID+7*, GETID+8, GETID+9, GETID+10, GETID+11*, GETID+14, INFO+13~, INFO+14*, INFO+15
, INFO+16, INFO+19, STATION+1~, STATION+4*, STATION+8*, STATION+9, STATION+11, STATION+12, STATION+15, STATION+16
, STATION+17, STATION+18, FMGET~, FMGET+2, CUTOFF~, CUTOFF+12, CUTOFF+14, MINSPACE~, MINSPACE+12, MINSPACE+14
, HL7PURGE+2~, HL7PURGE+5*, HL7PURGE+6, HL7PURGE+7, HL7PURGE+8, HL7PURGE+9, HL7PURGE+10, VALDEST+1~, VALDEST+8*, VALDEST+9
, VALDEST+12*, VALDEST+14*, VALDEST+15, RARPTO~, RARPTO+1*, RARPTO+2, RARPTO+3, RARPTO+4, RARPTO+5
D1 RARPTO~, RARPTO+1*, RARPTO+3, RARPTO+5
D2 INFO+13~, INFO+15*, INFO+16
DELIM DCMNAME~, DCMNAME+14
DFN PAT~, PAT+3, PAT+9, PAT+10, DCMNAME~, DCMNAME+6, DCMNAME+7, DCMNAME+9
DGNAME DCMNAME+4~, DCMNAME+8
DGNAME("FIELD" DCMNAME+7*
DGNAME("FILE" DCMNAME+7*
DGNAME("IENS" DCMNAME+7*
DICOMNAME DCMNAME+4~, DCMNAME+11*, DCMNAME+12*, DCMNAME+13*, DCMNAME+14*, DCMNAME+15
DIQUIET PAT+1~, PAT+4*
DT INFO+3
DUZ("AG" AGENCY+1
F RARPTO~, RARPTO+1*, RARPTO+2, RARPTO+3, RARPTO+5
FIELD FMGET~, FMGET+2
FILE FMGET~, FMGET+2
FROM LISTORIG+1~, LISTORIG+3*, LISTORIG+4, LISTORIG+5
FST INFO+1~, INFO+3*, INFO+14
HL7NAME DCMNAME+4~, DCMNAME+8*, DCMNAME+9, DCMNAME+11, DCMNAME+12, DCMNAME+13
HOSTNAME GETID~, GETID+2*, GETID+3, GETID+4, GETID+8, GETID+10
I GETID+1~, GETID+11*, GETID+12, PAT+1~, VA~, VA+1*, VA+2, VA+3, VA+4
LO GETID+1~
LOCATION INFO~, INFO+15, INFO+16
M INFO+13~, INFO+17*, INFO+19
MSG LISTORIG+1~
N GETID+1~, GETID+11*, GETID+12, INFO+1~, INFO+4*, INFO+8, INFO+18*, INFO+19*, INFO+24, PAT+1~
, PAT+4*, PAT+9*, PAT+10*, PAT+11, VA+3*, LISTORIG+1~, LISTORIG+2*, LISTORIG+5*, LISTORIG+7
NAME VALDEST~, VALDEST+5, VALDEST+8, VALDEST+14
OUT GETPID~, GETPID+1*, GETID~, GETID+3*, GETID+4*, GETID+5, GETID+14*, DOMAIN~, DOMAIN+2*, DOMAIN+6*
, AGENCY~, AGENCY+1*, INFO~, INFO+2!, STATION~, STATION+2*, STATION+18*, FMGET~, FMGET+2*, CUTOFF~
, CUTOFF+5*, CUTOFF+8*, CUTOFF+9*, CUTOFF+12*, CUTOFF+15*, CUTOFF+16*, MINSPACE~, MINSPACE+5*, MINSPACE+8*, MINSPACE+9*
, MINSPACE+12*, MINSPACE+15*, MINSPACE+16*, HL7PURGE~, HL7PURGE+3*, HL7PURGE+11*, HL7PURGE+14, HL7PURGE+18, VALDEST~, VALDEST+5*
, VALDEST+9*, VALDEST+13, VALDEST+15*, PAT~, PAT+2!, DCMNAME~, DCMNAME+5!, DCMNAME+6*, DCMNAME+9*, DCMNAME+15*
, RARPTO~, RARPTO+2*, RARPTO+3*, RARPTO+4*, RARPTO+5*, RARPTO+6*, LISTORIG~
OUT( INFO+8*, INFO+18*, INFO+19*, PAT+9*, PAT+10*, VA+3*, LISTORIG+5*
OUT(1 INFO+24*, PAT+3*, PAT+11*, LISTORIG+2*, LISTORIG+7*
P HL7PURGE+2~, HL7PURGE+6*, HL7PURGE+10
PLACE VALDEST+1~, VALDEST+13*, VALDEST+14
PRE VA~, VA+3, VA+4
PRI LISTORIG+1~
RTN LISTORIG+1~
RTN(4 LISTORIG+5
STATION STATION~, STATION+2, STATION+4, STATION+11, STATION+12
SUB VA~, VA+3, VA+4
T HL7PURGE+2~, HL7PURGE+6*, HL7PURGE+9
TYPE RARPTO~, RARPTO+1*, RARPTO+2, RARPTO+3, RARPTO+4, RARPTO+5, RARPTO+6
UP GETID+1~
VA PAT+1~
VADM PAT+1~
VAIN PAT+1~
VAPA PAT+1~
VASD PAT+1~
VERSION STATION~, STATION+15
X GETID+1~, DOMAIN+1~, DOMAIN+5*, DOMAIN+6, INFO+1~, INFO+7, INFO+8, INFO+13~, INFO+16*, INFO+17
, INFO+19, STATION+1~, STATION+6*, STATION+7*, STATION+9*, STATION+10*, STATION+11, STATION+16*, CUTOFF+2~, CUTOFF+7*
, CUTOFF+8, CUTOFF+9, CUTOFF+14*, CUTOFF+15, CUTOFF+16, MINSPACE+2~, MINSPACE+7*, MINSPACE+8, MINSPACE+9, MINSPACE+14*
, MINSPACE+15, MINSPACE+16, HL7PURGE+2~, HL7PURGE+6*, HL7PURGE+16*, HL7PURGE+17*, HL7PURGE+18*, HL7PURGE+19, VALDEST+1~, PAT+9*
, VA~, VA+3*

Marked Items

Name Field # of Occurrence
$T(GETICN^MPIF001 PAT+9
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 |  Marked Items  | All