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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PSORRX2

Package: Outpatient Pharmacy

Routine: PSORRX2


Information

PSORRX2 ;AITC/BWF - Remote RX driver ;8/30/16 12:00am

Source Information

Source file <PSORRX2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 2 APPERROR^%ZTER  ($$FMADD,$$NOW)^XLFDT  
Outpatient Pharmacy 1 LOGDATA^PSORWRAP  
VA FileMan 1 ^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: 4

Package Total Caller Graph
Outpatient Pharmacy 3 PSO LM REFILL REMOTE ORDER  PSO LM REMOTE PARTIAL  PSORRX1  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
READMSG(HLDAT,TYPE,LOCDRUG) ;
REFNTE(DATA,HLDAT) ;
; Message details
REFPID(DATA,HLDAT) ;
; patient IEN from remote site
REFORC(DATA,HLDAT,TYPE) ;
REFRXD(DATA,HLDAT,TYPE)
PSORPH(DUZ) ;

External References

Name Field # of Occurrence
APPERROR^%ZTER READMSG+24, READMSG+29
^DIR READMSG+47, READMSG+55, READMSG+62
LOGDATA^PSORWRAP READMSG+39, READMSG+51
$$FMADD^XLFDT READMSG+15
$$NOW^XLFDT READMSG+15

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,ORERR
  • Line Location: READMSG+44
Function Call: WRITE
  • Prompt: ORERR(PSOERR)
  • Line Location: READMSG+45
Function Call: WRITE
  • Prompt: !!,"The "_$S($G(PRXNUM):"partial ",1:"refill ")_"for RX #"_RRXNUM_" has been recorded on the prescription"
  • Line Location: READMSG+49
Function Call: WRITE
  • Prompt: !,"at the host system.",!
  • Line Location: READMSG+50
Function Call: WRITE
  • Prompt: !!,OREMSG1_". "_$S($L(OREMSG2):OREMSG2_".",1:""),!
  • Line Location: READMSG+54
Function Call: WRITE
  • Prompt: !,MSGTXT
  • Line Location: READMSG+61
Routine Call
  • DIR
  • Line Location:
    • READMSG+47
    • READMSG+55
    • READMSG+62

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XUSEC("PSORPH" PSORPH+1

Label References

Name Line Occurrences
REFNTE READMSG+12
REFORC READMSG+31
REFPID READMSG+16
REFRXD READMSG+33

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DATA REFNTE~, REFNTE+3, REFNTE+4, REFPID~, REFPID+2, REFORC~, REFORC+2, REFORC+3, REFORC+4, REFORC+5
, REFORC+6, REFORC+11, REFORC+12, REFORC+13, REFORC+15, REFORC+16, REFORC+18, REFORC+19, REFORC+21, REFORC+22
, REFORC+23, REFORC+24, REFORC+25, REFORC+28*, REFORC+29, REFORC+31, REFRXD~, REFRXD+2, REFRXD+3, REFRXD+4
, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+11, REFRXD+12, REFRXD+14, REFRXD+15, REFRXD+17, REFRXD+18
, REFRXD+22
>> DFN REFORC+11
DIR READMSG+2~
DIR("A" READMSG+46*, READMSG+55*, READMSG+62*
DIR(0 READMSG+46*, READMSG+55*, READMSG+62*
DNAME REFRXD+1~
DSUPP REFRXD+1~
DUZ PSORPH~, PSORPH+1
GBLLOC READMSG+2~
HINFO REFRXD+1~
>> HL("ECH" READMSG+3
>> HL("FS" READMSG+3
HLDAT READMSG~, READMSG+12, READMSG+13, READMSG+15, READMSG+16, READMSG+31, READMSG+33, READMSG+35, READMSG+39, READMSG+51
, REFNTE~, REFNTE+6*, REFNTE+7*, REFNTE+9, REFPID~, REFPID+2*, REFORC~, REFORC+7*, REFORC+8*, REFORC+9*
, REFORC+10*, REFORC+11*, REFORC+12*, REFORC+13*, REFORC+15*, REFORC+16*, REFORC+18*, REFORC+19*, REFORC+21*, REFORC+22*
, REFORC+23*, REFORC+24, REFORC+25, REFORC+29, REFORC+30*, REFORC+31*, REFRXD~, REFRXD+2*, REFRXD+3*, REFRXD+4*
, REFRXD+5*, REFRXD+6*, REFRXD+7*, REFRXD+8*, REFRXD+11*, REFRXD+12, REFRXD+14*, REFRXD+15, REFRXD+17, REFRXD+18
, REFRXD+24
>> HLNEXT READMSG+6
>> HLNODE READMSG+8*, READMSG+9, READMSG+10, READMSG+11, READMSG+12, READMSG+14, READMSG+16, READMSG+17, READMSG+21, READMSG+26
, READMSG+31, READMSG+32, READMSG+33
>> HLNODE( READMSG+8
HLQUIT READMSG+2~, READMSG+5*, READMSG+6
I REFRXD+1~, REFRXD+21*, REFRXD+22
LBLOOP READMSG+2~
LBLOVF READMSG+2~
LBTXT READMSG+2~
LOCDRUG READMSG~, READMSG+39, READMSG+51, REFORC+11
LOOP READMSG+7~, READMSG+8*
MSGCNT READMSG+2~, READMSG+59*, READMSG+60
MSGDONE READMSG+2~, READMSG+58*, READMSG+59, READMSG+60*
MSGTXT READMSG+2~, READMSG+60*, READMSG+61
NTETEXT REFNTE+2~, REFNTE+4*, REFNTE+6, REFNTE+7, REFNTE+9
NTETYP REFNTE+2~
NTETYPE REFNTE+2~, REFNTE+3*, REFNTE+5, REFNTE+8
ORCS READMSG+2~, READMSG+3*, READMSG+21, READMSG+26, REFPID+2, REFORC+2, REFORC+3, REFORC+11, REFORC+12, REFORC+15
, REFORC+18, REFORC+19, REFORC+21, REFORC+22, REFORC+23, REFORC+24, REFORC+25, REFORC+29, REFORC+31, REFRXD+4
, REFRXD+17, REFRXD+23
OREMSG1 READMSG+2~, READMSG+5*, READMSG+10*, READMSG+34, READMSG+52, READMSG+54
OREMSG2 READMSG+2~, READMSG+5*, READMSG+54
ORERR READMSG+2~, READMSG+5*, READMSG+9*, READMSG+22*, READMSG+27*, READMSG+34, READMSG+35*, READMSG+40, READMSG+43*, READMSG+44
, READMSG+45
ORERR( READMSG+45
ORERR(1 READMSG+23*, READMSG+28*
ORES READMSG+2~, READMSG+3*
ORFS READMSG+2~, READMSG+3*, READMSG+9, READMSG+10, READMSG+13, READMSG+21, READMSG+26, REFNTE+3, REFNTE+4, REFPID+2
, REFORC+2, REFORC+3, REFORC+4, REFORC+5, REFORC+6, REFORC+11, REFORC+12, REFORC+13, REFORC+15, REFORC+16
, REFORC+18, REFORC+19, REFORC+21, REFORC+22, REFORC+23, REFORC+24, REFORC+25, REFORC+28, REFORC+29, REFORC+31
, REFRXD+2, REFRXD+3, REFRXD+4, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+11, REFRXD+12, REFRXD+14
, REFRXD+15, REFRXD+17, REFRXD+18, REFRXD+22
ORQUIT READMSG+2~, READMSG+5*, READMSG+6
ORRS READMSG+2~, READMSG+3*, REFPID+2, REFORC+12, REFORC+15, REFORC+18, REFORC+19, REFORC+21, REFORC+22, REFORC+23
, REFRXD+17, REFRXD+22
ORSMSG READMSG+2~, READMSG+13*, READMSG+55, READMSG+56, READMSG+60
ORSS READMSG+2~, READMSG+3*, REFORC+11, REFORC+28, REFORC+31
PHARMFN REFORC+1~
PHARMLN REFORC+1~
PHNAME REFORC+1~, REFORC+6*, REFORC+10
PHONE REFORC+1~
PNAME REFORC+1~
>> PRXNUM READMSG+26, READMSG+36, READMSG+49
PSOERR READMSG+41~, READMSG+45*
PSORRBLD READMSG+42!, READMSG+53!
PSORXMM READMSG+2~, READMSG+25*, READMSG+30*, READMSG+48, READMSG+57
QTY REFRXD+1~
REQSITE REFORC+1~
RPDATE REFORC+1~, REFORC+4*, REFORC+9, REFORC+15, REFORC+18, REFORC+21
RPROV REFORC+1~, REFORC+5*
>> RRXNUM READMSG+21, READMSG+36, READMSG+49
RXDATE REFORC+1~
RXNUM REFORC+1~, REFORC+2*, REFORC+7, REFORC+11
RXSITE REFORC+1~, REFORC+3*, REFORC+8, REFORC+30
SIG1D REFRXD+1~, REFRXD+20*, REFRXD+21, REFRXD+22*
SIGDAT REFRXD+1~, REFRXD+22*, REFRXD+23
SIGNUM REFRXD+1~, REFRXD+23*, REFRXD+24
SIGTXT REFRXD+1~, REFRXD+23*, REFRXD+24
TYPE READMSG~, READMSG+4*, READMSG+31, READMSG+33, READMSG+39, READMSG+51, REFORC~, REFORC+17, REFORC+20, REFRXD~
, REFRXD+10, REFRXD+13
U READMSG+15, REFNTE+6, REFNTE+7, REFPID+2, REFORC+7, REFORC+8, REFORC+9, REFORC+10, REFORC+11, REFORC+12
, REFORC+13, REFORC+15, REFORC+16, REFORC+18, REFORC+19, REFORC+21, REFORC+22, REFORC+23, REFORC+29, REFORC+30
, REFORC+31, REFRXD+2, REFRXD+3, REFRXD+4, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+11, REFRXD+14
, REFRXD+17
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All