PSDEM ;BIR/BJW-Priority Order Report for NAOUs ;12/14/99 12:10
Source file <PSDEM.m>
Package | Total | Caller Graph |
---|---|---|
Controlled Substances | 1 | PSD EMERGENCY ORDER REPORT |
Name | Comments | DBIA/ICR reference |
---|---|---|
SORT | ;sel sort order
|
|
SAVE | ;save variables for queueing
|
|
END | ;
|
|
SUM | ;if summary only
|
|
SUM2 | ;D:Y G:$D(DIRUT) END
|
|
DRUG | ;ask drug(s)
|
|
DEV | ;asks device and queueing information
|
|
DATE | ;ask date range
|
|
ASKN | ;ask NAOU(s)
|
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PSD(58.8 - [#58.8] | ASKN+5 |
Name | Line Occurrences |
---|---|
DATE | DATE+3 |
DEV | ASKN+6 |
DRUG | SORT+5 |
END | DATE+1, DATE+2, SUM+3, SORT+4, ASKN+4, DRUG+3, DEV+2, DEV+3 |
SAVE | DEV+3 |
Name | Field # of Occurrence |
---|---|
^("I" | ASKN+5 |
^(0 | ASKN+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END+1! |
%DT | DATE+1!*, END+1! |
%DT("A" | DATE+1*, DATE+2* |
%H | END+1! |
%I | END+1! |
%ZIS | DEV+2!*, END+1! |
%ZIS("B" | DEV+2* |
ALL | DRUG+4*, END+1!, SAVE+2 |
ANS | SORT+4*, SORT+5, DEV+3, DEV+4, END+1! |
DA | SUM+1!, SORT+1!, ASKN+2!, DRUG+2!, END+1! |
DATE | END+1! |
DIC | ASKN+2!, ASKN+3*!, DRUG+2!*, END+1! |
DIC("A" | ASKN+3*, DRUG+2* |
DIC("S" | ASKN+3*, DRUG+2* |
DIC(0 | ASKN+3*, DRUG+2* |
DIR | SUM+1!, SUM+3!, SORT+1!, SORT+4!, END+1! |
DIR("?" | SUM+2*, SORT+2*, SORT+3* |
DIR("A" | SUM+1*, SORT+1*, SORT+4* |
DIR("B" | SUM+1* |
DIR(0 | SUM+1*, SORT+1* |
DIROUT | END+1! |
DIRUT | SUM+1!, SUM+3, SORT+1!, SORT+4, END+1! |
DTOUT | END+1! |
DUOUT | END+1! |
IO | DEV+4 |
IO("Q" | DEV+2!, DEV+3!, END+1! |
IOP | DEV+2! |
LOC | ASKN+4, DRUG+3, END+1!, SAVE+1 |
LOC( | ASKN+3*, ASKN+5*, DRUG+2* |
POP | DEV+2!, END+2! |
PSD | ASKN+5*, END+2! |
PSDATE | DATE+2*, DATE+4*, END+2! |
PSDED | DATE+4*, END+2! |
PSDOUT | DATE+1*, DATE+2*, END+2! |
PSDSD | DATE+2*, DATE+3, DATE+4*, END+2! |
>> PSDSITE | PSDEM+6, ASKN+5 |
PSDT | DATE+5*, ASKN+5, END+2! |
SUM | SUM+3*, END+2! |
X | DATE+5, ASKN+4, ASKN+5, DRUG+3, DRUG+4, END+2! |
Y | DATE+1, DATE+2, DATE+3, DATE+4, SUM+3, SORT+4, ASKN+3, DRUG+2, END+2! |
ZTDESC | DEV+3*, END+2! |
ZTDTH | DEV+3! |
ZTIO | DEV+3!, END+2! |
>> ZTQUEUED | END+3 |
>> ZTREQ | END+3* |
ZTRTN | DEV+3*, END+2! |
ZTSAVE | DEV+3!, END+2! |
ZTSAVE("ALL" | SAVE+2* |
ZTSAVE("ANS" | SAVE+1* |
ZTSAVE("LOC(" | SAVE+1* |
ZTSAVE("PSD" | SAVE+1* |
ZTSAVE("PSDATE" | SAVE+3* |
ZTSAVE("PSDED" | SAVE+3* |
ZTSAVE("PSDSD" | SAVE+3* |
ZTSAVE("PSDSITE" | SAVE+1* |
ZTSAVE("PSDT" | SAVE+1* |
ZTSAVE("SUM" | SAVE+1* |
ZTSK | DEV+3! |