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 ;09/10/12

Source Information

Source file <PSOSPML2.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$NOW^XLFDT  
VA FileMan 4 ^DIC  ^DIE  $$GET1^DIQ  ^DIR  
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

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

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
EXMSG(RTSONLY) ;
HDR ; - Builds the Header section
EXP(MODE) ; Export Batch
SETHDR() ; - Displays the Header Line
INIT ; Builds the Body section
EXIT ;
RMHELP ; Running Mode Help Text
SEL ;Process selection of one entry
EN(BATCHIEN) ; Entry point
HELP ; Listman HELP entry-point

External References

Name Field # of Occurrence
^%ZIS EXP+31
^%ZISC EXP+37, EXP+49
^%ZTLOAD EXP+44
^DIC BAT+2
^DIE EXP+51
$$GET1^DIQ HDR+2, HDR+3, HDR+4, HDR+5, HDR+6, HDR+7, INIT+8, INIT+16, INIT+17, INIT+18
, INIT+19, EXP+4, EXP+5, EXP+6, EXP+9, EXP+26, EXP+31, EXP+35, EXP+48
^DIR EXP+23, EXP+28, EXP+53
EN^PSOSPML4 SEL+7
SETLN^PSOSPMU1 INIT+24
EXPORT^PSOSPMUT EXP+36, EXP+45
EN^VALM EN+1
FULL^VALM1 EN+2, EXP+2
INSTR^VALM1 SETHDR+4
$$NOW^XLFDT EXP+43, EXP+50

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+32
Function Call: WRITE
  • Prompt: !
  • Line Location: EXP+36
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
Routine Call
  • VALM
  • Line Location:
    • EN+1
Routine Call
  • DIE
  • Line Location:
    • EXP+51
Routine Call
  • DIC
  • Line Location:
    • BAT+2
Routine Call
  • DIR
  • Line Location:
    • EXP+23
    • EXP+28
    • EXP+53
Routine Call
  • %ZIS
  • Line Location:
    • EXP+31

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] 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

Label References

Name Line Occurrences
BAT BAT+7
EN BAT+5
EXIT BAT+2
EXMSG EXP+32
HDR SEL+9, EXP+54
INIT SEL+9
SETHDR HDR+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EXP+31!, EXP+32!*
BATCHIEN PSOSPML2+3~, BAT+2!, BAT+3*, BAT+5, EN~, HDR+2, HDR+3, HDR+4, HDR+5, HDR+6
, HDR+7, INIT+5, INIT+6, INIT+14, EXP+4, EXP+9, EXP+26, EXP+31, EXP+35, EXP+36
, EXP+41, EXP+45, EXP+48, EXP+49
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+49~*
DIC PSOSPML2+3~, BAT+1!*
DIC("A" BAT+1*
DIC(0 BAT+1*
DIE EXP+49~*
DIR PSOSPML2+3~, EXP+1~, EXP+10!, EXP+25!, EXP+53!
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+53*
DIR("B" EXP+22*, EXP+27*
DIR(0 EXP+11*, EXP+27*, EXP+53*
DIRUT PSOSPML2+3~, EXP+1~, EXP+10!, EXP+23, EXP+25!
DR EXP+49~, EXP+50*
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
DUOUT PSOSPML2+3~, BAT+2, EXP+1~, EXP+10!, EXP+25!, EXP+28
DUZ EXP+50
FILL INIT+1~, INIT+7*, INIT+8, INIT+15*, INIT+21, INIT+25
HDR SETHDR+1~, SETHDR+3*, SETHDR+4*
I INIT+1~
IO EXP+31
>> IOINORM SETHDR+4
IOP EXP+32!
>> IORVON SETHDR+4
LINE INIT+1~, INIT+10*, INIT+25, INIT+26, SEL+1~, SEL+7~
MODE EXP~, EXP+9, EXP+31, EXP+32, EXP+35, EXP+48
NODE0 INIT+1~, INIT+6*, INIT+7, INIT+14*, INIT+15
ORD SETHDR+1~, SEL+1~
POP EXP+31, EXP+32!
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+31, EXP+35, EXP+48
QUIT EXP+1~, EXP+8*, EXP+9, EXP+23*, EXP+28*
RTSONLY EXMSG~, EXMSG+7
RUNMODE EXP+1~, EXP+8*, EXP+24*, EXP+29, EXP+39, EXP+45
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*
VALMSG PSOSPML2+3~, SEL+2*, SEL+4*
X PSOSPML2+3~, BAT+2
XQORM SEL+1~
>> XQORNOD(0 SEL+2
Y BAT+2, BAT+3, EXP+1~, EXP+24, EXP+28
ZTDESC EXP+40~, EXP+42*
ZTDTH EXP+40~, EXP+43*
ZTIO EXP+40~, EXP+41*
ZTRTN EXP+40~, EXP+41*
ZTSK EXP+32!, EXP+40~, EXP+44!
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