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

Package: Controlled Substances

Routine: PSDDFP1


Information

PSDDFP1 ;BIR/JPW-Disp from Pharm w/o Green Sheet (cont'd) ; 2 Aug 93

Source Information

Source file <PSDDFP1.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 4 NOW^%DTC  ^DIC  FILE^DICN  ^DIE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Controlled Substances 2 PSDDFP  PSDNDES  

Entry Points

Name Comments DBIA/ICR reference
TRANS ;create a disp transaction
FIND
ADD ;add info to your vault (58.8)
UPDATE ;update transaction with activity # from 58.8
END

External References

Name Field # of Occurrence
NOW^%DTC UPDATE+6
^DIC FIND+1, ADD+5
FILE^DICN ADD+2
^DIE ADD+6, UPDATE+12, UPDATE+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Creating a dispensing transaction..."
  • Line Location: TRANS+1
Function Call: WRITE
  • Prompt: !!,?5,"Updating on-hand quantity..."
  • Line Location: UPDATE+1
Function Call: WRITE
  • Prompt: "done.",!
  • Line Location: UPDATE+8
Function Call: WRITE
  • Prompt: !!,"Old Balance : ",BAL,?35,"New Balance: ",BAL-QTY
  • Line Location: UPDATE+9
Function Call: WRITE
  • Prompt: !!,"Updating your transaction history..."
  • Line Location: UPDATE+10
Function Call: WRITE
  • Prompt: "still updating..."
  • Line Location: UPDATE+13
Function Call: WRITE
  • Prompt: "done.",!!
  • Line Location: UPDATE+14
Routine Call
  • DIC
  • Line Location:
    • FIND+1
    • ADD+5
Routine Call
  • DIE
  • Line Location:
    • ADD+6
    • UPDATE+12
    • UPDATE+13

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSD(58.8 - [#58.8] ADD+1, ADD+4, ADD+5, UPDATE+7, UPDATE+8
^PSD(58.81 - [#58.81] TRANS+2, FIND*, FIND+2, UPDATE+8*

Label References

Name Line Occurrences
FIND FIND

Naked Globals

Name Field # of Occurrence
^(0 ADD+1*, ADD+4*, UPDATE+7*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % UPDATE+6
>> ASK UPDATE+13
>> BAL UPDATE+7*, UPDATE+8, UPDATE+9, UPDATE+12
DA FIND+1!, ADD+2!, ADD+5!, ADD+6!*, UPDATE+11!*, UPDATE+14!
DA(1 ADD+2*, ADD+5*, ADD+6*
DA(2 ADD+2*, ADD+5*, ADD+6*
DD ADD+2!
DIC FIND+1!*, ADD+2!*, ADD+5!*
DIC(0 FIND+1*, ADD+2*, ADD+5*
DIE ADD+6!*, UPDATE+11!*, UPDATE+14!
>> DILOCKTM TRANS+2
DINUM FIND+1*, ADD+2*, ADD+5*!
DLAYGO FIND+1!*, ADD+5*!
DO ADD+2!
DR ADD+6!*, UPDATE+11!, UPDATE+12*, UPDATE+13!*, UPDATE+14!
DT ADD+5, ADD+6
>> EXP UPDATE+13
>> LOT UPDATE+13
>> MFG UPDATE+13
>> NAOU UPDATE+12
>> PSDDT UPDATE+6*, UPDATE+12
>> PSDR ADD+1, ADD+2, ADD+4, ADD+5, ADD+6, UPDATE+7, UPDATE+8, UPDATE+12
>> PSDREC FIND*, FIND+1, ADD+2, UPDATE+8, UPDATE+11
>> PSDS ADD+1, ADD+2, ADD+4, ADD+5, ADD+6, UPDATE+7, UPDATE+8, UPDATE+12
>> PSDUZ UPDATE+12
>> QTY UPDATE+7, UPDATE+9, UPDATE+12
>> X FIND+1*, ADD+2*, ADD+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All