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) ;
MESS(PSSMTYPE) ;

External References

Name Field # of Occurrence
APPERROR^%ZTER READMSG+24, READMSG+29
^DIR READMSG+48, READMSG+56, READMSG+63, MESS+6
LOGDATA^PSORWRAP READMSG+40, READMSG+52
$$FMADD^XLFDT READMSG+15
$$NOW^XLFDT READMSG+15

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,ORERR
  • Line Location: READMSG+45
Function Call: WRITE
  • Prompt: ORERR(PSOERR)
  • Line Location: READMSG+46
Function Call: WRITE
  • Prompt: !!,"The "_$S($G(PRXNUM):"partial ",1:"refill ")_"for RX #"_RRXNUM_" has been recorded on the prescription"
  • Line Location: READMSG+50
Function Call: WRITE
  • Prompt: !,"at the host system.",!
  • Line Location: READMSG+51
Function Call: WRITE
  • Prompt: !!,OREMSG1_". "_$S($L(OREMSG2):OREMSG2_".",1:""),!
  • Line Location: READMSG+55
Function Call: WRITE
  • Prompt: !,MSGTXT
  • Line Location: READMSG+62
Function Call: WRITE
  • Prompt: !,"The OneVA "_$S(PSSMTYPE:"partial fill",1:"refill")_" cannot be sent to the Outpatient Pharmacy Automation"
  • Line Location: MESS+2
Function Call: WRITE
  • Prompt: !,"Interface (OPAI) to be filled by the Automated Dispensing Device (ADD)."
  • Line Location: MESS+3
Function Call: WRITE
  • Prompt: !,"at the same time. The remote site does not have this capability yet."
  • Line Location: MESS+5
Function Call: WRITE
  • Prompt: !
  • Line Location: MESS+6
Function Call: WRITE
  • Prompt: !
  • Line Location: MESS+6
Routine Call
  • DIR
  • Line Location:
    • READMSG+48
    • READMSG+56
    • READMSG+63
    • MESS+6

Global Variables Directly Accessed

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

Label References

Name Line Occurrences
MESS READMSG+36
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+14, REFORC+16, REFORC+17, REFORC+19, REFORC+20, REFORC+22
, REFORC+23, REFORC+24, REFORC+25, REFORC+26, REFORC+29*, REFORC+30, REFORC+32, REFRXD~, REFRXD+2, REFRXD+3
, REFRXD+4, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+10, REFRXD+11, REFRXD+15, REFRXD+16, REFRXD+18
, REFRXD+19, REFRXD+21, REFRXD+22, REFRXD+26
>> DFN REFORC+11
DIR READMSG+2~, MESS+1~, MESS+6!
DIR("A" READMSG+47*, READMSG+56*, READMSG+63*, MESS+6*
DIR(0 READMSG+47*, READMSG+56*, READMSG+63*, MESS+6*
DIROUT MESS+1~
DIRUT MESS+1~
DNAME REFRXD+1~
DSUPP REFRXD+1~
DTOUT MESS+1~
DUOUT MESS+1~
DUZ PSORPH~, PSORPH+1
GBLLOC READMSG+2~
HINFO REFRXD+1~
>> HL("ECH" READMSG+3
HLDAT READMSG~, READMSG+12, READMSG+13, READMSG+15, READMSG+16, READMSG+31, READMSG+33, READMSG+35, READMSG+36, READMSG+40
, READMSG+52, REFNTE~, REFNTE+6*, REFNTE+7*, REFNTE+9, REFNTE+11, REFNTE+12, REFPID~, REFPID+2*, REFORC~
, REFORC+7*, REFORC+8*, REFORC+9*, REFORC+10*, REFORC+11*, REFORC+12*, REFORC+14*, REFORC+16*, REFORC+17*, REFORC+19*
, REFORC+20*, REFORC+22*, REFORC+23*, REFORC+24*, REFORC+25, REFORC+26, REFORC+30, REFORC+31*, REFORC+32*, REFRXD~
, REFRXD+2*, REFRXD+3*, REFRXD+4*, REFRXD+5*, REFRXD+6*, REFRXD+7*, REFRXD+8*, REFRXD+15*, REFRXD+16*, REFRXD+18*
, REFRXD+19*, REFRXD+21, REFRXD+22, REFRXD+28*
>> 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 REFNTE+2~, REFRXD+1~, REFRXD+25*, REFRXD+26
LBLOOP READMSG+2~
LBLOVF READMSG+2~
LBTXT READMSG+2~
LOCDRUG READMSG~, READMSG+40, READMSG+52, REFORC+11
LOOP READMSG+7~, READMSG+8*
MSGCNT READMSG+2~, READMSG+60*, READMSG+61
MSGDONE READMSG+2~, READMSG+59*, READMSG+60, READMSG+61*
MSGTXT READMSG+2~, READMSG+61*, READMSG+62
NTETEXT REFNTE+2~, REFNTE+4*, REFNTE+6, REFNTE+7, REFNTE+9, REFNTE+11, REFNTE+12
NTETYP REFNTE+2~
NTETYPE REFNTE+2~, REFNTE+3*, REFNTE+5, REFNTE+8, REFNTE+10
ORCS READMSG+2~, READMSG+3*, READMSG+21, READMSG+26, REFPID+2, REFORC+2, REFORC+3, REFORC+11, REFORC+12, REFORC+16
, REFORC+19, REFORC+20, REFORC+22, REFORC+23, REFORC+24, REFORC+25, REFORC+26, REFORC+30, REFORC+32, REFRXD+4
, REFRXD+21, REFRXD+27
OREMSG1 READMSG+2~, READMSG+5*, READMSG+10*, READMSG+34, READMSG+53, READMSG+55
OREMSG2 READMSG+2~, READMSG+5*, READMSG+55
ORERR READMSG+2~, READMSG+5*, READMSG+9*, READMSG+22*, READMSG+27*, READMSG+34, READMSG+35*, READMSG+41, READMSG+44*, READMSG+45
, READMSG+46
ORERR( READMSG+46
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+14, REFORC+16
, REFORC+17, REFORC+19, REFORC+20, REFORC+22, REFORC+23, REFORC+24, REFORC+25, REFORC+26, REFORC+29, REFORC+30
, REFORC+32, REFRXD+2, REFRXD+3, REFRXD+4, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+10, REFRXD+11
, REFRXD+15, REFRXD+16, REFRXD+18, REFRXD+19, REFRXD+21, REFRXD+22, REFRXD+26
ORQUIT READMSG+2~, READMSG+5*, READMSG+6
ORRS READMSG+2~, READMSG+3*, REFPID+2, REFORC+12, REFORC+16, REFORC+19, REFORC+20, REFORC+22, REFORC+23, REFORC+24
, REFRXD+21, REFRXD+26
ORSMSG READMSG+2~, READMSG+13*, READMSG+56, READMSG+57, READMSG+61
ORSS READMSG+2~, READMSG+3*, REFORC+11, REFORC+29, REFORC+32
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+37, READMSG+50
PSO59P02 READMSG+2~
PSOERR READMSG+42~, READMSG+46*
>> PSOHLSV("# OF REFILLS" , REFRXD+6*, REFRXD+12
>> PSOHLSV("CAP" REFRXD+10*
>> PSOHLSV("EXP DT" , REFRXD+8*
>> PSOHLSV("HOST PARIEN" , READMSG+40, REFRXD+19*,  RFIEN" , READMSG+40, REFRXD+16*,  RX LOG IEN" , REFRXD+11*
>> PSOHLSV("ISSU ED DT" , REFORC+14*
>> PSOHLSV("ORIG FILL DT" , REFORC+13*
>> PSOHLSV("PROVIDER" REFORC+33*
>> PSOHLSV("ROUTING" REFRXD+9*
>> PSOHLSV("SIG" REFRXD+28*
>> PSOHLSV("TOTA L FILLS" , REFRXD+12*
PSONR REFNTE+2~
PSONRDAT REFNTE+2~
PSONRNUM REFNTE+2~
PSONRTXT REFNTE+2~
PSORRBLD READMSG+43!, READMSG+54!
PSORXMM READMSG+2~, READMSG+25*, READMSG+30*, READMSG+49, READMSG+58
PSOSUB REFNTE+2~
PSOSUBX REFNTE+2~
PSSMTYPE MESS~, MESS+2
QTY REFRXD+1~
REQSITE REFORC+1~
RPDATE REFORC+1~, REFORC+4*, REFORC+9, REFORC+16, REFORC+19, REFORC+22
RPROV REFORC+1~, REFORC+5*, REFORC+33
>> RRXNUM READMSG+21, READMSG+37, READMSG+50
RXDATE REFORC+1~
RXNUM REFORC+1~, REFORC+2*, REFORC+7, REFORC+11
RXSITE REFORC+1~, REFORC+3*, REFORC+8, REFORC+31
SIG1D REFRXD+1~, REFRXD+24*, REFRXD+25, REFRXD+26*
SIGDAT REFRXD+1~, REFRXD+26*, REFRXD+27
SIGNUM REFRXD+1~, REFRXD+27*, REFRXD+28*
SIGTXT REFRXD+1~, REFRXD+27*, REFRXD+28
TYPE READMSG~, READMSG+4*, READMSG+31, READMSG+33, READMSG+40, READMSG+52, REFORC~, REFORC+18, REFORC+21, REFRXD~
, REFRXD+14, REFRXD+17
U READMSG+15, REFNTE+6, REFNTE+7, REFPID+2, REFORC+7, REFORC+8, REFORC+9, REFORC+10, REFORC+11, REFORC+12
, REFORC+14, REFORC+16, REFORC+17, REFORC+19, REFORC+20, REFORC+22, REFORC+23, REFORC+24, REFORC+30, REFORC+31
, REFORC+32, REFRXD+2, REFRXD+3, REFRXD+4, REFRXD+5, REFRXD+6, REFRXD+7, REFRXD+8, REFRXD+15, REFRXD+18
, REFRXD+21
X MESS+1~
Y MESS+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All