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

Package: Outpatient Pharmacy

Routine: PSOORFI1


Information

PSOORFI1 ;BIR/SAB - finish OP orders from OE/RR continued ;04-Jun-2013 22:36;PLS

Source Information

Source file <PSOORFI1.m>

Call Graph

Call Graph Total: 20

Package Total Call Graph
Outpatient Pharmacy 12 EN^PSOLMPO  DIN^PSONFI  LOCK^PSOORCPY  DRG^PSOORDRG  (CLOZ,ELIG,POST,SIG,USER)^PSOORFI2  (CLQTY,DOSE,INST,OBX,PQTY)^PSOORFI4  LMDISP^PSOORFI5  DRGMSG^PSOORNEW  
DREN^PSOORNW2  (DCP,L1)^PSOPKIV1  $$DEACHK^PSOUTLA1  WORDWRAP^PSOUTLA2  
Kernel 2 ENDR^%ZISS  $$FMTE^XLFDT  
Order Entry Results Reporting 2 $$VALUE^ORCSAVE2  ULK^ORX2  
Registration 2 KVA^VADPT  FULL^VALM1  
Pharmacy Data Management 1 $$L^PSSLOCK  
VA Fileman 1 $$EXTERNAL^DILFD  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
Outpatient Pharmacy 8 PSOORFI2  PSOORFI3  PSOORFI5  PSOORFIN  PSOORNE3  PSOORNEW  PSOORNW1  PSOPMP0  

Entry Points

Name Comments DBIA/ICR reference
RT ;which route to sort by
EP ;continue processing or not
DRG
PT ;process for all or one patient
LOCK
DSPL
ULK
LOCK1
SIG ;displays possible sig
ISSDT
OBX ;formats obx section
INST ;displays provider comments and pharmacy instructions
POST ;post patient selection
ST ;sort by route or patient
DS
PST
EX

External References

Name Field # of Occurrence
ENDR^%ZISS OBX+3
$$EXTERNAL^DILFD PST+49, PST+51, PST+52, PST+53, PST+54
$$VALUE^ORCSAVE2 ISSDT+11, ISSDT+12, ISSDT+13, ISSDT+14, ISSDT+15
ULK^ORX2 ULK
EN^PSOLMPO PST+63
DIN^PSONFI DS+3
LOCK^PSOORCPY LOCK
DRG^PSOORDRG DSPL+2
CLOZ^PSOORFI2 DRG
ELIG^PSOORFI2 PST+13
POST^PSOORFI2 POST+1
SIG^PSOORFI2 SIG+1
USER^PSOORFI2 ISSDT+2, ISSDT+6, PST+39, PST+57
CLQTY^PSOORFI4 PST+13
DOSE^PSOORFI4 PST
INST^PSOORFI4 PST+2
OBX^PSOORFI4 OBX+4
PQTY^PSOORFI4 PST+34
LMDISP^PSOORFI5 DS+2
DRGMSG^PSOORNEW DS+10
DREN^PSOORNW2 DSPL+3
DCP^PSOPKIV1 PST+63
L1^PSOPKIV1 DS+4
$$DEACHK^PSOUTLA1 DRG+5
WORDWRAP^PSOUTLA2 INST+3
$$L^PSSLOCK LOCK
KVA^VADPT EX+2
FULL^VALM1 DS+7, EX+5
$$FMTE^XLFDT PST+50

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Enter 'PA' to process orders by patients",!," 'RT' to process orders by route (mail/window)",!," 'PR' to process orders by priority",!," 'CL' to process orders by clinic"
  • Line Location: ST+1
Function Call: WRITE
  • Prompt: !," 'FL' to process flagged orders",!," or 'E' or '^' to exit"
  • Line Location: ST+2
Function Call: WRITE
  • Prompt: !
  • Line Location: ST+2
Function Call: WRITE
  • Prompt: !!,"Enter 'W' to process window orders first",!," 'M' to process mail orders first",!," 'C' to process orders administered in clinic first",!," or 'E' or '^' to exit"
  • Line Location: RT+1
Function Call: WRITE
  • Prompt: !!,"Enter 'A' to process all patient orders",!," 'S' to process orders for a patient",!," or 'E' or '^' to exit"
  • Line Location: PT+1
Function Call: WRITE
  • Prompt: !,"If you want to continue processing orders Press RETURN or enter '^' to exit"
  • Line Location: EP+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" ISSDT+1, PST+10, PST+12, PST+59
^PS(50.606 - [#50.606] DS+5
^PS(50.7 - [#50.7] DSPL+1, DS+5
^PS(52.41 - [#52.41] ISSDT+9, ISSDT+10, PST+1, INST+1, INST+2
^PS(53 - [#53] ISSDT+17, PST+8, PST+14, PST+15, PST+16, PST+18
^PS(55 - [#55] ISSDT+8, ISSDT+17, PST+14, PST+15
^PSDRUG - [#50] DRG, DS+10, PST+28, PST+30, PST+32
^PSDRUG("AQ" DS+8
^SC - [#44] ISSDT+4, ISSDT+5
^TMP("PSOAO" EX+3!
^TMP("PSODA" EX+3!
^TMP("PSOHDR" EX+3!
^TMP("PSOPF" EX+3!
^TMP("PSOPI" EX+3!
^TMP("PSOPO" DSPL!, DS+5*, DS+6, DS+8*, DS+9, DS+10*, DS+11*, PST+2*, PST+3*, PST+4*
, PST+5*, PST+7*, PST+8*, PST+9*, PST+10*, PST+12*, PST+14*, PST+28*, PST+29*, PST+32*
, PST+33*, PST+35*, PST+36*, PST+37*, PST+40*, PST+41*, PST+43*, PST+45*, PST+46*, PST+47*
, PST+48*, PST+49*, PST+50*, PST+51*, PST+52*, PST+53*, PST+54*, PST+58*, PST+59*, INST+3
, EX+3!
^VA(200 - [#200] PST+38
^XUSEC("PSORPH" PST+60, LOCK1

Label References

Name Line Occurrences
DRG DSPL+2
DS ISSDT+16
INST PST+3, PST+4
OBX DS+1
PST DS+7
SIG PST+5

Naked Globals

Name Field # of Occurrence
^("EXT" ISSDT+9, ISSDT+10
^("PS" PST+15, PST+38
^(0 DS+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EX+1!, EX+2!
%H EX+2!
%I EX+2!
%T EX+1!
%Y EX+1!
>> ACP PST+63
AGROUP EX+2!
AGROUP1 EX+2!
>> APSPCMP ISSDT+11
C EX+4!
CC EX+4!
CLI EX+1!
CLOZPAT DSPL!, DRG+5, DRG+7, DS, PST+13, PST+29, PST+34
CNT EX+4!
CRIT EX+4!
D EX+4!
D0 EX+2!
DFN EX+2!
DGI EX+4!
DGS EX+4!
DI EX+1!
DIC DRG+3!, EX+1!
DIPGM EX+2!
DIR DRG+3!, EX+1!
DIRUT EX+1!
DQ EX+1!
DR EX+1!
DREN DSPL+2*, EX+4!
DRET EX!
DRG EX+1!
DT ISSDT, PST+10
DUOUT EX+1!
DUZ PST+60, LOCK1
GROUPCNT EX+2!
I EX+1!
>> IEN DS+1*, DS+5*, DS+6, DS+8*, DS+9, DS+10*, DS+11*, PST+2*, PST+3*, PST+4*
, PST+5*, PST+7*, PST+8*, PST+9*, PST+10, PST+12*, PST+14*, PST+28, PST+29, PST+31*
, PST+32, PST+33*, PST+35*, PST+36*, PST+37*, PST+40*, PST+41*, PST+43*, PST+45*, PST+46*
, PST+47*, PST+48*, PST+49*, PST+50*, PST+51*, PST+52*, PST+53*, PST+54*, PST+58*, PST+59
, INST+3
INST INST+1*, INST+2, INST+4!
INST( INST+2*
IT EX+4!
JJ EX+4!
LG EX+4!
LST DS+7!
MAIL EX+1!
MAXRF PST+23*, PST+24!
MEDA EX+3!
MEDP EX+3!
MIG INST+2*, INST+3, INST+4!
MM EX+4!
MPSDY PST+19*, PST+23, PST+24!
>> NFID DS+8, DS+9*
>> NFIO DS+5, DS+6*
NIEN EX+4!
OBX EX+2!
>> OI DSPL+1*
>> OID DSPL+1*
OR0 DSPL+1, DSPL+2, DSPL+3, DRG+4, DRG+7, ISSDT, ISSDT+2, ISSDT+3, ISSDT+4, ISSDT+5
, ISSDT+6, ISSDT+7, ISSDT+11, ISSDT+12, ISSDT+13, ISSDT+14, ISSDT+15, ISSDT+16, PST+10, PST+11
, PST+12, PST+16, PST+26, PST+27, PST+29, PST+33, PST+38, PST+42, PST+57, PST+59
, EX+1!
OR1 EX+1!
OR2 EX+1!
OR3 EX+1!
ORD ISSDT+9, ISSDT+10, DS+2, PST+1, INST+1, INST+2, EX+1!
PAT LOCK, ULK, EX+1!
PATA EX+4!
PHI EX!
PKI DS+4!
>> PKI1 DS+4, PST+63
POERR DSPL+2*!, EX+1!
POERR("QFLG" LOCK*, ULK*
PRC EX!
PSDAYS DRG+4~*, DRG+5, EX+4!
PSDEA DRG+4~*, DRG+5
PSOACT PST+60*, PST+62*, LOCK1*, EX+4!
>> PSOACTOV PST+62
PSOBILL EX+2!
PSOBM EX+4!
PSOCNT EX+2!
PSOCOU EX+4!
PSOCOUU EX+4!
PSOCPAY EX+2!
>> PSOCS DRG+3*, DRG+5
PSOD EX+4!
PSODFN ISSDT+3*, ISSDT+8, ISSDT+17, PST+14, PST+15, EX+1!
>> PSODIR("EXPIR ATION DATE" , PST+50
>> PSODIR("LOT # " , PST+50
PSODRUG EX!
PSODRUG("DEA" DRG+2, DRG+4
PSODRUG("IEN" DRG, DS+3, DS+8, DS+10, PST+28, PST+30, PST+32
PSODRUG("NAME" DS+7, DS+8
PSODRUG("NDC" PST+46
PSODRUG("OI" DSPL+1*, DS+3, DS+5
PSODRUG("OIN" DSPL+1*
PSODSPL DSPL!
PSOFDR EX+3!
PSOFIN EX+3!
PSOFLAG EX+4!
PSOFROM EX+1!
PSOIBQS EX+2!
PSOID ISSDT*, EX+2!
PSOINSFL PST!, PST+1*
PSOLK EX+2!
>> PSOMAX DRG+5, DRG+7*, PST+17, PST+18*, PST+26
PSON EX+4!
PSONEW EX+1!
PSONEW("# OF REFILLS" , PST+16*, PST+17*, PST+24*, PST+26*, PST+27*, PST+35
PSONEW("AWP" PST+47
PSONEW("BST" PST+49
PSONEW("CASH DUE" , PST+54
PSONEW("CHCS NUMBER" , ISSDT+9*
PSONEW("CLERK CODE" , ISSDT+2*, ISSDT+7*
PSONEW("CLINIC" ISSDT+4*
PSONEW("CLININD" ISSDT+12*, PST+7
PSONEW("CLININD2" ISSDT+13*, PST+7
PSONEW("CM" ISSDT+11*, PST+51
PSONEW("COSIG NING PROVIDER" , PST+38*, PST+39
PSONEW("COST" PST+47
PSONEW("DAW" ISSDT+14*, PST+52
PSONEW("DAYS SUPPLY" , ISSDT+16*, ISSDT+17*, DS*, PST+14, PST+19
PSONEW("DFLG" ISSDT+3*
PSONEW("DSCMED" ISSDT+15*, PST+53
PSONEW("EXTER NAL SYSTEM" , ISSDT+10*
PSONEW("FILL DATE" , PST+10*
PSONEW("ISSUE DATE" , ISSDT*, ISSDT+1*, PST+9
PSONEW("MAIL/WINDOW" ISSDT+3*, PST+35
PSONEW("MANUFACTURER" PST+50
PSONEW("PATIE NT STATUS" , ISSDT+8*, PST+8
PSONEW("PROVI DER NAME" , ISSDT+7*, PST+37
PSONEW("PROVIDER" ISSDT+7*, PST+38
PSONEW("QFLG" ISSDT+3*
PSONEW("QTY" ISSDT+3*, PST+29
PSONEW("REMARKS" PST+42*, PST+43
PSONEW("TRIP" PST+48
PSONOOR EX+4!
PSOOPT EX+4!
>> PSOPAR PST+60, LOCK1
PSOPF EX+4!
PSOPI EX+4!
PSOPLCK LOCK*, LOCK+1!
PSOPRC DSPL!
PSOPTPST EX+2!
PSOQFLG EX+2!
PSOQUIT ULK, EX+3!
PSORX EX+2!
PSORX("CLERK CODE" , ISSDT+2*
PSORX("CLINIC" ISSDT+4*, ISSDT+5*, PST+36
PSORX("FILL D ATE" , PST+10*
PSOSD EX+1!
PSOSORT EX+1!
PSOX DRG+3!, PST+16*
PSRF EX+4!
PSRT EX+1!
PSZFIN EX+2!
PSZFZZ EX+2!
PT EX+2!
RN PST+31*, PST+32!, PST+58*, PST+59!
RTN EX+2!
RXFL EX+4!
RXPT PST+15*, PST+16, PST+18!
SDA EX+4!
SEG1 EX+4!
SER EX+4!
SERS EX+4!
SG INST+4!
SIG EX!
>> SIGOK PSOORFI1+21*
SLPPL EX+4!
SRT EX+1!
STA EX+1!
STAT EX+4!
T EX+1!
T1 EX+1!
TC EX+2!
TM EX+2!
TM1 EX+2!
TO EX+2!
TY PST+3*, PST+4*, INST+1, INST+2, INST+4!
TZ EX+2!
>> USER1 ISSDT+2, ISSDT+7, PST+40, PST+58
>> VALMBCK PST+63*
WIN EX+1!
X OBX+2~, OBX+3*, ULK*, EX+1!
Y ISSDT*, ISSDT+1, PST+10*, PST+12*, PST+59*, EX+1!
Z EX+4!
Z4 EX+4!
ZDA EX+4!
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