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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: RAORDR

Package: Radiology Nuclear Medicine

Routine: RAORDR


Information

RAORDR ;ABV/SCR/MKN - Refer Pending/Hold Requests ; Apr 22, 2021@12:10:57

Source Information

Source file <RAORDR.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 5 DD^%DT  ^DIC  $$GET1^DIQ  ^DIR  ^DIWP  
Kernel 2 $$NOW^XLFDT  $$TRIM^XLFSTR  
Order Entry Results Reporting 1 CMT^ORQQCN2  
Radiology Nuclear Medicine 1 ($$MAKECONS,ERROR)^RAORDR1  
Registration 1 DEM^VADPT  

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
Radiology Nuclear Medicine 2 RA ORDERREF  RAORDR2  

Entry Points

Name Comments DBIA/ICR reference
ENT ;
GETPAT ;
KILL ;
AUTOHOLD(ORIFN) ;
HDR ; header
GETORD ;
SELORDER ;
GETINFO(RAARAY) ;this function collects information that would be collected from a SEOC in Consult Toolbox
GETMAIN ;Ask the main questions and fill in the answers at tag GETJSUB
BRKLINE(OUT,LINE,LGTH) ;Break line down into 80 character lines in OUT

External References

Name Field # of Occurrence
DD^%DT SELORDER+7, SELORDER+10
^DIC GETPAT+3
$$GET1^DIQ GETPAT+26, SELORDER+17, GETMAIN+6, GETMAIN+12, GETMAIN+14
^DIR GETPAT+7, SELORDER+24, GETMAIN+11, GETMAIN+16
^DIWP BRKLINE+3
CMT^ORQQCN2 GETPAT+35
$$MAKECONS^RAORDR1 GETPAT+21
ERROR^RAORDR1 GETPAT+34
DEM^VADPT GETORD+2
$$NOW^XLFDT GETPAT+33
$$TRIM^XLFSTR BRKLINE+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: GETPAT+9
Function Call: WRITE
  • Prompt: !,"No Imaging orders found for this patient",!
  • Line Location: GETPAT+17
Function Call: WRITE
  • Prompt: !!,"**NO Consult created**",!
  • Line Location: GETPAT+38
Function Call: WRITE
  • Prompt: !?(80-$L(RAHDR)/2),RAHDR
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?35,"SSN",?47,"PROCEDURE"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,?10,"DATE DESIRED",?25,"DATE ORDERED",?55,$S(RAREQSTA=3:"HOLD DT",1:"ORDERING PROVIDER")
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !?10,"IMAGING LOCATION",?50,"REQUEST STATUS"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,QQ
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !,"You selected number "_Y
  • Line Location: SELORDER+29
Function Call: WRITE
  • Prompt: !!,"Justification for Community Care"
  • Line Location: GETMAIN+3
Routine Call
  • DIC
  • Line Location:
    • GETPAT+3
Routine Call
  • DIR
  • Line Location:
    • GETPAT+7
    • SELORDER+24
    • GETMAIN+11
    • GETMAIN+16

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^DPT - [#2] Classic Fileman Calls
^RAO(75.1 - [#75.1] GET1^DIQ
^RA(75.3 - [#75.3] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(123 - [#123] GETPAT+34, GETPAT+36, AUTOHOLD+8
^OR(100 - [#100] GETPAT+25, AUTOHOLD+6
^RA(75.3 - [#75.3] GETMAIN+5
^RA(79.1 - [#79.1] SELORDER+16
^RAMIS(71 - [#71] SELORDER+14
^RAO(75.1 - [#75.1] GETPAT+11, GETPAT+12, GETPAT+13, SELORDER+5
^SC - [#44] SELORDER+16
^TMP("RAORDR" GETPAT+2!
^UTILITY($J BRKLINE+3!, BRKLINE+4, BRKLINE+5!
^VA(200 - [#200] SELORDER+15

Label References

Name Line Occurrences
$$AUTOHOLD GETPAT+13
BRKLINE GETPAT+30
GETMAIN GETINFO+5
GETORD GETPAT+19
GETPAT GETPAT+7, GETPAT+17, GETPAT+20, GETPAT+40
HDR SELORDER+2
KILL GETPAT+39
SELORDER SELORDER+26

Naked Globals

Name Field # of Occurrence
^(0 SELORDER+14, SELORDER+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT GETMAIN+2~
CT BRKLINE+1~, BRKLINE+3*, BRKLINE+4*
DFN GETORD+1~, GETORD+2*
DIC ENT+2~, GETPAT+2!, GETPAT+3*!, KILL+1!
DIC(0 GETPAT+3*
DIR ENT+2~, GETPAT+7!, KILL+1!, SELORDER+19!, SELORDER+25!, GETINFO+1~, GETMAIN+11~, GETMAIN+12!, GETMAIN+19!
DIR("?" GETMAIN+15*
DIR("A" SELORDER+21*, SELORDER+22*, GETMAIN+15*
DIR(0 GETPAT+7*, SELORDER+20*, SELORDER+23*, GETMAIN+11*, GETMAIN+15*
DIRUT ENT+2~, GETPAT+2!, GETPAT+4, KILL+1!, SELORDER+19!, SELORDER+28, GETINFO+1~, GETMAIN+11, GETMAIN+16, GETMAIN+19!
DIWL BRKLINE+1~, BRKLINE+3*
DIWR BRKLINE+1~, BRKLINE+3*
DTOUT ENT+2~
DUOUT ENT+2~
I GETPAT+24~, GETPAT+31*, BRKLINE+1~, BRKLINE+4*
IOF HDR+1
LGTH BRKLINE~, BRKLINE+3
LINE BRKLINE~, BRKLINE+2*, BRKLINE+3
OR123 AUTOHOLD+4~
ORACT AUTOHOLD+4~, AUTOHOLD+6*
ORCCFND AUTOHOLD+4~, AUTOHOLD+6*, AUTOHOLD+8*, AUTOHOLD+9
ORIFN AUTOHOLD~, AUTOHOLD+5, AUTOHOLD+6
OUT BRKLINE~
OUT( BRKLINE+4*
QQ ENT+2~, KILL+1!, HDR+6, GETORD+4*
RA123IEN ENT+2~, GETPAT+25*, GETPAT+26*, GETPAT+27, GETPAT+34, GETPAT+35, GETPAT+36, GETPAT+38, KILL+1!
RA44NA ENT+2~, KILL+1!
RAANS ENT+2~, KILL+1!
RAANS2 ENT+2~, KILL+1!
RAARAY ENT+2~, KILL+1!, GETINFO~
RAARAY("THIRDPARTY" GETINFO+7*
RAARAY("TRAUMA" GETINFO+8*
RAARAY("TYPEOFSERVICE" GETINFO+6*
RAARRAY ENT+2~, ENT+9*, GETPAT+2!, KILL+1!
RAARRAY( GETPAT+16*, GETPAT+21, SELORDER+3, SELORDER+22
RAARRAY(1 GETPAT+17
RACDW ENT+3~, KILL+1!
RACDWN ENT+3~, KILL+1!
RACIENS ENT+3~, ENT+9*, KILL+1!, KILL+5*, SELORDER+19*
RACNT ENT+3~, KILL+1!
RACOM ENT+3~, GETPAT+35, KILL+1!
RACOM( GETPAT+31*
RACOM(1 GETPAT+28*
RACOM(2 GETPAT+28*
RACOM(3 GETPAT+28*
RACOMCT ENT+3~, KILL+1!
RACOUNT ENT+3~, GETPAT+1*, GETPAT+10*, GETPAT+16*, GETPAT+18*, KILL+2!, GETORD+3*, SELORDER+3*, SELORDER+4, SELORDER+12
SELORDER+22, GETINFO+1~
RADD ENT+3~, KILL+2!, SELORDER+8*, SELORDER+15
RADFN ENT+3~, GETPAT+6*, GETPAT+11, KILL+2!, GETORD+2
RADFNARY GETORD+1~
RADT ENT+3~, GETPAT+33*, GETPAT+35, KILL+2!, SELORDER+5*, SELORDER+6
RAEND ENT+3~, KILL+2!
RAEOS GETPAT+1!, GETPAT+11, SELORDER+2
RAERR ENT+4~, GETPAT+35, KILL+2!
RAEXP ENT+7~, GETPAT+29, GETPAT+30, KILL+4!, GETMAIN+17*
RAEXPL ENT+4~, KILL+2!
RAF ENT+4~, GETPAT+18*, KILL+2!, SELORDER+4*, SELORDER+20, SELORDER+26*
RAGMRC1 GETINFO+1~
RAHDR ENT+4~, KILL+2!, HDR+2, SELORDER+1*
RAI ENT+4~, KILL+2!, GETMAIN+2~, GETMAIN+5*, GETMAIN+6, GETMAIN+7, GETMAIN+8
RAILOC ENT+4~, ENT+9*, KILL+2!, KILL+5*
RAILOC1 ENT+4~, KILL+2!
RAJJ GETMAIN+2~, GETMAIN+6*, GETMAIN+7, GETMAIN+8
RAJN GETMAIN+2~*, GETMAIN+7*, GETMAIN+8*, GETMAIN+10*, GETMAIN+11
RAJUST ENT+4~, KILL+2!, GETINFO+3*
RAJUST2 ENT+4~, KILL+2!
RALADT GETPAT+15*, GETORD+1~, SELORDER+5*, SELORDER+9
RALOCNM ENT+4~, KILL+2!
RAMAND ENT+4~
RAMORE GETORD+1~, SELORDER+3*, SELORDER+22*, SELORDER+26, SELORDER+27
RAN ENT+5~, KILL+2!
RANOW ENT+5~, KILL+2!
RANOW2 ENT+5~, KILL+3!
RAO ENT+5~, KILL+3!, SELORDER+3*, SELORDER+5, SELORDER+17
RAO(0 GETPAT+13*, GETPAT+14, GETPAT+15
RAOBEG ENT+5~, KILL+3!
RAOEND ENT+5~, KILL+3!
RAOIFN ENT+5~, GETPAT+11*, GETPAT+12, GETPAT+13, GETPAT+16, KILL+3!
RAOPHY ENT+5~, GETPAT+14*, KILL+3!, SELORDER+15
RAORD0 ENT+5~, KILL+3!, SELORDER+5*
RAORDIEN ENT+5~, GETPAT+21*, GETPAT+25, KILL+3!
RAPOP ENT+5~, KILL+3!
RAPR ENT+6~, KILL+3!, SELORDER+5*, SELORDER+14
RAPRTYDT ENT+6~, KILL+3!, SELORDER+11*, SELORDER+15
RAQUES ENT+6~, KILL+3!
RAQUIT ENT+6~, GETPAT+4*, GETPAT+5, GETPAT+8*, GETPAT+20, KILL+3!, GETORD+1~, SELORDER+3*, SELORDER+18*, GETINFO+3*
GETMAIN+11*, GETMAIN+13*, GETMAIN+16*
RAREA GETORD+1~
>> RAREAS GETPAT+28, GETMAIN+12*, GETMAIN+13, GETMAIN+14, GETMAIN+15
RAREASON ENT+6~, KILL+3!
RAREQSTA ENT+6~, GETPAT+11*, GETPAT+13, KILL+4!, HDR+4
RARES ENT+6~, GETPAT+18*, GETPAT+20, KILL+4!, SELORDER+30*
RARPT GETINFO+1~, GETINFO+3*
RASELOC ENT+6~, GETPAT+1*, KILL+4!, SELORDER+5*, SELORDER+16
RASTART ENT+6~, KILL+4!
RASUB ENT+6~, KILL+4!
RAT ENT+7~, KILL+4!, SELORDER+4*, SELORDER+20, SELORDER+22
RAUCID ENT+7~, GETPAT+25*, GETPAT+26*, GETPAT+37, KILL+4!
RET GETPAT+24~, GETPAT+30, KILL+4!
RET( GETPAT+31
U GETPAT+13, GETPAT+14, GETPAT+15, GETPAT+28, SELORDER+5, SELORDER+14, SELORDER+15, SELORDER+16, SELORDER+23, GETMAIN+15
VADM GETORD+1~, GETORD+2!
VADM(1 SELORDER+12
VADM(2 SELORDER+13
X ENT+7~, KILL+4!, AUTOHOLD+4~, AUTOHOLD+6*, AUTOHOLD+7*, AUTOHOLD+8*, BRKLINE+1~, BRKLINE+3*
Y ENT+7~, GETPAT+5, GETPAT+6, GETPAT+7, GETPAT+8*, GETPAT+21, KILL+4!, SELORDER+6*, SELORDER+8, SELORDER+9*
SELORDER+11, SELORDER+26, SELORDER+27, SELORDER+29, SELORDER+30, GETINFO+1~, GETMAIN+11~, GETMAIN+12!, GETMAIN+17, GETMAIN+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 |  Naked Globals |  Local Variables  | All