PSDNSTK ;BIR/JPW-Inactivate Stocked Drugs ; 8 Aug 94
Source file <PSDNSTK.m>
Package | Total | Caller Graph |
---|---|---|
Controlled Substances | 1 | PSD INACTIVATE NAOU STOCK DRUG |
Name | Comments | DBIA/ICR reference |
---|---|---|
END | ||
DIE | ;inactivate a Drug for NAOUs
|
|
INACT1 | ;inactivate a drug for a single NAOU
|
|
START | ;
|
|
MSG | ;send mailman message with completed info
|
|
QUE | ;asks queueing information
|
|
ASK | ;ask inactivation date and reason
|
|
LOOP |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | MSG+1 |
^PSD(58.8 - [#58.8] | INACT1+2, LOOP+4, START+1 |
^PSDRUG - [#50] | LOOP+3 |
^TMP("PSDMSG" | END+1!, MSG+1!*, MSG+2*, MSG+3! |
Name | Line Occurrences |
---|---|
ASK | PSDNSTK+4 |
DIE | START+1 |
END | MSG+4 |
INACT1 | PSDNSTK+4 |
LOOP | LOOP+4, LOOP+6 |
QUE | ASK+5 |
START | QUE+3 |
Name | Field # of Occurrence |
---|---|
^(0 | START+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END! |
%DT | END! |
%H | END! |
%I | END! |
ALL | PSDNSTK+4*, END!, INACT1+1* |
ANS1 | END!, ASK+2*, ASK+5*, DIE+1 |
ANS2 | END!, ASK+2*, ASK+6*, DIE+1 |
CNT | END!, START+1*, START+2, MSG+2 |
DA | PSDNSTK+4!, END!, LOOP!, LOOP+2!*, ASK+2!, ASK+3!, ASK+4!, ASK+5!, QUE+1!, DIE+1!* |
DA(1 | LOOP+1*, LOOP+2*, DIE+1* |
DIC | PSDNSTK+4!*, END!, LOOP!, LOOP+1*!, ASK+2!* |
DIC("A" | PSDNSTK+4*, ASK+2* |
DIC("S" | PSDNSTK+4*, ASK+2* |
DIC("W" | LOOP* |
DIC(0 | PSDNSTK+4*, LOOP+1*, ASK+2* |
DIE | END!, LOOP+2!*, DIE+1!* |
DIR | END!, ASK+3!, ASK+4!, ASK+5!, QUE+1!, QUE+2! |
DIR("?" | QUE+1*, QUE+2* |
DIR("A" | QUE+1* |
DIR("B" | QUE+1* |
DIR(0 | ASK+3*, ASK+4*, ASK+5*, QUE+1* |
DIROUT | END! |
DIRUT | END!, ASK+3!, ASK+4!, ASK+5!, QUE+1!, QUE+2 |
DR | END!, LOOP+2!*, DIE+1!* |
DTOUT | END!, LOOP+1, LOOP+2, ASK+4!, ASK+5! |
DUOUT | END!, LOOP+1, ASK+4!, ASK+5! |
DUZ | MSG+3 |
NAOU | END!, INACT1+1*, INACT1+2, LOOP+1, LOOP+2, LOOP+4, START+1*, DIE+1 |
NAOUN | END!, INACT1+1*, LOOP+5 |
PSDOUT | PSDNSTK+4!, END!, LOOP+1*, LOOP+2*, ASK+2*, ASK+3*, ASK+4*, ASK+5*, QUE+2* |
PSDR | END!, LOOP+2*, LOOP+3, LOOP+4, ASK+2*, START+1, DIE+1 |
PSDRN | END!, LOOP+3*, LOOP+4, LOOP+5, ASK+2*, START+2, MSG+2 |
>> PSDSITE | PSDNSTK+2, START+1 |
PSDT | END!, ASK+4*, DIE+1 |
QUE | END!, QUE+1*, QUE+4*, START+2 |
RDT | END!, MSG+1*, MSG+2 |
X | PSDNSTK+4, END!, MSG+1 |
XMDUZ | END!, MSG+3* |
XMSUB | END!, MSG+3* |
XMTEXT | END!, MSG+3* |
XMY | END!, MSG+1!, MSG+3! |
XMY( | MSG+3* |
Y | PSDNSTK+4, END!, INACT1+1, LOOP+2, ASK+2, ASK+3, ASK+4, ASK+5, ASK+6, QUE+3 , MSG+1* |
ZTDESC | END+1!, QUE+5* |
ZTIO | END+1!, QUE+5* |
>> ZTQUEUED | END+2 |
>> ZTREQ | END+2* |
ZTRTN | END+1!, QUE+5* |
ZTSAVE | END+1! |
ZTSAVE("ANS1" | QUE+5* |
ZTSAVE("ANS2" | QUE+5* |
ZTSAVE("PSDR" | QUE+5* |
ZTSAVE("PSDRN" | QUE+5* |
ZTSAVE("PSDSITE" | QUE+5* |
ZTSAVE("PSDT" | QUE+5* |
ZTSAVE("QUE" | QUE+5* |
ZTSK | END+1!, QUE+5! |