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

Package: Imaging

Routine: MAGVRS61


Information

MAGVRS61 ;WOIFO/DAC,JSJ - RPC calls for DICOM file processing ; 20 Nov 2015 11:20 AM

Source Information

Source file <MAGVRS61.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA FileMan 2 (FILE,UPDATE)^DIE  $$GET1^DIQ  
Imaging 1 $$STATSEP^MAGVRS41  

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

Package Total Caller Graph
Imaging 2 MAGVRS44  MAGVUID  

Entry Points

Name Comments DBIA/ICR reference
DUPUID(OUT,ACCESSION,DFN,TYPE,UID,STUDUID,SERUID) ; Check for duplicate UIDs in the new structure
; OUT - Duplicate message output
; ACCESSION - Accession # ; DFN - Patient DFN
; TYPE - Type of UID check - "STUDY", "SERIES", or "SOP"
; UID - Unique Identifier
; if accession number does not match then it's a duplicate UID
; OUT:
DUPSTUD(DFN,ACCESSION,UID)
DUPSER(DFN,ACCESSION,STUDUID,UID)
DUPSOP(DFN,ACCESSION,STUDUID,SERUID,UID)
LINKED(ACCESSION,DFN,UID,UIDTYPE,STUDUIDA,SERUIDA) ; Check if duplicate UID is linked to the same procedure, patient, and parent Study, Series, SOP IENS
LOGDUP(ORIGUID,NEWUID,ACCESSION,DFN,TYPE,STUDYUID,SERUID)
LOGLOOK(NEWUID) ; Look for UID in duplicate log and generate a new UID if there is a duplicate
UIDCHECK(POSTUID) ; Check if newly generated UID exists in UID database indexes
; If UID is found return 0, if UID is not found return 1
UIDLOOK(UID,DFN,ACC,TYPE,STUDYUID,SERUID) ; Look to see if Original UID exists and if entry matches DFN and ACC provided. If so, return New UID. Otherwise, 0.
DELLOG(OUT,IEN,FILE) ; Remove inactivated entries from the duplicate log

External References

Name Field # of Occurrence
FILE^DIE DELLOG+47
UPDATE^DIE LOGDUP+19
$$GET1^DIQ UIDLOOK+13
$$STATSEP^MAGVRS41 DELLOG+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MAGV(2005.66 - [#2005.66] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2005 - [#2005] UIDCHECK+8, UIDCHECK+10
^MAGV(2005.6 - [#2005.6] LINKED+46, DELLOG+29
^MAGV(2005.61 - [#2005.61] LINKED+45, DELLOG+28
^MAGV(2005.62 - [#2005.62] DUPUID+21, LINKED+6, LINKED+7, LINKED+9, LINKED+21, LINKED+22, LINKED+37, LINKED+38, LINKED+47, UIDCHECK+12
, DELLOG+21, DELLOG+22, DELLOG+24
^MAGV(2005.63 - [#2005.63] DUPUID+25, LINKED+17, LINKED+18, LINKED+20, LINKED+35, LINKED+36, UIDCHECK+14, DELLOG+14, DELLOG+15, DELLOG+17
^MAGV(2005.64 - [#2005.64] DUPUID+29, LINKED+30, LINKED+31, LINKED+33, LINKED+34, UIDCHECK+16, DELLOG+9, DELLOG+10
^MAGV(2005.66 - [#2005.66] LOGDUP+6, LOGDUP+20, LOGDUP+21, LOGLOOK+5, UIDCHECK+6, UIDLOOK+4, UIDLOOK+7, UIDLOOK+8, UIDLOOK+10, UIDLOOK+11
, UIDLOOK+12, DELLOG+34, DELLOG+35, DELLOG+36

Label References

Name Line Occurrences
$$LINKED DUPUID+22, DUPUID+26, DUPUID+30
$$UIDCHECK LOGLOOK+2
DUPUID DUPSTUD+4, DUPSER+4, DUPSOP+4
LOGLOOK LOGDUP+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACC UIDLOOK~, UIDLOOK+3, UIDLOOK+14, DELLOG+1~, DELLOG+28*, DELLOG+40, DELLOG+41, DELLOG+42
ACCESSION DUPUID~, DUPUID+22, DUPUID+26, DUPUID+30, DUPSTUD~, DUPSTUD+2, DUPSTUD+4, DUPSER~, DUPSER+2, DUPSER+4
, DUPSOP~, DUPSOP+2, DUPSOP+4, LINKED~, LINKED+49, LOGDUP~, LOGDUP+14
AOF LINKED+1~, LINKED+33*, LINKED+52
DELETE DELLOG+2~, DELLOG+39*, DELLOG+40*, DELLOG+41*, DELLOG+42*, DELLOG+43
DFN DUPUID~, DUPUID+22, DUPUID+26, DUPUID+30, DUPSTUD~, DUPSTUD+3, DUPSTUD+4, DUPSER~, DUPSER+3, DUPSER+4
, DUPSOP~, DUPSOP+3, DUPSOP+4, LINKED~, LINKED+49, LOGDUP~, LOGDUP+15, UIDLOOK~, UIDLOOK+3, UIDLOOK+14
, DELLOG+1~
DSERUID DELLOG+2~, DELLOG+38*, DELLOG+40
DSTDUID DELLOG+2~, DELLOG+38*, DELLOG+40, DELLOG+41
DUPACC DELLOG+2~, DELLOG+37*, DELLOG+40, DELLOG+41, DELLOG+42
DUPDATA1 DELLOG+1~, DELLOG+35*, DELLOG+37
DUPDATA2 DELLOG+1~, DELLOG+36*, DELLOG+38
DUPIEN DELLOG+1~, DELLOG+33*, DELLOG+34*, DELLOG+35, DELLOG+36, DELLOG+45
DUPPATID DELLOG+2~, DELLOG+37*, DELLOG+40, DELLOG+41, DELLOG+42
ENTRY UIDLOOK+1~, UIDLOOK+11*, UIDLOOK+14, UIDLOOK+15, UIDLOOK+16, UIDLOOK+17
ENTRY2 UIDLOOK+1~, UIDLOOK+12*, UIDLOOK+16, UIDLOOK+17
ERR DELLOG+1~
ERR("DIERR" DELLOG+49
FDA LOGDUP+1~, LOGDUP+22!, DELLOG+2~
FDA( LOGDUP+12*, LOGDUP+13*, LOGDUP+14*, LOGDUP+15*, LOGDUP+16*, LOGDUP+17*, LOGDUP+18*, DELLOG+46*
FILE LOGDUP+1~, LOGDUP+10*, LOGDUP+12, LOGDUP+13, LOGDUP+14, LOGDUP+15, LOGDUP+16, LOGDUP+17, LOGDUP+18, DELLOG~
, DELLOG+6, DELLOG+8, DELLOG+13, DELLOG+14, DELLOG+15, DELLOG+20, DELLOG+21, DELLOG+22, DELLOG+40, DELLOG+41
, DELLOG+42
IEN LINKED+1~, UIDLOOK+1~, UIDLOOK+9*, UIDLOOK+10*, UIDLOOK+11, UIDLOOK+12, UIDLOOK+13, DELLOG~, DELLOG+7, DELLOG+9
, DELLOG+10*, DELLOG+12, DELLOG+14, DELLOG+15, DELLOG+17*, DELLOG+19, DELLOG+21, DELLOG+22, DELLOG+24
IENS DELLOG+2~, DELLOG+45*, DELLOG+46
LINK LINKED+1~, LINKED+2*, LINKED+43, LINKED+44, LINKED+49*, LINKED+50*, LINKED+51*, LINKED+52*, LINKED+54
NEWUID LOGDUP~, LOGDUP+2, LOGDUP+3*, LOGDUP+4*, LOGDUP+5*, LOGDUP+11, LOGDUP+13, LOGDUP+21, LOGLOOK~, LOGLOOK+2
, LOGLOOK+4*, LOGLOOK+5
ONEWUID LOGDUP+1~, LOGDUP+2*, LOGDUP+6, LOGDUP+20, LOGDUP+21
ORIGUID LOGDUP~, LOGDUP+12
OUT DUPUID~, DUPUID+17*, DUPUID+18*, DUPUID+23*, DUPUID+27*, DUPUID+31*, DUPUID+32*, DUPUID+33*, DUPUID+34*, DUPUID+36
, DUPSTUD+4, DUPSTUD+5, DUPSER+4, DUPSER+5, DUPSOP+4, DUPSOP+5, UIDLOOK+1~, UIDLOOK+2*, UIDLOOK+3, UIDLOOK+4
, UIDLOOK+5, UIDLOOK+6, UIDLOOK+7, UIDLOOK+8, UIDLOOK+10, UIDLOOK+15*, UIDLOOK+16*, UIDLOOK+17*, UIDLOOK+18, DELLOG~
, DELLOG+4*, DELLOG+6*, DELLOG+7*, DELLOG+12*, DELLOG+19*, DELLOG+31*, DELLOG+32*, DELLOG+48*, DELLOG+49*
PATID DELLOG+1~, DELLOG+29*, DELLOG+40, DELLOG+41, DELLOG+42
PATIEN DELLOG+1~, DELLOG+25*, DELLOG+27, DELLOG+29, DELLOG+31
PATPROC LINKED+1~, LINKED+9*, LINKED+10, LINKED+11, LINKED+22*, LINKED+23, LINKED+24, LINKED+38*, LINKED+39, LINKED+40
PIEN DELLOG+1~
POSTFIX LOGLOOK+1~, LOGLOOK+2*, LOGLOOK+3, LOGLOOK+4
POSTUID UIDCHECK~, UIDCHECK+6, UIDCHECK+8, UIDCHECK+10, UIDCHECK+12, UIDCHECK+14, UIDCHECK+16
PRDFN LINKED+1~, LINKED+46*, LINKED+49
PRIEN LINKED+1~, LINKED+11*, LINKED+24*, LINKED+40*, LINKED+44, LINKED+46
PROCCASE LINKED+1~, LINKED+45*, LINKED+49
PROCIEN LINKED+1~, LINKED+10*, LINKED+23*, LINKED+39*, LINKED+43, LINKED+45, DELLOG+1~, DELLOG+26*, DELLOG+27, DELLOG+28
, DELLOG+32
SERIESIEN LINKED+1~, LINKED+16*, LINKED+17*, LINKED+18, LINKED+20, LINKED+34*, LINKED+35, LINKED+36
SERUID DUPUID~, DUPUID+30, DUPSOP~, DUPSOP+4, LOGDUP~, LOGDUP+5, LOGDUP+18, UIDLOOK~, UIDLOOK+6, UIDLOOK+8
, UIDLOOK+17, DELLOG+1~, DELLOG+14*, DELLOG+15*, DELLOG+16, DELLOG+40
SERUIDA LINKED~, LINKED+51
SERUIDB LINKED+1~, LINKED+35*, LINKED+51
SOCTYPE LOGDUP+1~, LOGDUP+7*, LOGDUP+8*, LOGDUP+9*, LOGDUP+16
SOPIEN LINKED+1~, LINKED+29*, LINKED+30*, LINKED+31, LINKED+33, LINKED+34
SOPLINK DUPUID+16~, DUPUID+30*, DUPUID+31, DUPUID+32, DUPUID+33
SOPOUT DUPUID+16~
SOPUID DELLOG+1~, DELLOG+9*
SOPUIDB LINKED+1~
SSEP DELLOG+1~, DELLOG+5*, DELLOG+6, DELLOG+7, DELLOG+12, DELLOG+19, DELLOG+31, DELLOG+32, DELLOG+49
STATUS LINKED+1~, LINKED+6, LINKED+7*, LINKED+8, LINKED+17, LINKED+18*, LINKED+19, LINKED+30, LINKED+31*, LINKED+32
, LINKED+53
STUDDATA DELLOG+2~, DELLOG+24*, DELLOG+25, DELLOG+26
STUDUID DUPUID~, DUPUID+26, DUPUID+30, DUPSER~, DUPSER+4, DUPSOP~, DUPSOP+4, DELLOG+1~, DELLOG+21*, DELLOG+22*
, DELLOG+23, DELLOG+40, DELLOG+41
STUDUIDA LINKED~, LINKED+48, LINKED+50, LINKED+51
STUDUIDB LINKED+1~, LINKED+21*, LINKED+37*, LINKED+48*, LINKED+50, LINKED+51
STUDUIDO LINKED+1~, LINKED+47*, LINKED+48
STUDYIEN LINKED+1~, LINKED+5*, LINKED+6*, LINKED+7, LINKED+9, LINKED+20*, LINKED+21, LINKED+22, LINKED+36*, LINKED+37
, LINKED+38, LINKED+47
STUDYUID LOGDUP~, LOGDUP+3, LOGDUP+4, LOGDUP+17, UIDLOOK~, UIDLOOK+5, UIDLOOK+6, UIDLOOK+7, UIDLOOK+16, UIDLOOK+17
STYPE UIDLOOK+1~, UIDLOOK+13*, UIDLOOK+14
TYPE DUPUID~, DUPUID+17, DUPUID+21, DUPUID+25, DUPUID+29, DUPSTUD+1*, DUPSTUD+4, DUPSER+1*, DUPSER+4, DUPSOP+1*
, DUPSOP+4, LOGDUP~, LOGDUP+3, LOGDUP+4, LOGDUP+5, LOGDUP+7, LOGDUP+8, LOGDUP+9, UIDLOOK~, UIDLOOK+3
, UIDLOOK+5, UIDLOOK+6, UIDLOOK+7, UIDLOOK+8, UIDLOOK+14, UIDLOOK+15, UIDLOOK+16, UIDLOOK+17, DELLOG+1~
U LINKED+7, LINKED+10, LINKED+11, LINKED+20, LINKED+21, LINKED+23, LINKED+24, LINKED+33, LINKED+34, LINKED+35
, LINKED+36, LINKED+37, LINKED+39, LINKED+40, LINKED+45, LINKED+46, LINKED+47, UIDLOOK+14, UIDLOOK+15, UIDLOOK+16
, UIDLOOK+17, DELLOG+9, DELLOG+10, DELLOG+14, DELLOG+15, DELLOG+17, DELLOG+21, DELLOG+22, DELLOG+25, DELLOG+26
, DELLOG+28, DELLOG+29, DELLOG+37, DELLOG+38
UID DUPUID~, DUPUID+21, DUPUID+22, DUPUID+25, DUPUID+26, DUPUID+29, DUPUID+30, DUPSTUD~, DUPSTUD+4, DUPSER~
, DUPSER+4, DUPSOP~, DUPSOP+4, LINKED~, LINKED+6, LINKED+17, LINKED+30, UIDLOOK~, UIDLOOK+3, UIDLOOK+4
, UIDLOOK+7, UIDLOOK+8, UIDLOOK+10, UIDLOOK+15, UIDLOOK+16, UIDLOOK+17, DELLOG+1~, DELLOG+9*, DELLOG+16*, DELLOG+23*
, DELLOG+34
UIDTYPE LINKED~, LINKED+3, LINKED+14, LINKED+27, LINKED+50, LINKED+51, LINKED+52
UNIQUE UIDCHECK+2~, UIDCHECK+3*, UIDCHECK+6*, UIDCHECK+8*, UIDCHECK+10*, UIDCHECK+12*, UIDCHECK+14*, UIDCHECK+16*, UIDCHECK+18
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