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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSOMAUEX

Package: Outpatient Pharmacy

Routine: PSOMAUEX


Information

PSOMAUEX ;BIR/SAB-Auto expire of prescriptions ; 10/10/07 11:17am

Source Information

Source file <PSOMAUEX.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Outpatient Pharmacy 4 REVERSE^PSOBPSU1  ^PSOCMOPA  EN^PSOHDR  EN^PSOHLSN1  
VA Fileman 4 ^%DT  (C,NOW)^%DTC  ^DIE  ^DIK  
Kernel 2 ^%ZTLOAD  ($$DT,$$FMADD,$$FMTE)^XLFDT  
Order Entry Results Reporting 2 $$STATUS^ORQOR2  ($$LOCK1,UNLK1)^ORX2  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Outpatient Pharmacy 3 PSO MANUAL AUTO EXPIRE  PSO52AP1  PSO52API  

Entry Points

Name Comments DBIA/ICR reference
EN ;
EN1 ;
EN2 ;
EN3 ;
ENX
NSET ;

External References

Name Field # of Occurrence
^%DT PSOMAUEX+32, PSOMAUEX+36
C^%DTC EN+3
NOW^%DTC PSOMAUEX+35
^%ZTLOAD PSOMAUEX+38
^DIE EN+6
^DIK EN2+7, EN2+8
$$STATUS^ORQOR2 EN2+4
$$LOCK1^ORX2 EN3+5
UNLK1^ORX2 EN3+5
REVERSE^PSOBPSU1 EN2+25
^PSOCMOPA EN2+5
EN^PSOHDR EN2+17, EN2+27, EN2+29
EN^PSOHLSN1 EN2+14, EN2+31
$$DT^XLFDT PSOMAUEX+7
$$FMADD^XLFDT PSOMAUEX+31
$$FMTE^XLFDT PSOMAUEX+31

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!!?10," ******* Auto Expire of Prescriptions *******"
  • Line Location: PSOMAUEX+8
Function Call: WRITE
  • Prompt: !!,"You need to run this job only if expired prescriptions are showing up as active"
  • Line Location: PSOMAUEX+9
Function Call: WRITE
  • Prompt: !,"orders on the Orders tab in CPRS. This could be due to the following:"
  • Line Location: PSOMAUEX+10
Function Call: WRITE
  • Prompt: !,"1. The Expire Prescriptions [PSO EXPIRE PRESCRIPTIONS] option was not"
  • Line Location: PSOMAUEX+11
Function Call: WRITE
  • Prompt: !," queued as a daily task. ***** AND *****"
  • Line Location: PSOMAUEX+12
Function Call: WRITE
  • Prompt: !,"2. Those patient's prescription(s) were never being accessed/viewed in"
  • Line Location: PSOMAUEX+13
Function Call: WRITE
  • Prompt: !," Patient Prescription Processing [PSO LM BACKDOOR ORDERS] option.",!
  • Line Location: PSOMAUEX+14
Function Call: WRITE
  • Prompt: !,"*******************************************************************************"
  • Line Location: PSOMAUEX+15
Function Call: WRITE
  • Prompt: !,"* For sites that have not queued the Expire Prescriptions job on their *"
  • Line Location: PSOMAUEX+16
Function Call: WRITE
  • Prompt: !,"* daily task schedule, you should do so by selecting the Queue Background *"
  • Line Location: PSOMAUEX+17
Function Call: WRITE
  • Prompt: !,"* Jobs [PSO AUTOQUEUE JOBS] option from the Maintenance (Outpatient Pharmacy) *"
  • Line Location: PSOMAUEX+18
Function Call: WRITE
  • Prompt: !,"* [PSO MAINTENANCE] option and in the Edit Option Schedule template make an *"
  • Line Location: PSOMAUEX+19
Function Call: WRITE
  • Prompt: !,"* entry for Expire Prescriptions [PSO EXPIRE PRESCRIPTIONS] option and *"
  • Line Location: PSOMAUEX+20
Function Call: WRITE
  • Prompt: !,"* schedule it to run daily. *"
  • Line Location: PSOMAUEX+21
Function Call: WRITE
  • Prompt: !,"*******************************************************************************"
  • Line Location: PSOMAUEX+22
Function Call: WRITE
  • Prompt: !!
  • Line Location: PSOMAUEX+23
Function Call: WRITE
  • Prompt: !
  • Line Location: PSOMAUEX+32
Function Call: WRITE
  • Prompt: !
  • Line Location: PSOMAUEX+36
Function Call: WRITE
  • Prompt: !!!?10,"Job not queued!"
  • Line Location: PSOMAUEX+36
Routine Call
  • DIE
  • Line Location:
    • EN+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(52.4 - [#52.4] Classic Fileman Calls
^PS(52.5 - [#52.5] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.4 - [#52.4] EN2+8
^PS(52.5 - [#52.5] EN2+6, EN2+7
^PS(59.7 - [#59.7] PSOMAUEX+24, EN+5
^PSRX - [#52] EN1+2, EN1+3, EN2+3, EN2+9*, EN2+10, EN2+12, EN2+13*, EN2+21, EN2+22*, EN2+24
, EN2+26, EN2+27, EN2+30*, EN3+1, EN3+8, EN3+9, ENX!, NSET+2, NSET+3*
^PSRX("AD" ENX!
^PSRX("AG" EN+4, EN1+1
^PSRX("AH" EN2+9!

Label References

Name Line Occurrences
EN1 EN+4
EN2 EN1+3
EN3 EN2+26
NSET ENX

Naked Globals

Name Field # of Occurrence
^(0 EN2+7
^(2 EN2+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PSOMAUEX+35
%DT PSOMAUEX+30!*, PSOMAUEX+35!*, PSOMAUEX+36!
%DT("A" PSOMAUEX+30*, PSOMAUEX+35*
%DT("B" PSOMAUEX+31*
%DT(0 PSOMAUEX+30*, PSOMAUEX+35*
CDT EN+3*, EN+4, EN+7!
CMOP EN2+5!
CMOP( EN3+3
CMOP("L" EN3+3
CMOP("S" EN3+3
CPRSDC EN2+1~, EN2+2*, EN2+12, EN2+29
CPRSSTA EN2+1~, EN2+3*, EN2+4*, EN2+12, EN2+29
DA EN+6*!, EN2+5*, EN2+6*, EN2+7, EN2+8*
DIE EN+6*!
DIK EN2+7*!, EN2+8*!
DR EN+6*!
DT PSOMAUEX+7*, PSOMAUEX+30, EN+3, EN2+21
>> DTOUT PSOMAUEX+32, PSOMAUEX+36
IOF PSOMAUEX+8
ORN EN+7!, EN2+3*, EN2+4, EN2+12*, EN2+17, EN2+27*, EN3+5
PDA EN+7!, EN3+1*, EN3+8*, EN3+9
PDA0 EN3+6~, EN3+9*, EN3+10
PDAQ EN3+6~, EN3+7*
PIFN EN+7!, EN2+23*, EN2+24*
PRFDT EN+7!, EN2+23*, EN2+24*, ENX
PSDTEST EN+7!, EN3+1*, EN3+2, EN3+3*, EN3+5*, EN3+10*, ENX
PSOEXRX EN+7!, EN1+1*, EN1+2, EN1+3, EN2+3, EN2+5, EN2+6, EN2+8, EN2+9, EN2+10
, EN2+12, EN2+13, EN2+14, EN2+17, EN2+21, EN2+22, EN2+24, EN2+25, EN2+26, EN2+27
, EN2+29, EN2+30, EN2+31, EN3+1, EN3+8, EN3+9, ENX, NSET+2, NSET+3
PSOEXSTA EN+7!, EN2+10*, EN2+12, EN2+16, EN2+19
PSONM NSET+1~, NSET+2*, NSET+3
PSONMX NSET+1~, NSET+2*
PSOORL EN3+4~, EN3+5*
PSOSVDT EN+1~, EN+2*, EN+4*, EN+5, EN+6
PSUSD EN+7!, EN2+23*, EN2+24*, EN2+25, EN2+26, EN3+1, EN3+10, ENX
>> X EN+3
>> X1 EN+3*
>> X2 EN+3*
>> Y PSOMAUEX+32, PSOMAUEX+33, PSOMAUEX+36, PSOMAUEX+37
>> ZTDESC PSOMAUEX+37*
>> ZTDTH PSOMAUEX+37*
>> ZTIO PSOMAUEX+37*
>> ZTQUEUED EN+7
>> ZTREQ EN+7*
>> ZTRTN PSOMAUEX+37*
>> ZTSAVE("ZZDT" PSOMAUEX+37*
>> ZTSK PSOMAUEX+39
ZZDT PSOMAUEX+24*, PSOMAUEX+25, PSOMAUEX+31, PSOMAUEX+33*, EN+4*, EN+7!, EN1+1, EN1+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 |  Naked Globals |  Local Variables |  All