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

Package: Outpatient Pharmacy

Routine: PSODGDG1


Information

PSODGDG1 ;BHAM ISC/SAB - DRUG INTERACTION PROCESSOR ; 02/25/94 9:14

Source Information

Source file <PSODGDG1.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Outpatient Pharmacy 7 ^PSOBUILD  NOOR^PSOCAN4  (,PROC)^PSODGDG2  ^PSODSPL  CUTDATE^PSOFUNC  ENQ^PSORXDL  EN1^PSORXI  
VA Fileman 2 ^DIK  ^DIR  
Kernel 1 SIG^XUSESIG  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Outpatient Pharmacy 2 PSO INTERACTION VERIFY  PSOVER  

Entry Points

Name Comments DBIA/ICR reference
PROCESS ;verification
INV
KILL
PSDEL
UPOUT
CRITN ;multiple interactions
ONE
CRIZ ;
DEL
CRI ;new interactions
RXV

External References

Name Field # of Occurrence
^DIK RXV
^DIR PROCESS+6, CRI+4, CRITN+6, UPOUT
^PSOBUILD PROCESS+2
NOOR^PSOCAN4 CRI+9, CRITN+9, CRITN+16, CRITN+22
^PSODGDG2 CRI+11, CRITN+20, CRITN+26
PROC^PSODGDG2 PSODGDG1+2
^PSODSPL PROCESS+2
CUTDATE^PSOFUNC PROCESS+2
ENQ^PSORXDL DEL
EN1^PSORXI INV
SIG^XUSESIG CRI+7, CRITN+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!,$P(^DPT(DFN,0),"^"),?40,"ID#:"_VA("PID")_" RX #"_$P(INT,"^")
  • Line Location: PROCESS+2
Function Call: WRITE
  • Prompt: $C(7),$C(7)
  • Line Location: PROCESS+5
Function Call: WRITE
  • Prompt: !
  • Line Location: PROCESS+6
Function Call: WRITE
  • Prompt: !!,"Canceling Rx: "_$P($G(^PSRX(DA,0)),"^")_" "_"Drug: "_$P($G(^PSDRUG($P(^PSRX(DA,0),"^",6),0)),"^"),!
  • Line Location: DEL+0
Function Call: WRITE
  • Prompt: " ACTION NOT TAKEN!",!
  • Line Location: UPOUT+0
Routine Call
  • DIR
  • Line Location:
    • PROCESS+6
    • CRI+4
    • CRITN+6
    • UPOUT

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PROCESS+2
^PSDRUG - [#50] PROCESS+5, CRI+2, CRITN+2, CRITN+3, CRITN+5, PSDEL+2, PSDEL+3, DEL, ONE+1, ONE+2
^PSRX - [#52] PROCESS+1, PROCESS+5, CRI+11*, CRITN+13*, CRITN+20*, CRITN+25*, CRITN+26*, PSDEL+1, PSDEL+2, PSDEL+3
, DEL, ONE, ONE+1, ONE+2

Label References

Name Line Occurrences
CRI PROCESS+8
CRITN CRI+1
CRIZ CRITN+6, CRITN+7
DEL CRI+10, CRITN+11, CRITN+17, CRITN+23
INV PROCESS+9, CRI+10, CRI+11, CRITN+12, CRITN+13, CRITN+19, CRITN+23, CRITN+25, CRITN+26
KILL CRITN+8, CRITN+9, CRITN+15, CRITN+16, CRITN+21, CRITN+22, CRITN+28
ONE CRI+11, CRITN+14, CRITN+20, CRITN+25, CRITN+26
PROCESS PROCESS+6
PSDEL CRI+10, CRITN+11, CRITN+17, CRITN+23
RXV CRI+10, CRITN+10
UPOUT CRI+9, CRITN+9, CRITN+16, CRITN+22

Naked Globals

Name Field # of Occurrence
^(0 PROCESS+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANSDIR CRI+3!, CRI+6*, CRI+7!, CRI+8, CRI+11, CRI+12!
>> DA PROCESS+9*, CRI+10*, CRI+11*, CRITN+10*, CRITN+11*, CRITN+12*, CRITN+13*, CRITN+17*, CRITN+18*, CRITN+19*
, CRITN+20*, CRITN+23*, CRITN+25*, CRITN+26*, INV, PSDEL+1, PSDEL+2, PSDEL+3, DEL
>> DFN PROCESS+2
DIK CRI+12!, RXV*, KILL!
DIR PROCESS+8!, PROCESS+10!, CRI+1!, CRI+4!, CRITN+2!, CRITN+6!, KILL!, UPOUT!
DIR("?" PROCESS+3*, PROCESS+4*, CRI+4*, CRITN+5*, CRITN+6*
DIR("A" PROCESS+5*, PROCESS+6*, CRI+2*, CRITN+2*, CRITN+3*, UPOUT*
DIR("B" PROCESS+6*, CRI+2*
DIR(0 PROCESS+6*, CRI+2*, CRITN+4*, UPOUT*
DIROUT PROCESS+8!, PROCESS+10!, CRI+12!, CRITN+23!, KILL!
DIRUT PROCESS+8!, PROCESS+10!, CRI+5, CRI+9, CRI+12!, CRITN+6, CRITN+9, CRITN+16, CRITN+22, CRITN+23!
, KILL!
DTOUT PROCESS+8!, PROCESS+10!, CRI+12!, CRITN+23!, KILL!
DUOUT PROCESS+8!, PROCESS+10!, CRI+12!, CRITN+23!, KILL!
>> IFN PROCESS+9, CRI+10, CRI+11, CRITN+10, CRITN+11, CRITN+12, CRITN+19, CRITN+20, CRITN+23, CRITN+26
>> INA PROCESS+5, CRI+11, CRITN+1, CRITN+12, CRITN+17, CRITN+18, CRITN+20, CRITN+23, CRITN+25, CRITN+26
>> INT PROCESS+2, CRI+2, CRITN+2, CRITN+5
IOF PROCESS+2
LST CRI+12!, CRITN+24*, KILL!
>> MED PROCESS+5, CRI+11, CRITN+1, CRITN+12, CRITN+17, CRITN+18, CRITN+20, CRITN+23, CRITN+25, CRITN+26
PPL CRITN+24*, KILL!
PSAN CRITN+7*!, CRITN+8, CRITN+15, CRITN+21, CRITN+23!, CRITN+24, KILL!
PSHOLDDA CRITN+23*!
>> PSODTCUT PROCESS+2
PSONOOR CRI+12!, CRITN+14!, CRITN+15!, CRITN+16!, CRITN+18!, CRITN+21!, CRITN+22!
PSONORR CRITN+9!
>> PSONV PROCESS+1
>> PSORX("INTERVENE" PROCESS+8*, PROCESS+9*, CRITN+9!, CRITN+16!, CRITN+22!
>> PSOSD CRITN+12*, CRITN+18*, CRITN+27*
>> PSOSD( PSDEL+2!, PSDEL+3!, ONE+1*, ONE+2*
>> PSOTHER CRITN+1*, CRITN+12, CRITN+13, CRITN+25
>> PSOTHER( CRITN+25*
>> PSOZVER PROCESS+2
>> PSVERFLG PROCESS+7*, CRI+5*, CRI+7*, CRI+11, CRITN+6*, CRITN+7*, CRITN+20, CRITN+26, UPOUT*
>> RX CRI+1, CRITN+3, CRITN+5
>> SER PROCESS+3, PROCESS+4, PROCESS+5, PROCESS+6, PROCESS+7, PROCESS+8, PROCESS+9
STA PSDEL+1*, ONE*, ONE+3!
STAT PSDEL, PSDEL+1*, PSDEL+2, PSDEL+3, ONE*, ONE+1, ONE+2, ONE+3!
>> VA("PID" PROCESS+2
>> X1 CRI+7, CRITN+7
Y PROCESS+6!, PROCESS+7, PROCESS+8, PROCESS+9, CRI+6, CRITN+6, CRITN+7
ZONE CRI+11*, CRITN+13*, CRITN+20*, CRITN+25*, CRITN+26*, ONE, ONE+1, ONE+2, ONE+3!
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