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

Package: Outpatient Pharmacy

Routine: PSOSPML2


Information

PSOSPML2 ;BIRM/MFR - View/Process Export Batch Listman Driver ;10/7/20 16:12

Source Information

Source file <PSOSPML2.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
VA FileMan 5 ^DIC  FILE^DICN  ^DIE  $$GET1^DIQ  ^DIR  
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$NOW^XLFDT  
Outpatient Pharmacy 3 EN^PSOSPML4  SETLN^PSOSPMU1  EXPORT^PSOSPMUT  
List Manager 2 EN^VALM  (FULL,INSTR)^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: 10

Package Total Caller Graph
Outpatient Pharmacy 8 PSO SPMP BATCH VIEW/EXPORT  PSO SPMP VIEW/EXPORT BATCH  PSO SPMP2 BATCH EXPORT  PSO SPMP2 MENU  PSO SPMP2 SELECT  PSO SPMP2 VIEW RAW DATA  PSOSPML1  PSOSPML4  
Kernel 2 ^DIC(19  ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
BAT ; Single Batch Selection
EN(BATCHIEN) ; Entry point
HDR ; - Builds the Header section
SETHDR() ; - Displays the Header Line
INIT ; Builds the Body section
SEL ;Process selection of one entry
EXP(MODE) ; Export Batch
EXIT ;
HELP ; Listman HELP entry-point
EXMSG(RTSONLY) ;
RMHELP ; Running Mode Help Text
DBUG(BATCH) ; flush and debug reason prompt
RD
F102 ; add new entry in the DEBUG REASON field #102

External References

Name Field # of Occurrence
^%ZIS EXP+32
^%ZISC EXP+38, EXP+50
^%ZTLOAD EXP+45
^DIC BAT+2
FILE^DICN F102+2
^DIE EXP+52
$$GET1^DIQ HDR+2, HDR+3, HDR+4, HDR+5, HDR+6, HDR+7, HDR+12, INIT+8, INIT+16, INIT+17
INIT+18, INIT+19, EXP+4, EXP+5, EXP+6, EXP+9, EXP+26, EXP+30, EXP+32, EXP+36
, EXP+49
^DIR EXP+23, EXP+28, EXP+54, DBUG+5, RD
EN^PSOSPML4 SEL+7
SETLN^PSOSPMU1 INIT+24
EXPORT^PSOSPMUT EXP+37, EXP+46
EN^VALM EN+1
FULL^VALM1 EN+2, EXP+2
INSTR^VALM1 SETHDR+4
$$NOW^XLFDT EXP+44, EXP+51, F102+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: BAT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: EXP+10
Function Call: WRITE
  • Prompt: !
  • Line Location: EXP+25
Function Call: WRITE
  • Prompt: ?40,"Please wait..."
  • Line Location: EXP+29
Function Call: WRITE
  • Prompt: !
  • Line Location: EXP+33
Function Call: WRITE
  • Prompt: !
  • Line Location: EXP+37
Function Call: WRITE
  • Prompt: !!?5,"Before continuing, set up your terminal to capture the ASAP"
  • Line Location: EXMSG+1
Function Call: WRITE
  • Prompt: !?5,"formatted data. On some terminals, this can be done by clicking"
  • Line Location: EXMSG+2
Function Call: WRITE
  • Prompt: !?5,"on the 'File' menu above, then click on 'Logging...' and check"
  • Line Location: EXMSG+3
Function Call: WRITE
  • Prompt: !?5,"'Logging on' and 'Disk'."
  • Line Location: EXMSG+4
Function Call: WRITE
  • Prompt: !!?5,"Note: To avoid undesired wrapping of the data saved to the"
  • Line Location: EXMSG+5
Function Call: WRITE
  • Prompt: !?5," file, please enter '0;256;9999' at the 'DEVICE:' prompt."
  • Line Location: EXMSG+6
Function Call: WRITE
  • Prompt: !!?5,"*********************** IMPORTANT ******************************"
  • Line Location: EXMSG+8
Function Call: WRITE
  • Prompt: !?5,"When you upload this file to the state website, make sure to"
  • Line Location: EXMSG+9
Function Call: WRITE
  • Prompt: !?5,"select the correct import option, usually called ""Back Records"
  • Line Location: EXMSG+10
Function Call: WRITE
  • Prompt: !?5,"Out of the System"", to avoid reporting duplicate records for the"
  • Line Location: EXMSG+11
Function Call: WRITE
  • Prompt: !?5,"patients."
  • Line Location: EXMSG+12
Function Call: WRITE
  • Prompt: !?5,"*****************************************************************"
  • Line Location: EXMSG+13
Function Call: WRITE
  • Prompt: !!?5,"Choose one of the following transmission modes:"
  • Line Location: RMHELP+1
Function Call: WRITE
  • Prompt: !!?5,"Background: Transmission runs in the background via Taskman. This option"
  • Line Location: RMHELP+2
Function Call: WRITE
  • Prompt: !?5," will help you simulate the same transmission mode used by the"
  • Line Location: RMHELP+3
Function Call: WRITE
  • Prompt: !?5," Scheduled Nightly Transmissions."
  • Line Location: RMHELP+4
Function Call: WRITE
  • Prompt: !!?5,"Foreground: Transmission runs and displays the steps to your terminal"
  • Line Location: RMHELP+5
Function Call: WRITE
  • Prompt: !?5," screen."
  • Line Location: RMHELP+6
Function Call: WRITE
  • Prompt: !!?5,"Debug Mode: This is similar to the Foreground mode. The difference is"
  • Line Location: RMHELP+7
Function Call: WRITE
  • Prompt: !?5," that the sFTP command used to transfer the file will be run"
  • Line Location: RMHELP+8
Function Call: WRITE
  • Prompt: !?5," in 'debug mode'. This option is useful when troubleshooting"
  • Line Location: RMHELP+9
Function Call: WRITE
  • Prompt: !?5," transmission problems."
  • Line Location: RMHELP+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DBUG+4
Function Call: WRITE
  • Prompt: !
  • Line Location: DBUG+7
Function Call: WRITE
  • Prompt: !,$C(7),"This is a required response. Enter '^' to exit"
  • Line Location: RD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: RD+3
Function Call: WRITE
  • Prompt: !
  • Line Location: F102+3
Routine Call
  • %ZIS
  • Line Location:
    • EXP+32
Routine Call
  • DIC
  • Line Location:
    • BAT+2
Routine Call
  • DIE
  • Line Location:
    • EXP+52
Routine Call
  • DIR
  • Line Location:
    • EXP+23
    • EXP+28
    • EXP+54
    • DBUG+5
    • RD
Routine Call
  • VALM
  • Line Location:
    • EN+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ
^PS(58.41 - [#58.41] GET1^DIQ
^PS(58.42 - [#58.42] Classic Fileman Calls,  GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(58.42 - [#58.42] HDR+9, HDR+10, HDR+11, INIT+5, INIT+6, INIT+14
^TMP("PSOSPML2" INIT+10!, INIT+25*, SEL+3, EXIT+1!
^TMP("PSOSPSRT" INIT+3!, INIT+8*, INIT+12, INIT+13
^XUSEC("PSO SPMP ADMIN" DBUG+1

Label References

Name Line Occurrences
BAT BAT+7
DBUG EXP+30
EN BAT+5
EXIT BAT+2
EXMSG EXP+33
F102 DBUG+6
HDR SEL+9, EXP+55
INIT SEL+9
RD RD+1
SETHDR HDR+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EXP+32!, EXP+33!*
BATCH DBUG~
BATCHIEN PSOSPML2+3~, BAT+2!, BAT+3*, BAT+5, EN~, HDR+2, HDR+3, HDR+4, HDR+5, HDR+6
HDR+7, HDR+9, HDR+10, HDR+11, HDR+12, INIT+5, INIT+6, INIT+14, EXP+4, EXP+9
, EXP+26, EXP+30, EXP+32, EXP+36, EXP+37, EXP+42, EXP+46, EXP+49, EXP+50, F102+1
BATRXIEN INIT+1~, INIT+4*, INIT+5*, INIT+6, INIT+8, INIT+13*, INIT+14
COUNT INIT+1~, INIT+11*, INIT+20*, INIT+21
DA EXP+50~*, DBUG+8~
DA(1 F102+1*
DD DBUG+8~
DIC PSOSPML2+3~, BAT+1!*, DBUG+8~, F102+1*, F102+2!
DIC("A" BAT+1*
DIC("DR" F102+1*
DIC(0 BAT+1*, F102+1*
DIE EXP+50~*
DIR PSOSPML2+3~, EXP+1~, EXP+10!, EXP+25!, EXP+54!, DBUG+3!, DBUG+7!, DBUG+8~, RD!
DIR("??" EXP+22*
DIR("A" EXP+12*, EXP+13*, EXP+14*, EXP+15*, EXP+16*, EXP+17*, EXP+18*, EXP+19*, EXP+20*, EXP+21*
, EXP+22*, EXP+26*, EXP+27*, EXP+54*, DBUG+4*, RD*
DIR("B" EXP+22*, EXP+27*, DBUG+4*
DIR(0 EXP+11*, EXP+27*, EXP+54*, DBUG+4*, RD*
DIRUT PSOSPML2+3~, EXP+1~, EXP+10!, EXP+23, EXP+25!, DBUG+3!, DBUG+7!
DLAYGO DBUG+8~, F102+1*, F102+2!
DO DBUG+8~
DR EXP+50~, EXP+51*
DRUGDEA INIT+1~, INIT+19*, INIT+22
DRUGIEN INIT+1~, INIT+17*, INIT+18, INIT+19
DRUGNAM INIT+1~, INIT+18*, INIT+21
DSPLINE INIT+1~, INIT+21*, INIT+22*, INIT+23*, INIT+24
DTOUT PSOSPML2+3~, BAT+2, EXP+23, EXP+28, DBUG+5, RD
DUOUT PSOSPML2+3~, BAT+2, EXP+1~, EXP+10!, EXP+25!, EXP+28, DBUG+3!, DBUG+5, DBUG+7!, RD
DUZ EXP+51, DBUG+1, F102+1
FILL INIT+1~, INIT+7*, INIT+8, INIT+15*, INIT+21, INIT+25
FLUSH EXP+1~, EXP+46, DBUG+1*, DBUG+2*, DBUG+6*
HDR SETHDR+1~, SETHDR+3*, SETHDR+4*
I INIT+1~
IO EXP+32
>> IOINORM SETHDR+4
IOP EXP+33!
>> IORVON SETHDR+4
LASTDR HDR+8~, HDR+9*, HDR+10, HDR+11, EXP+1~
LASTST HDR+8~, HDR+10*, HDR+11, EXP+1~
LINE INIT+1~, INIT+10*, INIT+25, INIT+26, SEL+1~, SEL+7~
MODE EXP~, EXP+9, EXP+32, EXP+33, EXP+36, EXP+49
NEWR EXP+1~, DBUG+6*, RD+2*, F102+1
NODE0 INIT+1~, INIT+6*, INIT+7, INIT+14*, INIT+15
ORD SETHDR+1~, SEL+1~
POP EXP+32, EXP+33!
POS SETHDR+1~
PSOASVER EXP+1~, EXP+5*
PSOLSTLN PSOSPML2+3~
PSOSEL SEL+1~, SEL+2*, SEL+3
PSOTITLE SEL+1~, SEL+5*, SEL+7~, SEL+8
PSOTXRTS EXP+1~, EXP+6*, EXP+9, EXP+32, EXP+36, EXP+49
QUIT EXP+1~, EXP+8*, EXP+9, EXP+23*, EXP+28*, EXP+30, DBUG+5*, RD*
RTSONLY EXMSG~, EXMSG+7
RUNMODE EXP+1~, EXP+8*, EXP+24*, EXP+29, EXP+30, EXP+40, EXP+46
RX INIT+1~
RXIEN INIT+1~, INIT+7*, INIT+8, INIT+15*, INIT+16, INIT+17, INIT+25
RXINFO SEL+1~, SEL+3*, SEL+4, SEL+7
RXNFLL INIT+1~, INIT+11*, INIT+12*, INIT+13
RXNUM INIT+1~, INIT+16*, INIT+21
STATEIEN EXP+1~, EXP+4*, EXP+5, EXP+6
TYPE INIT+1~, INIT+15*, INIT+23, INIT+25
VALM PSOSPML2+3~
VALM("TITLE" SEL+5, SEL+8*
VALMBCK PSOSPML2+3~, SEL+2*, SEL+4*, SEL+8*, EXP+2*
VALMCNT PSOSPML2+3~, INIT+10*, INIT+26*
VALMHDR PSOSPML2+3~, HDR+1!
VALMHDR(1 HDR+2*, HDR+3*, HDR+4*
VALMHDR(2 HDR+5*, HDR+6*
VALMHDR(3 HDR+7*, HDR+11*
VALMHDR(4 HDR+12*
VALMSG PSOSPML2+3~, SEL+2*, SEL+4*
X PSOSPML2+3~, BAT+2, DBUG+8~, F102+1*
XQORM SEL+1~
>> XQORNOD(0 SEL+2
Y BAT+2, BAT+3, EXP+1~, EXP+24, EXP+28, DBUG+6, DBUG+8~, RD+1, RD+2
ZTDESC EXP+41~, EXP+43*
ZTDTH EXP+41~, EXP+44*
ZTIO EXP+41~, EXP+42*
ZTRTN EXP+41~, EXP+42*
ZTSK EXP+33!, EXP+41~, EXP+45!
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