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

Package: Controlled Substances

Routine: PSDRF5


Information

PSDRF5 ;BIR/JPW,LTL-Nurse RF defective liquid Dispensing ; 8 Aug 94

Source Information

Source file <PSDRF5.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Controlled Substances 2 UPDAT^PSDRF1  DRUG^PSDRF4  
Kernel 1 $$WITNESS^XUVERIFY  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDRF4  

Entry Points

Name Comments DBIA/ICR reference
MSG ;display error message
WIT
END

External References

Name Field # of Occurrence
^DIR PSDRF5+3
UPDAT^PSDRF1 WIT+5
DRUG^PSDRF4 WIT+5
$$WITNESS^XUVERIFY WIT

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Wait a minute, you can't witness yourself!",$C(7)
  • Line Location: WIT+1
Function Call: WRITE
  • Prompt: !!,"Thank you, ",$S($P($G(^VA(200,NUR2,.1)),U,4)]"":$P($G(^(.1)),U,4),1:$P($G(^VA(200,NUR2,0)),U))
  • Line Location: WIT+3
Function Call: WRITE
  • Prompt: !!,"Remaining Balance: ",$P(PSDR(1),U,4)-PSDQ," ",$P(PSDR(1),U,8)
  • Line Location: WIT+4
Function Call: WRITE
  • Prompt: $C(7),!!,?10,"Contact your Pharmacy Coordinator.",!,?10,"This "_$S(MSG=2:"Dispensing Site",MSG=1:"NAOU",1:"Drug")_" is missing "
  • Line Location: MSG+1
Function Call: WRITE
  • Prompt: $S(MSG1=1:"Primary Disp. Site",MSG1=2:"stocked drugs",MSG1=3:"narcotic breakdown unit",MSG1=4:"narcotic package size",1:"data")_".",!
  • Line Location: MSG+2
Routine Call
  • DIR
  • Line Location:
    • PSDRF5+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^VA(200 - [#200] WIT+3

Label References

Name Line Occurrences
WIT WIT+1

Naked Globals

Name Field # of Occurrence
^( WIT+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END!
%DT END!
%H END!
%I END!
CNT END!
CNT1 END!
DA END!
DIC END!
DIE END!
DINUM END!
DIR PSDRF5+3!, END!
DIR("A" PSDRF5+2*
DIR(0 PSDRF5+2*
DIROUT END!
DIRUT PSDRF5+3, END!
DIWF END!
DIWL END!
DIWR END!
DR END!
DTOUT END!
DUOUT END!
DUZ WIT+1
LN END!
MSG END!, MSG+1
MSG1 END!, MSG+2
NAOU END+1!
NAOUN END+1!
NBKU END+1!
NPKG END+1!
>> NUR2 WIT*, WIT+1, WIT+2, WIT+3
OK END+1!
OKTYP END+1!
>> OQTY PSDRF5+2
ORD END+1!
PSDA END+1!
PSDEM END+1!
PSDOUT PSDRF5+3*, WIT+2*, END, END+1!
>> PSDQ PSDRF5+3*, WIT+4
PSDQTY END+1!
PSDR END+1!
PSDR(1 WIT+4
PSDRD END+1!
PSDRN END+1!
PSDS END+1!
PSDT END+1!
PSDUZ END+1!
PSDUZN END+1!
REQD END+1!
TEXT END+1!
TYPE END+1!
U WIT+3, WIT+4
WORD END+1!
>> WQTY PSDRF5+3*
X END+1!
Y PSDRF5+3, END+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All