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

Package: Controlled Substances

Routine: PSDNSCL


Information

PSDNSCL ;BIR/JPW - Nurse Shift Check Log ; 2 Aug 94

Source Information

Source file <PSDNSCL.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 NOW^%DTC  ^DIC  ^DIR  
Controlled Substances 1 ^PSDSET  

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

Package Total Caller Graph
Controlled Substances 1 PSD NURSE SHIFT LOG  

Entry Points

Name Comments DBIA/ICR reference
ASKN ;ask naou
DEV ;ask device and queue info
START ;loops thru active orders
PRINT ;prints the report
DONE
END
LOOP ;drug loop
HDR ;header for log

External References

Name Field # of Occurrence
NOW^%DTC START+1
^%ZIS DEV+2
HOME^%ZIS DEV+3
^%ZISC END+2
^%ZTLOAD DEV+3
^DIC ASKN+3
^DIR DONE+1, HDR+1
^PSDSET PSDNSCL+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!!,?9,"** Please contact your Pharmacy Coordinator for access to",!,?12,"print this shift check log.",!
  • Line Location: PSDNSCL+4
Function Call: WRITE
  • Prompt: !!,"You may queue this report to print at a later time.",!!
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED!"
  • Line Location: DEV+2
Function Call: WRITE
  • Prompt: !!,?10,"**** NO ACTIVE ORDERS TO REPORT ****",!
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !!,?2,"=> ",DRUG,!
  • Line Location: PRINT+4
Function Call: WRITE
  • Prompt: !!,?2,"=> ",DRUG,!
  • Line Location: PRINT+5
Function Call: WRITE
  • Prompt: !,NUM,?12,$P(NODE,"^",3),?34,$J($P(NODE,"^",2),6),?45,$P(NODE,"^",4),?55,$P($P(NODE,"^")," ")
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+0
Function Call: WRITE
  • Prompt: !
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?15,"Nursing Shift Check Log for ",NAOUN,?70,"Page: ",PG,!,?20,RPDT,!
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?2,"=> DRUG",!,?18,"DATE",?44,"RECD"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"DISP #",?18,"RECD",?37,"QTY",?45,"BY",?54,"ORDER STATUS"
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,LN,!
  • Line Location: HDR+5
Routine Call
  • DIC
  • Line Location:
    • ASKN+3
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • HDR+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+2
Routine Call
  • %ZIS
  • Line Location:
    • DEV+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" START+1, LOOP+5
^DPT - [#2] PRINT+7
^PSD(58.8 - [#58.8] START+2, START+3, START+4, LOOP+1, LOOP+2
^PSD(58.81 - [#58.81] PRINT+7, LOOP+3
^PSD(58.82 - [#58.82] LOOP+4
^PSDRUG - [#50] LOOP+2
^TMP("PSDNSCL" START+1!, PRINT+2, PRINT+4, PRINT+6, END+2!, LOOP+7*
^VA(200 - [#200] LOOP+6
^XUSEC("PSD NURSE" PSDNSCL+3
^XUSEC("PSJ RNURSE" PSDNSCL+3

Label References

Name Line Occurrences
DONE PRINT+2
END ASKN+3, DEV+2, DEV+3
HDR PRINT+2, PRINT+3, PRINT+5
LOOP START+2, START+3, START+4

Naked Globals

Name Field # of Occurrence
^(0 PRINT+7, LOOP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+1, END!
%H END!
%I END!
%ZIS DEV+2!*, END!
%ZIS("B" DEV+2*
ALL END!
DA ASKN+1!, END!, HDR+1!
DIC ASKN+1!*, ASKN+3!, END!
DIC("A" ASKN+1*
DIC("S" ASKN+2*
DIC(0 ASKN+1*
DIR DONE+1!, END!, HDR+1!
DIR("A" DONE+1*
DIR(0 DONE+1*, HDR+1*
DIROUT END!
DIRUT DONE+1!, END!
DRUG PRINT+4*, PRINT+5, PRINT+6, END!, LOOP+1*, LOOP+2
DRUGN END!, LOOP+2*, LOOP+7
DTOUT END!
DUOUT END!
DUZ PSDNSCL+3
IO DEV+4
IO("Q" DEV+2!, DEV+3!
IOF DONEHDR+2
IOP DEV+2!
IOSL PRINT+5
IOST DONEDONE+1, HDR+1
LN PRINT+2!*, END!, HDR+5
NAOU ASKN+3*, END!, LOOP+1, LOOP+2
NAOUN ASKN+3*, END!, HDR+2
NODE PRINT+6*, PRINT+8, END!, LOOP+2*, LOOP+3, LOOP+4, LOOP+5, LOOP+6
NUM PRINT+4*, PRINT+6, PRINT+7, END!
OK PSDNSCL+3*, END!
ORD END!, LOOP+1*, LOOP+2
PG PRINT+1*, END+1!, HDR+1, HDR+2*
POP DEV+2!, END+1!
PSD START+3*, START+4*, END+1!
PSDOUT PRINT+1*, PRINT+4, PRINT+5, DONE+1, END+1!, HDR+1*
PSDPN END+1!, LOOP+4*, LOOP+7
>> PSDSITE PSDNSCL+2
PSDST END+1!
PSDT END+1!
PSDTR END+1!, LOOP+3*
QTY END+1!
REC END+1!, LOOP+6*, LOOP+7
REQ END+1!, LOOP+5*, LOOP+7
RPDT START+1*, END+1!, HDR+2
RQTY END+1!, LOOP+4*, LOOP+7
STAT START+2*, START+3*, START+4*, END+1!, LOOP+1, LOOP+3, LOOP+4, LOOP+7
STATN END+1!, LOOP+4*, LOOP+7
U PRINT+7
X END+1!
Y ASKN+3, START+1*, END+1!, LOOP+5*, HDR+1
ZTDESC DEV+3*, END+1!
ZTDTH DEV+3!, END+1!
ZTIO DEV+3!
>> ZTQUEUED END+2
>> ZTREQ END+2*
ZTRTN DEV+3*, END+1!
ZTSAVE DEV+3!, END+1!
ZTSAVE("NAOU" DEV+3*
ZTSAVE("NAOUN" DEV+3*
ZTSK DEV+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