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 |  Marked Items |  All
Print Page as PDF
Routine: PSONEW

Package: Outpatient Pharmacy

Routine: PSONEW


Information

PSONEW ;BIR/SAB - new rx order main driver ;07/26/96

Source Information

Source file <PSONEW.m>

Call Graph

Call Graph

Call Graph Total: 21

Package Total Call Graph
Outpatient Pharmacy 14 ^PSOBUILD  EN^PSOHLSN1  HLDHDR^PSOLMUTL  EN^PSON52  ^PSONEW1  ^PSONEW2  ^PSONEWOC  (AUTO,CHECK)^PSONRXN  
LOCK^PSOORCPY  RV^PSOORFL  BLD^PSOORUT1  MARK^PSOOTMRX  NPSOSD^PSOUTIL  CLEAN^PSOVER1  
Order Entry Results Reporting 2 ($$NA,NA)^ORX1  (LK,ULK)^ORX2  
VA FileMan 2 ^DIE  ^DIR  
List Manager 1 FULL^VALM1  
Pharmacy Data Management 1 ($$L,UL)^PSSLOCK  
Text Integration Utility 1 MAIN^TIUEDIT  

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

Package Total Caller Graph
Outpatient Pharmacy 14 PSO NEW ORDER  PSOBBC  PSOCAN2  PSON52  PSOORCPY  PSOORED1  PSOOREDT  PSOORNE1  
PSOORNE4  PSOORNEW  PSORENW  PSORENW4  PSORN52A  PSOVER1  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
AGAIN
PRONTE
DIRX
END
OERR ;backdoor new rx for v7
EOJ ;
NOORX
DEL ;
NOOR ;asks nature of order
NOORE(PSONEW) ;entry point for renew
DAOC ;adds all backdoor order checks to file 100.05.
DIR ;ask nature of order
COUN ;patient counseling

External References

Name Field # of Occurrence
^DIE DEL+7
^DIR END+1, COUN+2, COUN+4, PRONTE+2, DIR+8
$$NA^ORX1 DIR+2
NA^ORX1 DIR+1
LK^ORX2 OERR+3
ULK^ORX2 END+2
^PSOBUILD END+2
EN^PSOHLSN1 EOJ+6, EOJ+7
HLDHDR^PSOLMUTL AGAIN+1
EN^PSON52 AGAIN+10
^PSONEW1 AGAIN+2
^PSONEW2 AGAIN+8
^PSONEWOC DAOC+1
AUTO^PSONRXN AGAIN+5
CHECK^PSONRXN AGAIN+5
LOCK^PSOORCPY OERR+2
RV^PSOORFL END+3
BLD^PSOORUT1 END+2
MARK^PSOOTMRX AGAIN+15
NPSOSD^PSOUTIL AGAIN+11
CLEAN^PSOVER1 EOJ+3
$$L^PSSLOCK OERR+2
UL^PSSLOCK OERR+3, END+2
MAIN^TIUEDIT EOJ+13, PRONTE+1
FULL^VALM1 AGAIN+2, EOJ+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: AGAIN+1
Function Call: WRITE
  • Prompt: !,$C(7),"RX DELETED",!
  • Line Location: AGAIN+4
Function Call: WRITE
  • Prompt: !
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !,$C(7),"RX DELETED",!
  • Line Location: DEL+1
Routine Call
  • DIE
  • Line Location:
    • DEL+7
Routine Call
  • DIR
  • Line Location:
    • END+1
    • COUN+2
    • COUN+4
    • PRONTE+2
    • DIR+8

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DILOCKTM" DEL+5
^PS(59 - [#59] DEL+5, DEL+7, DEL+8
^PSRX - [#52] EOJ+7, EOJ+10
^PSRX("B" EOJ+1
^TMP("PSODAOC" EOJ+9, EOJ+12!, DAOC+1!
^TMP("PSORXDC" EOJ+4!
^TMP("PSORXN" EOJ+5, EOJ+6, EOJ+12!
^VA(200 - [#200] DIR+2, DIR+7
^XUSEC("PSORPH" NOOR+4, NOOR+7, NOOR+11

Label References

Name Line Occurrences
AGAIN END+1
COUN NOOR+4, NOOR+7
DAOC EOJ+11
DEL AGAIN+6, AGAIN+7, AGAIN+8
DIR NOOR+6, NOOR+9
END AGAIN+3, AGAIN+4, AGAIN+6, AGAIN+7, AGAIN+8, AGAIN+9
EOJ END
NOOR AGAIN+7, NOORE+1
NOORX NOOR+3, NOOR+11, COUN+1
PRONTE COUN+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACNT EOJ+4!
ACOM EOJ+4!
ANQDATA EOJ+2!
C EOJ+2!
COPY OERR+1!
CRIT EOJ+4!
DA DEL+3*, NOOR+10!
DEF EOJ+4!
DF DIR+5*, DIR+8!
DIE DEL+3*, DEL+7!, NOOR+10!
DIK NOOR+10!
DIR END+1!, NOOR+7!, NOOR+10!, COUN+1!, COUN+4!, PRONTE!, PRONTE+1!, PRONTE+2!, NOORX!, DIR+1!
, DIR+6!
DIR("A" END+1*, PRONTE+2*, DIR+6*
DIR("B" END+1*, COUN+2*, COUN+4*, PRONTE+2*, DIR+6*
DIR(0 END+1*, COUN+2*, COUN+4*, PRONTE+2*, DIR+7*
DIRUT END+1!, NOOR+6, NOOR+7!, NOOR+9, NOOR+10!, COUN+1!, COUN+3, COUN+4!, PRONTE!, PRONTE+1!
, NOORX!, DIR+1!, DIR+4*, DIR+6!, DIR+8, NOORE+1
DR DEL+6*, NOOR+10!
DRET OERR+1!, EOJ+4!
DTOUT END+1!, NOOR+7!, NOOR+10!, COUN+1!, COUN+4!, NOORX!, DIR+1!, DIR+6!
DUOUT END+1!, NOOR+10!, COUN+1!, COUN+4!, PRONTE!, PRONTE+1!, NOORX!
DUR OERR+1!, EOJ+4!
DUZ NOOR+4, NOOR+7, NOOR+11, DIR+2, DIR+7
F1 EOJ+4!
GG EOJ+4!
I1 EOJ+4!
IEN EOJ+4!
INDT EOJ+4!
LAST EOJ+4!
LSI EOJ+2!
MAX EOJ+2!
MIN EOJ+2!
MSG EOJ+4!
NDF EOJ+2!
NIEN EOJ+4!
>> OR0 NOOR+3, NOOR+4
ORD AGAIN+2!, END+1!
POERR AGAIN!, AGAIN+4, AGAIN+6, AGAIN+8
POERR("DFLG" AGAIN+4*, AGAIN+6*, AGAIN+8*
PSDRUG END+1!
PSOCKCON OERR+1~, EOJ+14!
PSOCOU AGAIN!, EOJ+2!, COUN+2*, COUN+3, COUN+4
PSOCOUU AGAIN!, EOJ+2!, COUN+3*, COUN+4!*
PSODAOC OERR+1~, EOJ+10*, EOJ+12!
>> PSODFN OERR+2, OERR+3, END+2, EOJ+13
PSODRUG AGAIN!, EOJ+2!
PSODRUG("OI" NOOR+4
PSOEDIT OERR+1!
PSOFLAG EOJ+2!
>> PSOFROM AGAIN+1*
PSOHI EOJ+2!
PSOI NOOR+4*, NOOR+10!
PSOLO EOJ+2!
PSOMTFLG OERR+1!
PSONEW AGAIN+10, AGAIN+11, END+1!, EOJ+2!, NOORE~
PSONEW("DFLG" AGAIN+1*, AGAIN+4, AGAIN+6, AGAIN+7, AGAIN+8, NOOR+6*, NOOR+9*, NOORE+1*
PSONEW("IRXN" AGAIN+15
PSONEW("NOO" NOORE+2*
PSONEW("OLD L AST RX#" , DEL+3, DEL+4
PSONEW("QFLG" AGAIN+1*, AGAIN+3, AGAIN+6
PSONEW("RX #" , AGAIN+5, EOJ+1
>> PSONOBCK DIR+2
PSONODF DIR+5*, DIR+6, DIR+8!
PSONOEDT AGAIN+1*, EOJ+2!
PSONOODF NOOR+1~, NOOR+2*, NOOR+5*, DIR+2
PSONOOR AGAIN!, EOJ+2!, NOOR+4*, NOOR+7*, NOOR+10*, DIR+2*, DIR+3*, DIR+4!, DIR+5, DIR+6
, DIR+8*, NOORE+2
PSONOTE EOJ+13, EOJ+14!, PRONTE!, PRONTE+3*
>> PSOPAR AGAIN+5, DEL+2
PSOPLCK OERR+2*!, OERR+3!
PSOPRC EOJ+4!
PSOQUIT AGAIN!, AGAIN+1*
PSOREEDT OERR+1!
>> PSORX("DFLG" AGAIN!*
>> PSORX("EDIT" EOJ+2!, COUN+1
>> PSORX("FN" AGAIN!, AGAIN+9, END+1, END+4!
>> PSORX("NAME" END+1
>> PSOSIGFL NOOR+4, COUN+1
>> PSOSITE DEL+3, DEL+5, DEL+7, DEL+8
PSOTITRX OERR+1!
PSOX AGAIN+5*, DEL+4*, DEL+6, DEL+7, DEL+9!
PSOY DEL+3*, DEL+4, DEL+5, DEL+6, DEL+7, DEL+8, DEL+9!
PSRDI DAOC+1!
REF EOJ+2!
RET EOJ+12!
RORD EOJ+4!
RXN EOJ+5*, EOJ+6, EOJ+7, EOJ+10*, EOJ+12!
RXN1 EOJ+6*, EOJ+12!
SER EOJ+2!
SIG EOJ+2!
SPEED OERR+1!, COUN+3, PRONTE+1
STA EOJ+4!
>> TIUDA EOJ+13
>> VALMBCK OERR+2*, OERR+3*, AGAIN+4*, AGAIN+6*, AGAIN+8*, AGAIN+12*, END+4*, NOOR+9*
VALMCNT AGAIN~
>> VALMSG OERR+2*, OERR+3*
X OERR+3*, END+2*, DEL+7!, NOORX!
Y OERR+3, END+1, DEL+7!, NOOR+7, NOOR+10, COUN+2, COUN+4, PRONTE+3, NOORX!, DIR+3*
, DIR+8
ZNEW EOJ+2!, EOJ+10*, EOJ+12!
ZRXN EOJ+5*, EOJ+10, EOJ+12!
ZZCOPY EOJ+14!

Marked Items

Name Field # of Occurrence
$T(MAIN^TIUEDIT PRONTE+1
$T(NA^ORX1 DIR+1
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 |  Marked Items |  All