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

Package: Outpatient Pharmacy

Routine: PSORREF0


Information

PSORREF0 ;AITC/BWF Remote RX refill API ;7/15/16 1:57am

Source Information

Source file <PSORREF0.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Outpatient Pharmacy 4 EN^PSOR52  NEXT^PSOUTIL  FSIG^PSOUTLA  ($$DEACHK,EN2)^PSOUTLA1  
VA FileMan 2 DD^%DT  FIELD^DID  
List Manager 1 PAUSE^VALM1  

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
Outpatient Pharmacy 1 PSORREF  

Entry Points

Name Comments DBIA/ICR reference
PROCESS(PSORMSG) ;
PROCESSX ;D:$G(PSOREF("OLD FILL DATE"))]"" SUSDATEK^PSOUTIL(.PSOREF)
DSPLY ;
DSPLYX
CHECK ;
CHECKX
CKQ ;
CHKDIV
CHKDIVX
NUMBER
DATES
EDATE
DATESX
DIR ;
EN(PSOREF)
LOOK ;this entry is used to try and find current med order
STATUS(PSOREA,PSOSTAT,PSORMSG) ;

External References

Name Field # of Occurrence
DD^%DT EDATE+18
FIELD^DID STATUS+14
EN^PSOR52 PROCESS+5
NEXT^PSOUTIL DATES
FSIG^PSOUTLA DSPLY+1
$$DEACHK^PSOUTLA1 CHECK+25
EN2^PSOUTLA1 DSPLY+2
PAUSE^VALM1 CKQ+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?24,$G(BSIG(PSREV))
  • Line Location: DSPLY+3
Function Call: WRITE
  • Prompt: !!,$C(7),"Cannot be refilled until "_Y_"."
  • Line Location: EDATE+17

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] FIELD^DID

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(52 CHECK+17
^PS(52.5 - [#52.5] CHECK+14
^PSDRUG - [#50] CHECK+2, CHECK+23, LOOK+1
^PSRX - [#52] PROCESS+1, DSPLY+1, DSPLY+2, NUMBER+1, LOOK+1

Label References

Name Line Occurrences
CHECK PROCESS+5
CHECKX CHECK+13, CHECK+14, CHECK+16, CHECK+19, CHECK+20, CHECK+25, CKQ+1
CHKDIV CHECK+19
CKQ CHECK+2, CHECK+4
DATES CHECK+28
DATESX EDATE+1, EDATE+4
DSPLY PROCESS+4
EDATE DATES+1
LOOK CHECK+11
NUMBER CHECK+20
PROCESS EN+1
PROCESSX PROCESS+4, PROCESS+5
STATUS CHECK+8

Naked Globals

Name Field # of Occurrence
^("I" CHECK+2
^("SIG" PROCESS+1
^("STA" PROCESS+1
^(2 PROCESS+1
^(3 PROCESS+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BSIG DSPLY+1!, DSPLY+4!
BSIG( DSPLY+1*, DSPLY+3
BSIG(1 DSPLY+3
DRUG EN+1!, LOOK+1*, LOOK+2, LOOK+3!
DSMSG STATUS+1~, STATUS+2*, STATUS+3*, STATUS+4*, STATUS+5*, STATUS+6*, STATUS+7*, STATUS+8*, STATUS+9*, STATUS+10*
, STATUS+18*, STATUS+21
DT CHECK+2, DATES+2
FSIG DSPLY+1!, DSPLY+2!
FSIG( DSPLY+1
PSOA STATUS+1~, STATUS+13*, STATUS+17*, STATUS+18, STATUS+19!
PSOB STATUS+1~, STATUS+15*, STATUS+16, STATUS+17, STATUS+19!
>> PSOBBC("DONE" LOOK+2*
>> PSOBBC("QFLG" DATES+1
PSODAY CHECK+22~, CHECK+24*, CHECK+25
PSODEA CHECK+22~, CHECK+23*, CHECK+25
PSODF PROCESS+1!, PROCESS+5, CHECK+10, CHECK+11, EN+1!, LOOK+2*
>> PSODFN CHECK+4
PSODRG CHECK+22~, CHECK+23*
>> PSOERR CHECK+7
>> PSOPAR CHECK+2, DATES+1
PSOREA CHECK+7*, CHECK+8!, STATUS~, STATUS+3, STATUS+4, STATUS+5, STATUS+6, STATUS+7, STATUS+8, STATUS+9
, STATUS+10, STATUS+11
PSOREF PROCESS+5, DATES, EN~
PSOREF("# OF REFILLS" , NUMBER*, NUMBER+1*, NUMBER+2
PSOREF("DAYS SUPPLY" , PROCESS+2*
PSOREF("DFLG" PROCESS+4*, PROCESS+5, CHECK+6, CHECK+7*, CHECK+12*, CHECK+13, CHECK+14*, CHECK+18*, CHECK+19, CHECK+20*
CHECK+27*, CKQ+1*, DATES+1, DATES+8*, EDATE+3*, EDATE+6*, EDATE+18*
PSOREF("FILL DATE" , DATES+2*, DATES+5, DATES+6, DATES+7, EDATE+1, EDATE+2, EDATE+4, EDATE+15
PSOREF("IRXN" PROCESS+1, PROCESS+3, DSPLY+1, DSPLY+2, CHECK+6, CHECK+14, CHECK+25, NUMBER+1, LOOK+1, LOOK+2*
PSOREF("LAST REFILL DATE" , EDATE*, EDATE+1, EDATE+4, EDATE+5
PSOREF("NUMBER" CHECK+20, NUMBER+2*
PSOREF("PSODFN" PROCESS+1*, CHECK+4
PSOREF("RX0" PROCESS+1*, PROCESS+2, CHECK+2, CHECK+3, CHECK+4, CHECK+7, CHECK+20, CHECK+23, CHECK+24
PSOREF("RX2" PROCESS+1*, DATES
PSOREF("RX3" PROCESS+1*, EDATEEDATE+15, EDATE+18
PSOREF("RXSTATUS" CHECK+15*, CHECK+16, CHECK+17
PSOREF("SIG" PROCESS+1*
PSOREF("STA" PROCESS+1*, CHECK+7, CHECK+15
PSOREF("STOP DATE" , DATES*, DATES+5, DATES+7, DATES+8
PSORMSG PROCESS~, CHECK+8, STATUS~
PSORMSG(1 CHECK+3*, CHECK+4*, CHECK+7*, CHECK+10*, CHECK+14*, CHECK+18*, CHECK+20*, CHECK+26*, DATES+6*, EDATE+2*
EDATE+5*, EDATE+18*, STATUS+2, STATUS+21*
PSORMSG(2 DATES+7*
PSORMSG(3 DATES+8*
>> PSOSD CHECK+6, LOOK+2
>> PSOSD( CHECK+6, LOOK+2
PSOSTAT CHECK+7*, CHECK+8!, STATUS~, STATUS+12*, STATUS+13
PSOX CHECK+5*, CHECK+6*, CHECK+13!, CHECK+17*, NUMBER!, NUMBER+1*, LOOK+1*, LOOK+2*
PSOY CHECK+5*, CHECK+6*, CHECK+7, CHECK+10, CHECK+13!, CHECK+17*, CHECK+18, NUMBER!, LOOK+1*, LOOK+2*
PSREV DSPLY+1*, DSPLY+2!, DSPLY+3*, DSPLY+4!
STA CHECK+1~, CHECK+5*, CHECK+6*, LOOK+1*, LOOK+2*
TARGET STATUS+1~
TARGET("POINTER" STATUS+15
U CHECK+23, CHECK+24
Y EDATE+18*!
>> ZD( PROCESS+3!
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