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

Package: Inpatient Medications

Routine: PSGPR


Information

PSGPR ;BIR/CML3-PATIENT PROFILE ;19 SEP 96 / 3:59 PM

Source Information

Source file <PSGPR.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Inpatient Medications 12 (,BOT,ENPR)^PSGO  ENVO^PSGOE0  (ENGORD,ENL)^PSGOU  ^PSGSEL  (ENCV,ENKV)^PSGSETU  ENDEV^PSGTI  L^PSGVBW  EN2^PSGVW  
(ALC,ENA)^PSGVW0  ^PSJAC  (G,P,RBPPN,W)^PSJPDIR  READ^PSJUTL  
VA FileMan 2 ^DIC  ^DIR  
Kernel 1 ^%ZISC  
Registration 1 ^VADPT  

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

Package Total Caller Graph
Inpatient Medications 5 PSGOE5  PSJU LM PAT PR  PSJU OR PAT PR  PSJU OR PR  PSJU PR  

Entry Points

Name Comments DBIA/ICR reference
DONE ;
GO ;
ENDEV ;
ENQ ;
G ; get ward group
W ; get ward
C ;
CDIC ;
P ; get patient
PG ;
PW ;
L ;
PL
PC
SET ;
PP ;
PP0 ;
PP1 ;
PH ;
ENOR
ENLM

External References

Name Field # of Occurrence
^%ZISC ENQ+2
^DIC CDIC+1
^DIR GO+2, C+2, PP1+3
^PSGO PP0+1
BOT^PSGO PP0+6
ENPR^PSGO PP0+2
ENVO^PSGOE0 PP0+1
ENGORD^PSGOU PP0+2
ENL^PSGOU PSGPR+17, ENLM+4
^PSGSEL PSGPR+10
ENCV^PSGSETU PSGPR+7, ENLM+2
ENKV^PSGSETU DONE+1
ENDEV^PSGTI ENDEV+2
L^PSGVBW L+1
EN2^PSGVW PP1+2
ALC^PSGVW0 GO+3
ENA^PSGVW0 PP1+2
^PSJAC PG+4, SET+2, PP0+1, ENLM+4
G^PSJPDIR PSGPR+11
P^PSJPDIR PSGPR+11
RBPPN^PSJPDIR PSGPR+14
W^PSJPDIR PSGPR+11
READ^PSJUTL PP0+1, PP0+3, ENLM+7
^VADPT ENLM+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: GO+2
Function Call: READ
  • Timeout: DTIME
  • Line Location: GO+3
Function Call: WRITE
  • Prompt: !
  • Line Location: C+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PP1+3
Function Call: WRITE
  • Prompt: !!?2,"Enter a 'P' to print ONLY the PROFILE of orders for this patient. Enter an",!,"'E' to print ONLY the EXPANDED VIEW of the orders for this patient. Enter a",!,"'B' to have BOTH the profile (first) and the expanded views print."
  • Line Location: PH+1
Function Call: WRITE
  • Prompt: " Enter an '^'to exit."
  • Line Location: PH+2
Routine Call
  • DIC
  • Line Location:
    • CDIC+1
Routine Call
  • DIR
  • Line Location:
    • GO+2
    • C+2
    • PP1+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(42 - [#42] PG+1
^DPT - [#2] PG+3, PW+2, PC+1, ENLM+3
^DPT("CN" PG+2, PW+2
^PS(53.1 - [#53.1] PC+1
^PS(57.5 - [#57.5] PG+1
^PS(57.7 - [#57.7] PW+4, SET+1
^PS(57.8 - [#57.8] PL
^SC - [#44] PC
^TMP("PSG" PP0+3, PP0+5, PP0+6!
^TMP("PSGPR" DONE+1!, ENQ+1!, PG+3*, PG+4*, PG+5, PW+5, PC+3, SET+2*, SET+3*
^TMP("PSJSELECT" PSGPR+10!

Label References

Name Line Occurrences
@( PSGPR+17, ENQ+2
DONE ENDEV+2, ENQ+3, ENLM+7
ENDEV GO+1
GO PSGPR+17, ENLM+6
PC PL
PP0 PG+5, PW+5, PC+3, PP+1
PP1 PP0+5
SET PW+3, PW+4, PC+2

Naked Globals

Name Field # of Occurrence
^(0 PG+1, PC

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTION PSGPR+4~
AND DONE+1!
AT DONE+1!, GO+3*, PP1+2*
ATM ENQ+2~
C DONE+1!
CA DONE+1!
>> CG PL
>> CL CDIC+1*, PL*, PCPC+1
CONT PSGPR+4~
>> DFN ENOR*, ENLM+3, ENLM+6
DIC CDIC+1!*
DIC(0 CDIC+1*
DIR GO+2!, C+1!
DIR("?" GO+2*, C+2*
DIR("A" GO+2*, C+1*
DIR("B" GO+2*
DIR(0 GO+2*, C+1*, PP1+3*
>> DIRUT PP1+3
DOB DONE+1!
DRGI DONE+1!
DTIME GO+3
FQC DONE+1!
HDT DONE+2!
IO ENQ+2, PP0+2
>> IO("Q" ENDEV+2
>> IO(0 ENQ+2
IOF ENQ+2
IOST ENQ+2
LD PSGPR+4~
LN2 PSGPR+4~
MF DONE+1!
ND DONE+1!
NF DONE+1!
O DONE+1!
OD DONE+2!
ON DONE+1!
>> ORVP ENOR
PAT PSGPR+4~, P+1~*, PP+1*
PDRG DONE+2!
PFLG PSGPR+4~
PG DONE+1!
PN DONE+1!
>> POP ENDEV+2
PPAGE PSGPR+4~, PSGPR+9*, PSGPR+17*, ENLM~, ENLM+1*
PRI DONE+1!
PSGAPTM DONE+2!
PSGAPTM( W+2*
PSGLI PSGPR+3~
PSGODT DONE+2!
PSGOE PSGPR+3~
PSGOEEWF PSGPR+3~
PSGOEPRF PSGPR+4~, DONE+1, ENDEV+2, ENQ+3, ENLM~
PSGOH PSGPR+3~
PSGOL PSGPR+17, DONE+2!, ENLM+4
PSGON DONE+1!, PP0+1
PSGONC DONE+1!, PP0+1*
>> PSGONF PP0+1*
PSGONR DONE+1!, PP0+1*
PSGONV DONE+1!, PP0+1*
PSGORD DONE+1!, PP1+2*
PSGOS DONE+2!
>> PSGP PSGPR+9*, PSGPR+17*, P+1, PG+2*, PG+3, PG+4, PG+5*, PW+2*, PW+5*, PC+1*
PC+3*, SET+2, SET+3, PP+1*, ENOR*
>> PSGP( P+1*, PP+1, ENLM+6*
PSGP(0 PG+4, SET+2, ENLM+6!
PSGPATM DONE+2!, PW+3
PSGPATM( PW+1*, PW+4
PSGPATM("ALL" PW+4
PSGPR PSGPR+9*, DONE+2!, ENQ+2*, PP0+1, PP0+3, PP0+6, PP1+3
PSGPRA DONE+2!, GO+1*, GO+3*, GO+4, PP1+2
PSGPRF PP0+1*!
PSGPRP DONE+2!, GO+1*, GO+2*, GO+3, PP0+1, PP0+2
PSGPRWD PSGPR+9*, DONE+2!, W+1*, PG+1*, PW+4, SET+1, ENLM+5*
PSGPRWDN PSGPR+9*, DONE+2!, W+1*, PG+1*, PG+2, PG+3, PG+4, PW+2, ENLM+5*
PSGPRWG PSGPR+9*, DONE+2!, G+1*, PG+1, ENLM+5*
PSGPRWGN PSGPR+9*, DONE+2!, G+1*, ENLM+5*
PSGPTMP PSGPR+4~, PSGPR+9*, PSGPR+17*, ENLM~, ENLM+1*
PSGSEL DONE+1!
PSGSS PSGPR+10, PSGPR+16, PSGPR+17, DONE+2!, GO+1*, ENQ+2, PP0+3, ENLM+5*
PSGSSH PSGPR+9*, DONE+2!
>> PSGTIR ENDEV+1*
PSGVBY ENQ+2!
PSGWD PSGPR+3~
PSGX PG+5~*, PW+5~*, PC+3~*
PSJACNWP PP0+1~*
PSJNEW PSGPR+4~*, ENLM~*
>> PSJNKF ENLM+7*
PSJOPC PSGPR+6*, DONE+2!, ENLM+1*
PSJPWDO PSGPR+3~
PSJSEL PSGPR+10!, DONE+2!
PSJSEL("P" PSGPR+16, P+1, ENLM+3*
PSJSEL("RBP" ENQ+2
PSJSEL("SELECT" PSGPR+9, PSGPR+10*, PSGPR+11, PSGPR+14, GO+1, ENLM+3*
PSJSEL("TM" W+2, PW+1
PSJSEL("W" W+1
PSJSEL("WG" G+1
PSJSTOP PSGPR+3~, PSGPR+10*, PSGPR+13, PSGPR+15
PSJTEAM PSGPR+3~
PX DONE+1!
>> Q GO+3
QFLG DONE+2!
RB ENQ+2~, PG+3*, PW+2*, PW+4, PC+1*, SET+1*, SET+3
RBP ENQ+2~*, PG+3, PG+4, SET+2, SET+3
RCT DONE+2!
RF DONE+2!
S1 DONE+2!, PP0+4*, PP0+5*, PP1+2, PP1+3*
S2 DONE+2!, PP0+4*, PP0+5*, PP1+3*
S3 DONE+2!, PP0+4*, PP0+5*, PP1+2, PP1+3*
S4 DONE+2!
SD DONE+2!
SLS DONE+2!
SSN DONE+2!
TF DONE+2!
TM DONE+2!, W+2*, PW+1*, PW+2*, PW+4*, PC+1*, SET+1*, SET+2, SET+3
U ENLM+3
UD DONE+2!
UDU DONE+2!
WD PSGPR+17*, DONE+2!
>> WDN PC*
WDP DONE+2!
>> WG PSGPR+17*
WT DONE+2!
>> X ENDEV+1*, CDIC+2, PG+5, PW+5, PC+3, PP+1, PP0+1, PP0+4*, PP0+6, PP1+3*
>> XQUIT PSGPR+9, ENLM+2
Y PSGPR+10!, PSGPR+16, PSGPR+17, GO+2, CDIC+1
>> ZTDESC ENDEV+1*
ZTOUT DONE+2!
ZTSAVE ENDEV+1!
ZTSAVE( ENDEV+1*
ZTSK DONE+2!
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