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

Package: Inpatient Medications

Routine: PSGVBW0


Information

PSGVBW0 ;BIR/CML3,MV - SHOW NON-VERFIED ORDERS GATHERED IN PSGVBW ;09/17/97 1:41 PM

Source Information

Source file <PSGVBW0.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Inpatient Medications 15 ENQL^PSGLW  ENL^PSGOU  ^PSGPER  $$DEFON^PSGPER1  ENCV^PSGSETU  ^PSGVBWP  ENGORD^PSGVBWU  ^PSIVXU  
^PSJAC  CHK^PSJDPT  (,RESTORE)^PSJHVARS  DSPLORDU^PSJLMUT1  DISACTIO^PSJOE  $$LOCK^PSJOEA  CHK^PSJOEA1  
List Manager 1 EN^VALM  
Pharmacy Data Management 1 ($$L,$$LS,UL,UNL)^PSSLOCK  
VA FileMan 1 ^DIR  

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
Inpatient Medications 2 PSGVBW  PSGVBW1  

Entry Points

Name Comments DBIA/ICR reference
START ;
PROCESS ; Loop through selected patients and display profile/orders.
PROCESS1 ;
DISPLAYW ; Allow selection of patients on each ward selected.
DISPLAYP ; Display WORP1 (Ward or Priority)
DISPLAYT ;
GTORDERS ;
GTORDER2 ;
PROFILE ; Display the patient's profile and allow order selection.
DONE ;
V2 ;
WRT ;
ASK ;
H2 ;
HEADER ;
NP ;
DISPORD(DFN,ON)

External References

Name Field # of Occurrence
^DIR PROCESS+3, WRT+4, ASK+1
ENQL^PSGLW PROCESS+6
ENL^PSGOU PROCESS+5
^PSGPER PROCESS1+7
$$DEFON^PSGPER1 PROCESS1+5
ENCV^PSGSETU PROCESS1+7
^PSGVBWP PROCESS+3
ENGORD^PSGVBWU GTORDERS+3
^PSIVXU PROCESS1+7
^PSJAC GTORDERS+1
CHK^PSJDPT ASK+5
^PSJHVARS PROCESS+3
RESTORE^PSJHVARS PROCESS+3
DSPLORDU^PSJLMUT1 DISPORD+3
DISACTIO^PSJOE GTORDERS+8, GTORDER2+2
$$LOCK^PSJOEA GTORDERS+6
CHK^PSJOEA1 GTORDER2+3
$$L^PSSLOCK PROCESS1+2
$$LS^PSSLOCK GTORDERS+7
UL^PSSLOCK PROCESS1+4
UNL^PSSLOCK GTORDERS+8, GTORDER2+5
EN^VALM PROFILE+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$C(7),$P(PSJLK,U,2)
  • Line Location: PROCESS1+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: WRT+6
Function Call: WRITE
  • Prompt: !!?2,"Select patients either singularly separated by commas (1,2,3), by a range of",!,"patients separated by a dash (1-3), or a combination (1,2,4-6). To select all",!,"patients, enter 'ALL' or a dash ('-'). You can also enter '-n' to"
  • Line Location: H2+1
Function Call: WRITE
  • Prompt: " select the",!,"first patient through the 'nth' patient or enter 'n-' to select the 'nth'",!,"patient through the last patient. If a patient is selected more than once,"
  • Line Location: H2+2
Function Call: WRITE
  • Prompt: !,"only the first selection is used. (Entering '1,2,1' would return '1,2'.)"
  • Line Location: H2+3
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: !,"ORDERS NOT VERIFIED BY A ",$S($P(PSJSYSU,";",3)>1:"PHARMACIST",1:"NURSE")," - "
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: $S(PRD=1:"STAT",PRD=2:"ASAP",1:"ROUTINE")
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: $S(PSGVBWN="ZZ":"^OTHER",1:PSGVBWN)
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !!," No.",?7,"TEAM",?25,"PRIORITY",?38,"PATIENT",!,LINE
  • Line Location: HEADER+4
Function Call: READ
  • Timeout: DTIME
  • Line Location: NP+1
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: NP+1
Function Call: WRITE
  • Prompt: !,PSJOC(ON,X)
  • Line Location: DISPORD+4
Routine Call
  • DIR
  • Line Location:
    • PROCESS+3
    • WRT+4
    • ASK+1
Routine Call
  • VALM
  • Line Location:
    • PROFILE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] GTORDER2+1, GTORDER2+4
^TMP("PSGVBW" DISPLAYW+1, DISPLAYP+4, DISPLAYT+4, DONE+1!, V2+1, ASK+1!
^TMP("PSJCOM" GTORDER2+3
^TMP("PSJLIST" START+2!, WRT+3*, ASK+4
^TMP("PSJON" GTORDERS+4, GTORDERS+5, DONE+1!
^TMP("PSJSELECT" START+2, PROCESS+2, PROCESS+6, PROCESS1+1, DISPLAYW+1!, ASK+6*

Label References

Name Line Occurrences
ASK DISPLAYP+5, DISPLAYT+5
DISPLAYP DISPLAYW+1
DISPLAYT DISPLAYP+4
DISPLAYW START+2
DISPORD GTORDERS+7
GTORDER2 GTORDERS+6
GTORDERS PROCESS1+3
HEADER DISPLAYP+3
PROCESS1 PROCESS+6
PROFILE GTORDERS+2
V2 DISPLAYT+4
WRT V2+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CF DONE+2!
DA DONE+2!
DFN PROCESS1+7~*, GTORDERS+1*, GTORDERS+6, GTORDERS+7, GTORDERS+8, GTORDER2+2, GTORDER2+5, PROFILE+1, DISPORD~, DISPORD+3
DIR PROCESS+1!, PROCESS+3!, WRT+4~, ASK+1~
DIR("A" PROCESS+2*, WRT+4*, ASK+1*
DIR("B" PROCESS+2*
DIR(0 PROCESS+2*, WRT+4*, ASK+1*
DTIME NP+1
>> DTOUT ASK+1
>> DUOUT ASK+1
IOF WRT+6, HEADER+1
IOSL WRT+4
LIDT DONE+4!
LINE START+1*, DONE+2!, HEADER+4
ND DONE+4!
NP DONE+2!, NP+1*
ON DISPORD~, DISPORD+3, DISPORD+4
ORDT DONE+4!
POP DONE+2!
PPN DONE+2!, DONE+4!, V2+1*, WRT+3
PR DONE+2!
PRD DONE+4!, HEADER+2
PRDNS DONE+4!
PSGASKX ASK+1~, ASK+4*, ASK+6
PSGCANFL DONE+2!
PSGDFN ASK+1~, ASK+4*, ASK+5
PSGINCL DONE+4!
PSGINWD DONE+4!
PSGION DONE+2!
PSGLMT DONE+2!
PSGODT DONE+4!
PSGOEA START+1*, DONE+4!
PSGOEAV START+1*, DONE+2!, DONE+4!
PSGOENOF DONE+2!
PSGOL PROCESS+5, GTORDERS+2, PROFILE+1, DONE+2!
PSGON DONE+2!
PSGONC DONE+2!
PSGONR DONE+2!
>> PSGOP PROCESS+6*
PSGORD DONE+3!
PSGP PROCESS+6, PROCESS1+6, PROCESS1+7~*, GTORDERS+1*, PROFILE+1*, DONE+4!, V2+1*, WRT+3
PSGPICK DISPLAYP+1~, DISPLAYT+4, V2+1, WRT+5*, ASK+2*
PSGPRD DONE+4!, WRT+2*, WRT+3
PSGPRF DONE+3!
PSGPRIF DISPLAYT+3, DONE+2!, HEADER+2, HEADER+3
PSGPRIN DISPLAYP+4*, DISPLAYT+2*, DISPLAYT+3*, DONE+4!
PSGPTMP DONE+4!
>> PSGPXN START+1*, PROCESS1+5*, PROCESS1+8*
PSGPXPT PROCESS1+5!, PROCESS1+6*, PROCESS1+7
PSGSS START+2, DONE+4!
PSGVBA DONE+3!
PSGVBAF DONE+3!
PSGVBON DONE+3!
PSGVBPN DONE+3!, DONE+4!, V2+1*, WRT+3
PSGVBQ DONE+3!
PSGVBQ1 DONE+3!
PSGVBSD DONE+3!
PSGVBSS DONE+3!
PSGVBST DONE+3!
PSGVBTM DISPLAYT+4*, DONE+3!, DONE+4!, V2+1, WRT+3
PSGVBW DONE+3!
PSGVBWN DISPLAYP+2*, DISPLAYT+3*, DONE+3!, DONE+4!, WRT+2*, WRT+3, HEADER+3
PSGVBY DISPLAYP+5, DISPLAYT+5, DONE+3!, WRT+1*, WRT+3, WRT+4, ASK+1, HEADER+4!*
PSGWORP1 DISPLAYW+1*, DISPLAYP+2, DISPLAYP+4, DISPLAYT+3, DISPLAYT+4, DONE+2!, V2+1, WRT+2
PSGWORP2 DISPLAYP+4*, DISPLAYT+2, DISPLAYT+3, DISPLAYT+4, DONE+2!, V2+1, WRT+2
PSJACNWP GTORDERS+1!
>> PSJASK DISPLAYP+5, DISPLAYT+5, WRT+1*
>> PSJCNT PROCESS+6*, PROCESS1+1, DISPLAYW+1*, ASK+6*
PSJGOTO PROCESS+6, PROCESS1+1!, PROCESS1+3!, GTORDERS+8, GTORDER2+2
>> PSJINDEX ASK+3*, ASK+4
PSJLINE DISPORD+1~, DISPORD+2*
>> PSJLK PROCESS1+2*, PROCESS1+4
>> PSJNEWOE PROFILE+1*
PSJO GTORDER2+1~*, GTORDER2+2, GTORDER2+4~*, GTORDER2+5
PSJOC DISPORD+1~
PSJOC( DISPORD+4
>> PSJOL PROFILE+1*
>> PSJON GTORDERS+4*, GTORDERS+5*, GTORDERS+6, GTORDERS+7, GTORDERS+8, GTORDER2+1, GTORDER2+3, GTORDER2+4
PSJORD GTORDER2+3~*, PROFILE+1
>> PSJPN PROCESS1+1*, PROCESS1+2, PROCESS1+3, PROCESS1+4, GTORDERS+1
PSJPNV PROCESS+1!*
>> PSJPRIF DISPLAYT+5
>> PSJPRIO GTORDERS+4*, GTORDERS+5
>> PSJSYSL PROCESS+6
>> PSJSYSU PROCESS+2, HEADER+1
QQ DONE+3!
U PROCESS1+2, PROCESS1+4, GTORDERS+1, GTORDERS+6, GTORDERS+7, GTORDERS+8, GTORDER2+1, GTORDER2+3, GTORDER2+4, WRT+3
ASK+6
X PROCESS+2*, WRT+5, DISPORD+1~, DISPORD+4*
>> Y PROCESS+3, GTORDER2+5, ASK+2, ASK+3, ASK+4
Z DONE+3!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All