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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSDERD

Package: Controlled Substances

Routine: PSDERD


Information

PSDERD ;BIR/JPW-CS Error Log Edit ; 20 Aug 94

Source Information

Source file <PSDERD.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 NOW^%DTC  ^DIC  ^DIE  
Controlled Substances 1 ^PSDSET  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSD ERR/ADJ EDIT  

Entry Points

Name Comments DBIA/ICR reference
EDIT ;edit entry
ASKD ;ask disp location
END ;
DISPLAY ;display info
DIE ;

External References

Name Field # of Occurrence
NOW^%DTC DIE+1
^DIC ASKD+5, EDIT+2
^DIE DIE+3
^PSDSET PSDERD+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!!,?9,"** Please contact your Pharmacy Coordinator for access to",!,?12,"the pending Controlled Substances error log.",!!,"PSDMGR or PSD ERROR security key required.",!
  • Line Location: PSDERD+4
Function Call: WRITE
  • Prompt: !!!,"You may select a Dispensing Site at the prompt.",!
  • Line Location: ASKD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKD+2
Function Call: WRITE
  • Prompt: !!,"Transaction unavailable for editing.",!!
  • Line Location: EDIT+5
Function Call: WRITE
  • Prompt: !!,"Accessing transaction now..."
  • Line Location: EDIT+6
Function Call: WRITE
  • Prompt: !!,"Enter your resolution.",!
  • Line Location: DIE+2
Function Call: WRITE
  • Prompt: !!,"Transaction Information",!,LN,!
  • Line Location: DISPLAY+1
Function Call: WRITE
  • Prompt: !,PSDRN,!,"Transaction Type: ",PSDTYP,!,"Date Entered: ",PSDATE,?50,"Quantity: ",PSDQTY,!,"Entered By: ",PSD1,!
  • Line Location: DISPLAY+2
Function Call: WRITE
  • Prompt: "Witnessed By: ",PSD2,!
  • Condition for execution: PSD2]""
  • Line Location: DISPLAY+2
Routine Call
  • DIE
  • Line Location:
    • DIE+3
Routine Call
  • DIC
  • Line Location:
    • ASKD+5
    • EDIT+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" EDIT+3
^PSD(58.81 - [#58.81] EDIT+5, EDIT+7
^PSD(58.84 - [#58.84] EDIT+9
^PSDRUG - [#50] EDIT+8
^VA(200 - [#200] EDIT+11, EDIT+13
^XUSEC("PSD ERROR" PSDERD+3
^XUSEC("PSDMGR" PSDERD+3

Label References

Name Line Occurrences
DISPLAY EDIT+14
EDIT PSDERD+7
END ASKD+5, EDIT+2, EDIT+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DIE+1, END+1!
%DT END+1!
%H END+1!
%I END+1!
%ZIS END+1!
ALL END+1!
CNT END+1!
DA ASKD+2!, EDIT+1!, DIE+3!*, END+1!
DIC ASKD+2!*, ASKD+5!, EDIT+1!*, EDIT+2!, END+1!
DIC("A" ASKD+4*, EDIT+1*
DIC("B" ASKD+4*
DIC("S" ASKD+3*, EDIT+1*
DIC(0 ASKD+2*, EDIT+1*
DIE DIE+3!*
DIR END+1!
DIROUT END+1!
DIRUT END+1!
DR DIE+3!*
DTOUT END+1!
DUOUT END+1!
DUZ PSDERD+3, PSDERD+5
LN PSDERD+6!*, END+1!, DISPLAY+1
NODE EDIT+2*, EDIT+3, END+1!
NODE1 EDIT+7*, EDIT+8, EDIT+9, END+1!
NODE9 EDIT+7*, EDIT+10, EDIT+12, END+1!
OK PSDERD+3*, PSDERD+4!
PG END+2!
PHARM END+2!
PHARMN END+2!
POP END+2!
PSD EDIT+2*, DIE+3, END+2!
PSD1 EDIT+10*, EDIT+11*, END+2!, DISPLAY+2
PSD2 EDIT+12*, EDIT+13*, END+2!, DISPLAY+2
PSDA EDIT+3*, EDIT+5, EDIT+7, END+2!
PSDATE EDIT+3*, END+2!, DISPLAY+2
PSDED END+2!
PSDEV END+2!
PSDN END+2!
PSDOUT END+2!
PSDQTY EDIT+8*, END+2!, DISPLAY+2
PSDR EDIT+8*, END+2!
PSDRG END+2!
PSDRN EDIT+8*, END+2!, DISPLAY+2
PSDS PSDERD+7*, ASKD+6*, END+2!
PSDSD END+2!
>> PSDSITE PSDERD+2, PSDERD+7, ASKD+6*
PSDSN PSDERD+7*, ASKD+4, ASKD+6*, END+2!
PSDT DIE+1*, DIE+3, END+2!
PSDTYP EDIT+9*, END+2!, DISPLAY+2
PSDUZ PSDERD+5*, DIE+3, END+2!
QTY END+3!
RPDT END+3!
U PSDERD+7, ASKD+6
X END+3!
Y ASKD+5, ASKD+6, EDIT+2, EDIT+3*, END+3!
Y(0 EDIT+2
ZTDESC END+3!
ZTDTH END+3!
ZTIO END+3!
ZTRTN END+3!
ZTSAVE END+3!
ZTSK END+3!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All