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

Package: Outpatient Pharmacy

Routine: PSORXFIN


Information

PSORXFIN ;BHAM ISC/TJL - VPS Productivity Report ;5/17/21 12:39

Source Information

Source file <PSORXFIN.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 6 HOME^%ZIS  ^%ZISC  $$S^%ZTLOAD  $$FMTE^XLFDT  $$RJ^XLFSTR  EN^XUTMDEVQ  
VA FileMan 4 (,DD)^%DT  NOW^%DTC  $$GET1^DIQ  ^DIR  
Outpatient Pharmacy 1 EN1^PSORXFIN  

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
Outpatient Pharmacy 2 PSO MBM-VPS PRODUCTIVITY RPT  PSORXFIN  

Entry Points

Name Comments DBIA/ICR reference
EN ; entry point
DATES ; User inputs for date range
RETRY
PROCESS ; entry point for queued report
EN1 ;
GETDATA ; Get data
HEADER ; Header and page control
DETAIL ; Print detail line
TOTAL ; Report totals
WAIT ; End of page logic
EXIT ; Kill ^TMP Global

External References

Name Field # of Occurrence
^%DT RETRYRETRY+3
DD^%DT EN+5, RETRY+2, RETRY+7
NOW^%DTC EN+5
HOME^%ZIS EN+16
^%ZISC EN+15
$$S^%ZTLOAD WAIT+10
$$GET1^DIQ GETDATA+10
^DIR WAIT+7
EN1^PSORXFIN PROCESS+3
$$FMTE^XLFDT RETRY+2, RETRY+7
$$RJ^XLFSTR HEADER+5, DETAIL+6, TOTAL+4
EN^XUTMDEVQ EN+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report prints a listing of people who finished the order in pharmacy"
  • Line Location: EN+6
Function Call: WRITE
  • Prompt: !,"in the user-selected date range.",!
  • Line Location: EN+7
Function Call: WRITE
  • Prompt: !!,"No device selected...exiting.",!
  • Line Location: EN+14
Function Call: WRITE
  • Prompt: !!,"The ending date cannot be earlier than the starting date.",!
  • Line Location: RETRY+6
Function Call: WRITE
  • Prompt: !
  • Line Location: EN1+7
Function Call: WRITE
  • Prompt: !,?7,"***************************************************"
  • Line Location: EN1+8
Function Call: WRITE
  • Prompt: !,?7,"* Nothing to report for the selected time frame *"
  • Line Location: EN1+9
Function Call: WRITE
  • Prompt: !,?7,"***************************************************"
  • Line Location: EN1+10
Function Call: WRITE
  • Prompt: !,?1,"MbM-VPS Productivity Report",?51,"Run Date: ",PSORUN
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !,?1,RANGE,?68,$$RJ^XLFSTR("Page: "_PAGENUM,11),!
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !,?46,"Prescriptions"
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: !,?7,"Finishing Person",?48,"Finished"
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: HEADER+8
Function Call: WRITE
  • Prompt: !,?7,NAME,?48,$$RJ^XLFSTR(FCOUNT,6)
  • Line Location: DETAIL+6
Function Call: WRITE
  • Prompt: !,?49,DASH
  • Line Location: TOTAL+3
Function Call: WRITE
  • Prompt: !?31,$$RJ^XLFSTR("Grand Total: "_^TMP("PSORXFIN",$J,"GRAND TOTAL"),23)
  • Line Location: TOTAL+4
Function Call: WRITE
  • Prompt: !
  • Line Location: WAIT+4
Function Call: WRITE
  • Prompt: !,?7,"*********************************************"
  • Line Location: WAIT+12
Function Call: WRITE
  • Prompt: !,?7,"* Printing of report stopped as requested *"
  • Line Location: WAIT+13
Function Call: WRITE
  • Prompt: !,?7,"*********************************************"
  • Line Location: WAIT+14
Routine Call
  • DIR
  • Line Location:
    • WAIT+7
Routine Call
  • %ZIS
  • Line Location:
    • EN+16

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSRX - [#52] GETDATA+6, GETDATA+7
^PSRX("AFDT" GETDATA+3, GETDATA+5
^TMP("PSORXFIN" EN1+2!, EN1+6, EN1+14!, GETDATA+2*, GETDATA+12*, GETDATA+13*, GETDATA+14*, DETAIL+2, DETAIL+5, TOTAL+4
EXIT+1!

Label References

Name Line Occurrences
DATES EN+8
DETAIL EN1+12
EXIT EN1+4, EN1+12
GETDATA EN1+5
HEADER EN1+4, DETAIL+7
RETRY RETRY+5
TOTAL EN1+13
WAIT EN1+11, DETAIL+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % EN+5
%DT EN+5!, DATES+1~, RETRY*, RETRY+3*
%DT("A" RETRY*, RETRY+3*
%DT(0 RETRY*, RETRY+3*
DASH TOTAL+1~, TOTAL+2*, TOTAL+3
DATE EN+1~, EN+5*
DIR WAIT+5~
DIR(0 WAIT+6*
DIROUT WAIT+5~
DIRUT WAIT+5~
DTOUT WAIT+5~
DUOUT WAIT+5~
ERANGE DATES+1~, RETRY+7*, RETRY+8
FCOUNT DETAIL+1~, DETAIL+5*, DETAIL+6
FINIEN GETDATA+1~, GETDATA+8*, GETDATA+10, GETDATA+11
FINISHDT EN1+1~, EN1+3*, GETDATA+3*, GETDATA+5
FINNAME GETDATA+1~, GETDATA+10*, GETDATA+11*, GETDATA+12, GETDATA+13
I EN+1~, EN+11*, EN+12
IO EN+15
IO(0 EN+15
IOF HEADER+2
IOSL DETAIL+7, WAIT+3, WAIT+4
IOST HEADER+2, WAIT+3
LN HEADER+1~, HEADER+3*, HEADER+8
NAME DETAIL+1~, DETAIL+3*, DETAIL+4*, DETAIL+6
PAGENUM EN1+1~, EN1+3*, HEADER+2*, HEADER+5
>> POP EN+14
PSODESC EN+1~, EN+10*, EN+13
PSOERR EN+2~, PROCESS+3*
PSORUN EN+1~, EN+5*, HEADER+4
PSOSAVE EN+1~, EN+13
PSOSAVE( EN+12*
QFLG EN+2~, EN+3*, EN+8, RETRY+1*, RETRY+4*, EN1+3*, GETDATA+3
RANGE EN+2~, RETRY+8*, HEADER+5
RECORD DETAIL+1~, DETAIL+2*, DETAIL+3, DETAIL+5
RXDA GETDATA+1~, GETDATA+4*, GETDATA+5*, GETDATA+6, GETDATA+7
RXENDDT EN+2~, RETRY+7*, EN1+3*, GETDATA+3
RXOR1 GETDATA+1~, GETDATA+7*, GETDATA+8
RXSTDT EN+2~, RETRY+2*, RETRY+5, EN1+3
SRANGE DATES+1~, RETRY+2*, RETRY+8
STOP EN1+1~, EN1+3*, EN1+4, EN1+12, DETAIL+2, DETAIL+7, WAIT+1*, WAIT+8*, WAIT+10*, WAIT+11
X EN+1~, EN+5, DATES+1~, WAIT+5~
Y EN+1~, EN+5*, DATES+1~, RETRY+1, RETRY+2, RETRY+4, RETRY+5, RETRY+7, WAIT+5~, WAIT+8
ZTREQ PROCESS+1~, PROCESS+2*
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