PSDEST ;BIR/BJW - Destroy a Drug from the Holding file ;9 Feb 98
Source file <PSDEST.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 4 | ^%DT ^DIC ^DIE ^DIR |
Controlled Substances | 1 | ^PSDSET |
Kernel | 1 | $$FMTE^XLFDT |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Controlled Substances | 1 | PSD DESTROY DRUGS |
Name | Comments | DBIA/ICR reference |
---|---|---|
SETDATE | ;7/17/96,inital set to current date
|
|
ASKD | ;ask disp location
|
|
ASKN | ;ask holding number
|
|
DISPLAY | ;
|
|
OK | ;ask ok
|
|
DATE | ; ask date,7/17/96 added %DT("B")default date or user can enter new date
|
|
OK1 | ;ask if entry error
|
|
OK2 | ;ask do you want to cancel holding #,E3R# 4990
|
|
DIRC | ;enter reason,date and pharmacist cancelling holding #,E3R# 4990
|
|
COM | ; enter free-text information(comments)
|
|
DIE1 | ;update 58.86 for cancelling holding #,E3R# 4990
|
|
DIE | ;update 58.86
|
|
END | ||
MSG | ||
MSG1 | ;msg when already destroyed
|
|
MSG2 | ;msg when cancelled,E3R# 4990
|
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 |
|
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" | DISPLAY+3, DISPLAY+4, COM+5 |
^PSD(58.8 - [#58.8] | DISPLAY+2, DISPLAY+6 |
^PSD(58.86 - [#58.86] | ASKN+3, DISPLAY+1, DISPLAY+3 |
^PSDRUG - [#50] | DISPLAY+1 |
^VA(200 - [#200] | PSDEST+6 |
^XUSEC("PSDMGR" | PSDEST+4 |
Name | Line Occurrences |
---|---|
ASKN | ASKD+2, DISPLAY+3, DISPLAY+4, OK2+4, DIE1+5, DIE+5 |
COM | COM+2 |
DATE | OK+4, DIRC+1 |
DIE | OK+4 |
END | PSDEST+4, ASKD+5, ASKN+4, OK+3, OK+4, OK+5, DATE+2, OK1+3, OK2+3, DIRC+1 , COM+1, DIE1+3, DIE+3 |
MSG | OK+3, OK1+3, OK2+3, OK2+4, COM+1, DIE1+3, DIE+3 |
MSG1 | DISPLAY+4 |
MSG2 | DISPLAY+3 |
OK1 | OK+5 |
Name | Field # of Occurrence |
---|---|
^(0 | ASKN+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END! |
%DT | DATE+1!, DATE+2*, END! |
%DT("A" | DATE+2* |
%DT("B" | DATE+2* |
%DT(0 | DATE+2* |
%H | END! |
%I | END! |
ANS | OK+4*, OK+5, END! |
DA | ASKD+3!, ASKN+2!, ASKN+4!, OK+1!, OK1+1!, OK2+1!, COM+1!, DIE1+3!*, DIE+2!*, END! |
DIC | ASKD+3!*, ASKD+5!, ASKN+2!*, ASKN+4!, END! |
DIC("A" | ASKD+4*, ASKN+2* |
DIC("B" | ASKD+4*, ASKN+3* |
DIC("S" | ASKD+3*, ASKN+2* |
DIC(0 | ASKD+3*, ASKN+2* |
DIE | DIE1+3!*, DIE+2!*, END! |
DIR | OK+1!, OK+3!, OK1+1!, OK1+3!, OK2+1!, OK2+3!, COM+1!, END! |
DIR("?" | OK+2*, OK1+2*, OK2+2* |
DIR("A" | OK+1*, OK1+1*, OK2+1* |
DIR("B" | OK+1*, OK1+1*, OK2+1* |
DIR(0 | OK+1*, OK1+1*, OK2+1*, COM+1* |
DIROUT | END! |
DIRUT | OK+1!, OK+3, OK1+1!, OK1+3, OK2+1!, OK2+3, COM+1!, COM+4!, END! |
DR | DIE1+3!*, DIE+2!*, END! |
DT | SETDATE+1 |
DTOUT | COM+4!, END! |
DUOUT | COM+4!, END! |
DUZ | PSDEST+4, PSDEST+5 |
IOF | DISPLAY+5 |
LN | DISPLAY+1!*, DISPLAY+5, END! |
NBKU | DISPLAY+2*, DISPLAY+6, END! |
NUM | DISPLAY+1*, DISPLAY+5, DIE1+4, DIE+4, END!, MSG1+1, MSG2+1 |
PSD | ASKN+3*, END+1! |
PSDA | ASKN+4*, DISPLAY+1, DISPLAY+3, DIE1+3, DIE+2, END+1! |
PSDCAN | DISPLAY+3*, END+1!, MSG2+1 |
PSDCOM3 | COM+3*, DIE1+3, END+1! |
PSDCT | DISPLAY+2*, END+1! |
PSDR | DISPLAY+1*, DISPLAY+2, DISPLAY+6, END+1! |
PSDRN | DISPLAY+1*, DISPLAY+6, END+1!, MSG1+1, MSG2+1 |
PSDS | ASKD+1*, ASKD+6*, ASKN+3, DISPLAY+2, END+1! |
>> PSDSITE | PSDEST+3, ASKD+1, ASKD+2, ASKD+6* |
PSDSN | ASKD+1*, ASKD+4, ASKD+6*, END+1! |
PSDST | DISPLAY+4*, END+1!, MSG1+1 |
PSDT | SETDATE+1*, OK+4, OK+5, DATE+2*, DIRC+1, COM+5*, COM+6, DIE1+3, DIE1+5*, DIE+2 , END+1! |
PSDUZ | PSDEST+5*, PSDEST+6, DIE1+3, DIE+2, END+1! |
PSDUZAN | PSDEST+6*, COM+7, END+1! |
QTY | DISPLAY+1*, DISPLAY+6, END+1! |
U | ASKD+1, ASKD+2, ASKD+6 |
X | END+1! |
Y | ASKD+5, ASKD+6, ASKN+4, DISPLAY+3*, DISPLAY+4*, DATE+2, OK2+4, COM+2, COM+3, COM+5* , DIE1+3, DIE+3, END+1! |
Y(0 | DISPLAY+1, DISPLAY+2, DISPLAY+4, OK+4 |
YYY | COM+5*, DIE1+5, END+1! |