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

Package: Radiology Nuclear Medicine

Routine: RASYNCH


Information

RASYNCH ;HISC/GJC - synch orders with studies ; Mar 23, 2023@12:40:15

Source Information

Source file <RASYNCH.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Radiology Nuclear Medicine 4 ^RADPA  ^RAORDU  (KILL,SET)^RAPSET1  EN^RASYNCHLU  
VA FileMan 3 $$FIND1^DIC  $$GET1^DIQ  ^DIR  

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

Package Total Caller Graph
Radiology Nuclear Medicine 1 RA EXAM ORDER SYNCH  

Entry Points

Name Comments DBIA/ICR reference
EN ; entry point for option
PAT ;get patient DFN move forward
; Note: if user timed out or entered null var 'X'
; is set to a caret
EXIT ;cleanup and exit the option
ASK() ;Display the accession number for the study. Ask (yes/no) the user if they want
SYNCH ;synch the orders for this completed exam.
SET() ;check other descendents to see if they're active.

External References

Name Field # of Occurrence
$$FIND1^DIC PAT+32
$$GET1^DIQ SYNCH+9, SYNCH+10
^DIR ASK+16
^RADPA PAT+4
^RAORDU SYNCH+8
KILL^RAPSET1 EXIT+3
SET^RAPSET1 EN+5
EN^RASYNCHLU PAT+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Completed/Canceled exams are not associated with an active CPRS order.",!
  • Line Location: PAT+11
Function Call: WRITE
  • Prompt: !!,"An exam for this patient was not selected.",!
  • Line Location: PAT+12
Function Call: WRITE
  • Prompt: !!,"The accession number tied to this case is: '"_RAACC_"'."
  • Line Location: ASK+4
Function Call: WRITE
  • Prompt: !!,"Radiology order (IEN: "_RAOIFN_") request status updated to: '"_$$GET1^DIQ(75.1,RAOIFN_",",5,"","")_"'."
  • Line Location: SYNCH+9
Function Call: WRITE
  • Prompt: !,"CPRS order (IEN: "_RAORIFN_") status updated to: '"_$$GET1^DIQ(100,RAORIFN_",",5,"","")_"'."
  • Line Location: SYNCH+10
Routine Call
  • DIC
  • Line Location:
    • PAT+32
Routine Call
  • DIR
  • Line Location:
    • ASK+16

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^RAO(75.1 - [#75.1] GET1^DIQ
^RA(75.2 - [#75.2] FIND1^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^RA(72 - [#72] PAT+23, SET+5
^RADPT - [#70] PAT+17, PAT+18, SET+4, SET+5
^RAO(75.1 - [#75.1] PAT+22
^TMP($J PAT+3!, PAT+14, EXIT+2!

Label References

Name Line Occurrences
$$ASK PAT+36
$$SET ASK+8
EXIT PAT+6, PAT+10
PAT EN+12
SYNCH PAT+36

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EXIT+1!, ASK+12!, ASK+19!
%DT EXIT+1!
C EXIT+1!
DIC EXIT+1!
DIC(0 PAT+4*
DIR ASK+12!, ASK+19!
DIR("?" ASK+14*, ASK+15*
DIR("A" ASK+13*
DIR("B" ASK+13*
DIR(0 ASK+16*
DIROUT ASK+12!, ASK+19!
DIRUT ASK+12!, ASK+19!
DPTDFN EXIT+1!
DTOUT EXIT+1!, ASK+12!, ASK+19!
DUOUT EXIT+1!, ASK+12!, ASK+19!
DUZ SYNCH+4
ORSTS EXIT+1!
RAACC EXIT+2!, ASK+4, ASK+9
RAADC EXIT+1!
RAADC1 EXIT+1!
RACN EXIT+1!
RACNI PAT+18, EXIT+1!
RACNT PAT+11, EXIT+1!
RADFN PAT+7*, PAT+17, PAT+18, EXIT+1!, SET+4, SET+5
RADTE EXIT+1!
RADTI PAT+17, PAT+18, EXIT+1!, SET+4, SET+5
RADUZ SYNCH+3~, SYNCH+4*
RAF SET+3~*, SET+4, SET+7*, SET+9
RAHEAD EXIT+2!
RAI EN+3~, PAT+15*, EXIT+2!
>> RAIMGTY EN+4, EN+8
RAINDIE EN+3~, EN+5*, EXIT+3
>> RAMDIV EN+4
>> RAMDV EN+4
>> RAMLC EN+4
RANME EXIT+2!
RAOIFN PAT+21*, PAT+22, EXIT+2!, SYNCH+9
RAOIFN(0 PAT+22*, PAT+30
RAORDNUM PAT+23*, PAT+25, PAT+29, EXIT+2!, SYNCH+7
RAOREA PAT+30*, PAT+31*, PAT+32*, EXIT+2!, SYNCH+4*
RAORIFN PAT+22*, EXIT+1!, SYNCH+10
RAORSTS EXIT+1!
RAOSTS SYNCH+3~, SYNCH+7*
RAQS EN+3~*, PAT+10, PAT+12, PAT+14
RAR SET+3~*, SET+4*, SET+5
RASSN EXIT+2!
RATMP SET+3~, SET+5*
RAX EN+3~, PAT+14*, PAT+15
RAXIT EN+3~, EN+8*, EN+12, PAT+5*, PAT+6
RAXS SET+3~, SET+5*, SET+6
RAXS(3 SET+6*, SET+7
RAXSTS PAT+21*, PAT+23, EXIT+2!
RAXSTS(0 PAT+23*
RAY2 PAT+17*, PAT+19, EXIT+2!
RAY3 PAT+18*, PAT+19, PAT+21, PAT+31, EXIT+2!, ASK+8
RAYN ASK+12~, ASK+19*, ASK+20
U PAT+21, PAT+22, PAT+23, PAT+30, PAT+31, ASK+8, SET+5, SET+6
X EXIT+2!, ASK+12!, ASK+19!
XQUIT EN+7!
Y PAT+5, PAT+7, EXIT+2!, ASK+12!, ASK+19!
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