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

Package: Outpatient Pharmacy

Routine: PSOSPML1


Information

PSOSPML1 ;BIRM/MFR - Export Batch Processing Listman Driver ;10/10/12

Source Information

Source file <PSOSPML1.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
VA FileMan 5 ^%DT  ^DIC  ^DIE  $$GET1^DIQ  ^DIR  
Kernel 3 ^%ZIS  ^%ZISC  ($$FMTE,$$NOW)^XLFDT  
Outpatient Pharmacy 3 (EN,EXMSG)^PSOSPML2  ($$BLDBAT,$$GATHER,PAUSE,SETLN)^PSOSPMU1  ($$SPOK,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: 4

Package Total Caller Graph
Outpatient Pharmacy 4 PSO SPMP BATCH PROCESSING  PSO SPMP1 MANUAL BATCH EXPORT  PSO SPMP1 MENU  PSO SPMP1 SELECT  

Entry Points

Name Comments DBIA/ICR reference
STA ; STATE prompt
EN(STATEIEN,PSOFROM,PSOTO) ; Entry point
HDR ; - Builds the Header section
SETHDR() ; - Displays the Header Line
INIT ; Builds the Body section
SEL ;Process selection of one entry
MAN ; Manual Batch Export
EXPORT(STATE,FROMDATE,TODATE,FILLTYPE,RECTYPE) ; Export Release CS Rx's to the sate for date range
EXIT ;
HELP ; Listman HELP entry-point

External References

Name Field # of Occurrence
^%DT STA+9, STA+14, MAN+13, MAN+18
^%ZIS EXPORT+37
^%ZISC EXPORT+49
^DIC STA+3, MAN+7
^DIE EXPORT+51
$$GET1^DIQ HDR+2, INIT+14, INIT+15, MAN+22, EXPORT+17, EXPORT+30, EXPORT+31, EXPORT+37, EXPORT+45, EXPORT+48
^DIR MAN+29, MAN+40, EXPORT+33
EN^PSOSPML2 SEL+8
EXMSG^PSOSPML2 EXPORT+38
$$BLDBAT^PSOSPMU1 EXPORT+41
$$GATHER^PSOSPMU1 EXPORT+21
PAUSE^PSOSPMU1 EXPORT+11, EXPORT+25, EXPORT+43, EXPORT+53
SETLN^PSOSPMU1 INIT+16, INIT+19
$$SPOK^PSOSPMUT STA+4, EXPORT+9
EXPORT^PSOSPMUT EXPORT+46
EN^VALM EN+1
FULL^VALM1 EN+2, MAN+1
INSTR^VALM1 SETHDR+5
$$FMTE^XLFDT HDR+3, INIT+10, INIT+11
$$NOW^XLFDT EXPORT+50

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: STA+1
Function Call: WRITE
  • Prompt: !!,$P($$SPOK^PSOSPMUT(+Y),"^",2),$C(7)
  • Line Location: STA+4
Function Call: WRITE
  • Prompt: !
  • Line Location: STA+9
Function Call: WRITE
  • Prompt: !
  • Line Location: STA+14
Function Call: WRITE
  • Prompt: ?50,"Please wait..."
  • Line Location: SEL+6
Function Call: WRITE
  • Prompt: !
  • Line Location: MAN+5
Function Call: WRITE
  • Prompt: !
  • Line Location: MAN+13
Function Call: WRITE
  • Prompt: !
  • Line Location: MAN+18
Function Call: WRITE
  • Prompt: !!,$P(SPOK,"^",2),$C(7)
  • Line Location: EXPORT+11
Function Call: WRITE
  • Prompt: !!,"Gathering CS prescription fills...(this may take a few minutes)"
  • Line Location: EXPORT+20
Function Call: WRITE
  • Prompt: !!,"There are no eligible prescriptions for the date range.",$C(7)
  • Line Location: EXPORT+24
Function Call: WRITE
  • Prompt: !!,RXCNT," prescription fill(s) found for the date range."
  • Line Location: EXPORT+26
Function Call: WRITE
  • Prompt: !
  • Line Location: EXPORT+31
Function Call: WRITE
  • Prompt: ?40,"Please wait..."
  • Line Location: EXPORT+34
Function Call: WRITE
  • Prompt: !
  • Line Location: EXPORT+38
Function Call: WRITE
  • Prompt: !!,$P(BATCHIEN,"^",2),$C(7)
  • Line Location: EXPORT+43
Routine Call
  • DIC
  • Line Location:
    • STA+3
    • MAN+7
Routine Call
  • DIE
  • Line Location:
    • EXPORT+51
Routine Call
  • DIR
  • Line Location:
    • MAN+29
    • MAN+40
    • EXPORT+33
Routine Call
  • %ZIS
  • Line Location:
    • EXPORT+37
Routine Call
  • VALM
  • Line Location:
    • EN+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(5 - [#5] Classic Fileman Calls,  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.41 - [#58.41] STA+2
^PS(58.42 - [#58.42] INIT+5, INIT+6, INIT+7, INIT+9
^TMP("PSOSPML1" INIT+3!, INIT+17*, INIT+18, SEL+3, EXIT+1!
^TMP("PSOSPMRX" EXPORT+21!, EXPORT+27

Label References

Name Line Occurrences
EN STA+17
EXIT STA+3, STA+9, STA+14, STA+19, MAN+7
EXPORT MAN+43
HDR EXPORT+54
INIT SEL+10, EXPORT+54
SETHDR HDR+4
STA STA+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT PSOSPML1+3~, STA+8*, STA+13!*, MAN+2~, MAN+12*, MAN+17!*
%DT("A" STA+8*, STA+13*, MAN+12*, MAN+17*
%DT("B" STA+13*, MAN+17*
%DT(0 STA+8*, STA+13*, MAN+12*, MAN+17*
%ZIS EXPORT+37!, EXPORT+38!*
BAT SEL+1~, SEL+3*, SEL+4, SEL+8
BATCHIEN EXPORT+6~, EXPORT+41*, EXPORT+42, EXPORT+43, EXPORT+46, EXPORT+49
BATDT INIT+1~, INIT+4*, INIT+5*, INIT+6, INIT+10
BATIEN PSOSPML1+3~, INIT+4*, INIT+6*, INIT+7, INIT+9, INIT+10, INIT+14, INIT+15, INIT+17
BEGINDT MAN+2~, MAN+14*, MAN+17, MAN+43
COUNT INIT+1~, INIT+3*, INIT+9*, INIT+10
DA EXPORT+49~*
DIC PSOSPML1+3~, STA+1!*, MAN+2~, MAN+5!*
DIC("A" STA+1*, MAN+5*
DIC("B" STA+2*, MAN+6*
DIC("S" MAN+5*
DIC(0 STA+3*, MAN+7*
DIE EXPORT+49~*
DIR PSOSPML1+3~, MAN+2~, MAN+23!, MAN+29!, MAN+34!, MAN+40!, EXPORT+6~, EXPORT+31!
DIR("A" MAN+23*, MAN+34*, EXPORT+31*, EXPORT+32*
DIR("B" MAN+29*, MAN+40*, EXPORT+32*
DIR("L" MAN+24*, MAN+25*, MAN+27*, MAN+28*, MAN+35*, MAN+36*, MAN+38*, MAN+39*
DIR(0 MAN+26*, MAN+37*, EXPORT+32*
DIRUT PSOSPML1+3~, MAN+2~, MAN+29!, MAN+40!, EXPORT+33
DR EXPORT+49~, EXPORT+50*
DRUGDEA INIT+1~
DRUGIEN INIT+1~
DRUGNAM INIT+1~
DSPLINE INIT+1~, INIT+10*, INIT+11*, INIT+12*, INIT+13*, INIT+14*, INIT+15*, INIT+16
DT STA+8
DTOUT PSOSPML1+3~, STA+9, STA+14, MAN+2~, MAN+13, MAN+18, EXPORT+6~
DUOUT PSOSPML1+3~, MAN+2~, MAN+29!, MAN+40!, EXPORT+6~, EXPORT+33
DUZ EXPORT+50
ENDDT MAN+2~, MAN+19*, MAN+43
ENDRLDT EXPORT+6~
ENDRTSDT EXPORT+7~
FILL INIT+1~, EXPORT+6~
FILLTYPE MAN+3~, MAN+21*, MAN+30*, MAN+33, MAN+43, EXPORT~, EXPORT+17
FROMDATE EXPORT~, EXPORT+14*, EXPORT+21, EXPORT+41
HDR SETHDR+1~, SETHDR+3*, SETHDR+4*, SETHDR+5*
I INIT+1~
IO EXPORT+37
>> IOINORM SETHDR+5
IOP EXPORT+38!
>> IORVON SETHDR+5
LINE INIT+1~, INIT+3*, INIT+17, INIT+20, SEL+8~
NODE0 INIT+1~, INIT+7*, INIT+8, INIT+11, INIT+12, INIT+13
ORD SETHDR+1~, SEL+1~
POP EXPORT+37, EXPORT+38!
POS SETHDR+1~
PSOBGDT MAN+2~
PSOENDDT MAN+2~
PSOERROR MAN+2~
PSOFROM PSOSPML1+3~, STA+10*, STA+13, STA+17, EN~, HDR+3, INIT+4, SEL+8~
PSOLIS SEL+1~
PSOLSTLN PSOSPML1+3~, INIT+3*
PSOMODE EXPORT+7~, EXPORT+45*, EXPORT+46
PSOQUIT MAN+3~, MAN+21*, MAN+22, MAN+29*, MAN+32*, MAN+33, MAN+40*, EXPORT+29*, EXPORT+30, EXPORT+33*
PSOSEL SEL+1~, SEL+2*, SEL+3
PSOTITLE SEL+1~, SEL+5*, SEL+8~, SEL+9
PSOTO PSOSPML1+3~, STA+15*, STA+17, EN~, HDR+3, INIT+5, SEL+8~
RECTYPE MAN+3~, MAN+32*, MAN+41*, MAN+43, EXPORT~, EXPORT+21
RTSDT EXPORT+7~
RTSONLY EXPORT+7~, EXPORT+17*, EXPORT+21, EXPORT+30, EXPORT+37, EXPORT+41, EXPORT+45, EXPORT+48
RX INIT+1~
RXCNT INIT+1~, INIT+3*, INIT+9*, INIT+15, EXPORT+6~, EXPORT+21*, EXPORT+23, EXPORT+26
RXFILL EXPORT+6~
RXIEN EXPORT+6~
RXRLDT EXPORT+6~
SPOK MAN+2~, EXPORT+6~, EXPORT+9*, EXPORT+10, EXPORT+11
STATE MAN+3~, MAN+8*, MAN+22, MAN+43, EXPORT~, EXPORT+9, EXPORT+17, EXPORT+21, EXPORT+30, EXPORT+31
, EXPORT+37, EXPORT+45, EXPORT+48
STATEIEN PSOSPML1+3~, STA+2*, STA+5*, STA+17, EN~, HDR+2, INIT+8, MAN+6
TODATE EXPORT~, EXPORT+21, EXPORT+41
TYPE INIT+1~
VALM PSOSPML1+3~
VALM("TITLE" SEL+5, SEL+9*
VALMBCK PSOSPML1+3~, SEL+2*, SEL+4*, SEL+9*, MAN+1*
VALMCNT PSOSPML1+3~, INIT+3*, INIT+20*
VALMHDR PSOSPML1+3~, HDR+1!
VALMHDR(1 HDR+2*, HDR+3*
VALMSG PSOSPML1+3~, SEL+2*, SEL+4*
X PSOSPML1+3~, STA+3, MAN+2~, MAN+7, EXPORT+6~
XQORM SEL+1~
>> XQORNOD(0 SEL+2
XREF EXPORT+6~
XX SEL+1~
Y STA+3, STA+4, STA+5, STA+9, STA+10, STA+14, STA+15, MAN+7, MAN+8, MAN+13
MAN+14, MAN+18, MAN+19, MAN+30, MAN+41, EXPORT+6~, EXPORT+33
ZTSK EXPORT+38!
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