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

Package: Outpatient Pharmacy

Routine: PSO293PI


Information

PSO293PI ;BIR/MFR-EXPIRATION DATE CLEAN UP ;05/03/07

Source Information

Source file <PSO293PI.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Outpatient Pharmacy 4 ($$JOBSTS,DISPLAY,JOB,LOG,MAIL,SETEXP)^PSO293P1  RXACT^PSOBPSU2  EN^PSOHDR  EN^PSOHLSN1  
VA Fileman 3 ^DIE  $$GET1^DIQ  ^DIR  
Kernel 2 ($$DT,$$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$PROD^XUPROD  
Order Entry Results Reporting 1 $$STATUS^ORQOR2  
Registration 1 $$SITE^VASITE  

Entry Points

Name Comments DBIA/ICR reference
QUIT ;
SET ;
SENDHDR ; Update HDR only
CPRSNUM(RXP) ;
STOP ;
SENDCPRS(CPRSONLY) ; Update CPRS/HDR
EN ;
PI ; Post-Install entry point
SETXTMP ; - Initialize the XTMP global

External References

Name Field # of Occurrence
^DIE SET+13, SET+42
$$GET1^DIQ PI+4, EN+15
^DIR PSO293PI+32
$$STATUS^ORQOR2 CPRSNUM+3
$$JOBSTS^PSO293P1 PSO293PI+8, PSO293PI+41
DISPLAY^PSO293P1 PSO293PI+44
JOB^PSO293P1 PSO293PI+46, PI+11
LOG^PSO293P1 PI+3, PI+8, EN+7, EN+48, STOP+3, SETXTMP+2, SETXTMP+4
MAIL^PSO293P1 EN+49, STOP+4
SETEXP^PSO293P1 SET+7, SET+30
RXACT^PSOBPSU2 SET+14, SET+43
EN^PSOHDR SENDHDR+1
EN^PSOHLSN1 SENDCPRS+8
$$SITE^VASITE EN+14
$$DT^XLFDT PI+6, EN+11, EN+22
$$FMADD^XLFDT PI+6, EN+15, SETXTMP+6
$$FMDIFF^XLFDT SET+29
$$FMTE^XLFDT PSO293PI+14, PSO293PI+16, PI+8
$$NOW^XLFDT PI+11, EN+46, STOP+2, SETXTMP+2, SETXTMP+4, SETXTMP+6
$$PROD^XUPROD EN+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?5,"Expiration Date clean up job for Outpatient Pharamcy prescriptions"
  • Line Location: PSO293PI+10
Function Call: WRITE
  • Prompt: !?5,"=================================================================="
  • Line Location: PSO293PI+11
Function Call: WRITE
  • Prompt: !?5,"Current status: "
  • Line Location: PSO293PI+12
Function Call: WRITE
  • Prompt: !!,"This may take a few minutes, please wait..."
  • Line Location: PSO293PI+35
Routine Call
  • DIE
  • Line Location:
    • SET+13
    • SET+42
Routine Call
  • DIR
  • Line Location:
    • PSO293PI+32

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(59.7 - [#59.7] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EN+34
^PS(52.41 - [#52.41] SET+16, SET+31
^PS(59.7 - [#59.7] PI+7*
^PSDRUG - [#50] EN+34
^PSRX - [#52] EN+21, EN+23, EN+24, EN+25, EN+26, EN+27, EN+28, EN+29, CPRSNUM+2, SENDCPRS+5*
^XTMP( PSO293PI+14, PSO293PI+16, PSO293PI+18, PSO293PI+37*, PSO293PI+38, PSO293PI+40, PSO293PI+41, PI+9*, EN+7, EN+17
, EN+19, EN+40*, EN+41, EN+45*, EN+46*, EN+47!, QUIT+1, STOP+1!, STOP+2*, SET+9*
, SET+17*, SET+19*, SET+22*, SET+32*, SET+33*, SET+36*, SET+46*, SET+49*, SET+53*, SET+58*
, SETXTMP+1, SETXTMP+2*, SETXTMP+3, SETXTMP+4*, SETXTMP+5!, SETXTMP+6*

Label References

Name Line Occurrences
$$CPRSNUM SET+6, SET+27, SET+44, SET+56
QUIT PSO293PI+32, PSO293PI+35, PSO293PI+43, PSO293PI+44, EN+7, EN+43
SENDCPRS SET+18, SET+34, SET+47
SENDHDR SET+10, SET+20, SET+23, SET+37, SET+50, SET+59
SET EN+37
SETXTMP EN+9
STOP EN+43

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTION PSO293PI+5~, PSO293PI+33*, PSO293PI+35, PSO293PI+43, PSO293PI+44, EN+18
BADRXCNT EN+2~, EN+40, EN+45
BADRXCNT("LASTRX" EN+31*
BADRXCNT(10 SET+49*
BADRXCNT(11 SET+52*
BADRXCNT(12 SET+58*
BADRXCNT(14 EN+19*, EN+20, EN+30*
BADRXCNT(2 SET+9*
BADRXCNT(3 SET+17*
BADRXCNT(4 SET+19*
BADRXCNT(5 SET+22*
BADRXCNT(6 SET+32*
BADRXCNT(7 SET+33*
BADRXCNT(8 SET+36*
BADRXCNT(9 SET+46*
COUNTER EN+1~, EN+21*, EN+22, EN+31, EN+39
CPRSDC SET+1~, SET+2*, SET+16, SET+31, SET+45
CPRSONLY SENDCPRS~, SENDCPRS+2
CPRSTA SET+1~, SET+6*, SET+16, SET+27*, SET+31, SET+44*, SET+45
CUTOFF EN+1~, EN+15*, SET+8, SET+39
DA SET+1~, SET+12*, SET+40*
DAYSSUP EN+2~, EN+27*
DIE SET+1~, SET+12*, SET+13!, SET+41*, SET+42!
DIR PSO293PI+5~
DIR("A" PSO293PI+20*, PSO293PI+22*, PSO293PI+24*, PSO293PI+26*, PSO293PI+28*, PSO293PI+30*, PSO293PI+31*
DIR("B" PSO293PI+22*, PSO293PI+30*
DIR(0 PSO293PI+20*, PSO293PI+22*, PSO293PI+24*, PSO293PI+26*, PSO293PI+28*, PSO293PI+29*, PSO293PI+31*
DIROUT PSO293PI+5~, PSO293PI+32
DIRUT PSO293PI+5~, PSO293PI+32
DR SET+1~, SET+12*, SET+13!, SET+41*, SET+42!
DRUG EN+1~, EN+24*, EN+33, EN+34
DT EN+11*, EN+15, EN+22*
DTOUT PSO293PI+5~, PSO293PI+32
DUOUT PSO293PI+5~, PSO293PI+32
DUZ EN+4
EXPIRDT EN+2~, EN+29*, SET+5, SET+7, SET+8, SET+29, SET+39
EXPJOBDT PSO293PI+5~, PI+1~, PI+4*, PI+5, PI+6*, PI+7, PI+8, PI+9
I EN+2~, EN+19*
ISSUEDT EN+2~, EN+26*, EN+35, SET+29
JOBSTS PSO293PI+5~, PSO293PI+8*, PSO293PI+13, PSO293PI+14, PSO293PI+15, PSO293PI+16, PSO293PI+17, PSO293PI+21, PSO293PI+23, PSO293PI+25
, PSO293PI+27, PSO293PI+29
LASTCNT EN+2~, EN+20*, EN+21
NEWEXPDT SET+1~, SET+28*, SET+30*, SET+32, SET+33, SET+35
NMSP PSO293PI+5~, PSO293PI+6*, PSO293PI+14, PSO293PI+16, PSO293PI+18, PSO293PI+37, PSO293PI+38, PSO293PI+40, PSO293PI+41, PI+1~
, PI+2*, PI+9, EN+1~, EN+4*, EN+7, EN+17, EN+19, EN+40, EN+41, EN+45
, EN+46, EN+47, QUIT+1, STOP+1, STOP+2, SET+9, SET+17, SET+19, SET+22, SET+32
, SET+33, SET+36, SET+46, SET+49, SET+53, SET+58, SETXTMP+1, SETXTMP+2, SETXTMP+3, SETXTMP+4
, SETXTMP+5, SETXTMP+6
NUMREFS EN+2~, EN+28*
ORN SET+1~, SET+6*, SET+15, SET+21, SET+27*, SET+31, SET+44*, SET+45, SET+48, SET+51
, SET+56*, SET+57, CPRSNUM+1~, CPRSNUM+2*, CPRSNUM+3*, CPRSNUM+4
PATIENT EN+1~, EN+23*, EN+33, EN+34
PSOACT EN+1~
PSODUZ PSO293PI+5~, EN+4*, SET+14, SET+43
PSOINACT EN+1~, EN+16*, SET+11, SET+39
PSOINST EN+1~, EN+14*
PSOPROD EN+2~, EN+12*, SENDHDR+1
PSOSSMES SENDCPRS+1~, SENDCPRS+2*
RXP EN+1~, EN+17*, EN+21*, EN+23, EN+24, EN+25, EN+26, EN+27, EN+28, EN+29
, EN+31, SET+6, SET+9, SET+12, SET+14, SET+16, SET+17, SET+19, SET+22, SET+27
, SET+31, SET+32, SET+33, SET+36, SET+40, SET+43, SET+44, SET+46, SET+49, SET+53
, SET+56, SET+58, CPRSNUM~, CPRSNUM+2, SENDCPRS+5, SENDCPRS+8, SENDHDR+1
STA CPRSNUM+1~, CPRSNUM+2*, CPRSNUM+3*, CPRSNUM+4
STATUS EN+1~, EN+25*, SET+11, SET+12*, SET+26, SET+39, SET+41*, SET+55, SENDCPRS+5, SENDCPRS+6
, SENDCPRS+7
STOP EN+1~, EN+20*, EN+21, EN+41*, EN+43
STS SENDCPRS+1~, SENDCPRS+4*, SENDCPRS+5*, SENDCPRS+6*, SENDCPRS+7*, SENDCPRS+8
STSCOM SENDCPRS+1~, SENDCPRS+4*, SENDCPRS+5*, SENDCPRS+6*, SENDCPRS+7*, SENDCPRS+8
TIME PSO293PI+36~, PSO293PI+37*, PSO293PI+39*, PSO293PI+41
TYPE SENDCPRS+1~, SENDCPRS+4*, SENDCPRS+6*, SENDCPRS+7*, SENDCPRS+8
UNABLE PSO293PI+36~, PSO293PI+37*, PSO293PI+38, PSO293PI+41*
X PSO293PI+5~
Y PSO293PI+5~, PSO293PI+33
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All