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

Package: Imaging

Routine: MAGDTRLU


Information

MAGDTRLU ;WOIFO/OHH/PMK - Report discrepancies between files #2006.5849 & #123 and correct them ; 10/11/2006 08:53

Source Information

Source file <MAGDTRLU.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Imaging 2 (CANCEL,COMPLETE)^MAGDTR03  HEADING^MAGDTRDX  
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: 2

Package Total Caller Graph
Imaging 2 MAGT REPAIR TR PROBLEMS  MAGT REPORT TR PROBLEMS  

Entry Points

Name Comments DBIA/ICR reference
REPORT ; report problems with the Unread List
REPAIR ; repair problems with the Unread List
PASS(MODE) ; report/repair problems for LOCKED and UNREAD studies
SEARCH(STATUS,MODE) ; go through studies for each site, specialty and procedure
CHECK ;check Unread List entry against that in CPRS Consult Requst Tracking
W(PROMPT) ; output prompt

External References

Name Field # of Occurrence
$$GET1^DIQ SEARCH+11, SEARCH+14, SEARCH+18, CHECK+5
CANCEL^MAGDTR03 CHECK+17
COMPLETE^MAGDTR03 CHECK+15
HEADING^MAGDTRDX PASS+7, PASS+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: PASS+7
Function Call: WRITE
  • Prompt: !!
  • Line Location: PASS+13
Function Call: WRITE
  • Prompt: !!,$$W("Acquisition Site:"),$$GET1^DIQ(4,ACQSITE,.01)
  • Line Location: SEARCH+11
Function Call: WRITE
  • Prompt: !,$$W("Specialty:"),$$GET1^DIQ(2005.84,ISPECIDX,.01)
  • Line Location: SEARCH+14
Function Call: WRITE
  • Prompt: !,$$W("Procedure:"),$$GET1^DIQ(2005.85,IPROCIDX,.01)
  • Line Location: SEARCH+18
Function Call: WRITE
  • Prompt: !,$$W(""),"No inconsistencies were found.",!
  • Line Location: SEARCH+22
Function Call: WRITE
  • Prompt: !,$$W($S(MODE="REPORT":"Problem:",1:"Repaired:"))
  • Line Location: SEARCH+25
Function Call: WRITE
  • Prompt: "Number of consults that have ",I," status in CPRS: ",COUNT(I)
  • Line Location: SEARCH+26
Function Call: WRITE
  • Prompt: !
  • Line Location: SEARCH+27
Function Call: WRITE
  • Prompt: !,$$W(""),"Consult # ",GMRCIEN," has the status of ",GMRCSTS," in CPRS"
  • Line Location: CHECK+9
Function Call: WRITE
  • Prompt: !,$$W("Fix:"),"Consult # ",GMRCIEN," which has the status of ",GMRCSTS," in CPRS"
  • Line Location: CHECK+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^MAG(2005.84 - [#2005.84] GET1^DIQ
^MAG(2005.85 - [#2005.85] GET1^DIQ
^DIC(4 - [#4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MAG(2006.5849 - [#2006.5849] SEARCH+10, SEARCH+13, SEARCH+16, SEARCH+20, CHECK+4

Label References

Name Line Occurrences
$$W SEARCH+11, SEARCH+14, SEARCH+18, SEARCH+22, SEARCH+25, CHECK+9, CHECK+12
CHECK SEARCH+20
PASS REPORT+1, REPAIR+1
SEARCH PASS+8, PASS+14

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACQSITE SEARCH+1~, SEARCH+9*, SEARCH+10*, SEARCH+11, SEARCH+13, SEARCH+16, SEARCH+20
COUNT SEARCH+17~, SEARCH+21
COUNT( SEARCH+24, SEARCH+26, CHECK+7*
GMRCIEN CHECK+1~, CHECK+4*, CHECK+5, CHECK+9, CHECK+12
GMRCSTS CHECK+2~, CHECK+5*, CHECK+6, CHECK+7, CHECK+9, CHECK+12, CHECK+14
I SEARCH+6~, SEARCH+24*, SEARCH+26
IPROCIDX SEARCH+3~, SEARCH+15*, SEARCH+16*, SEARCH+18, SEARCH+20
ISPECIDX SEARCH+2~, SEARCH+12*, SEARCH+13*, SEARCH+14, SEARCH+16, SEARCH+20
MODE PASS~, PASS+6, PASS+8, PASS+12, PASS+14, SEARCH~, SEARCH+25, CHECK+8, CHECK+11
MSG PASS+1~, PASS+7, PASS+13
MSG(1 PASS+2*
MSG(2 PASS+5*, PASS+6*, PASS+11*, PASS+12*
MSG(3 PASS+2*
PROMPT W~, W+1
STATUS SEARCH~, SEARCH+8
UNREAD SEARCH+4~, SEARCH+19*, SEARCH+20*, CHECK+4
XREF SEARCH+5~, SEARCH+8*, SEARCH+20
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All