PSDORSN ;BIR/JPW-Nurse Order Stats Report ; 8 Aug 94
Source file <PSDORSN.m>
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 PEND NAOU ORDERS |
Name | Comments | DBIA/ICR reference |
---|---|---|
ASKN | ;ask naou
|
|
ALL | ;asks for all orders
|
|
DRUG | ;select drugs
|
|
DEV | ;ask device and queue info
|
|
START | ;loops thru pending orders and orders cancelled in the past 3 days
|
|
;prints the report
|
||
DONE | ||
END | ||
LOOP | ;starts drug loop for all orders
|
|
ORD | ;order loop
|
|
SET | ;sets data for printing
|
|
HDR | ;header for log
|
|
SAVE |
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | PRINT+1, SET+3 |
^PSD(58.8 - [#58.8] | START+3, START+4, START+5, START+6, LOOP+1, ORD+1, SET+1 |
^PSD(58.82 - [#58.82] | SET+3 |
^PSDRUG - [#50] | SET+1 |
^TMP("PSDNST" | START+1!, PRINT+2, PRINT+3, PRINT+4, PRINT+5, END+2!, SET+4* |
^XUSEC("PSD NURSE" | PSDORSN+3 |
^XUSEC("PSJ PHARM TECH" | PSDORSN+3 |
^XUSEC("PSJ RNURSE" | PSDORSN+3 |
^XUSEC("PSJ RPHARM" | PSDORSN+3 |
Name | Field # of Occurrence |
---|---|
^(0 | SET+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END! |
%H | END! |
%I | END! |
%ZIS | DEV+2!*, END! |
%ZIS("B" | DEV+2* |
ALL | ALL+3*, ALL+4, START+3, START+4, END! |
DA | ASKN+1!, ALL+1!, DRUG+1!, END!, HDR+1! |
DA(1 | DRUG+2* |
DIC | ASKN+1!*, ASKN+2!, DRUG+1!, DRUG+2*!, END! |
DIC("A" | ASKN+1* |
DIC("S" | ASKN+2* |
DIC("W" | DRUG+1* |
DIC(0 | ASKN+1*, DRUG+2* |
DIR | ALL+1!, ALL+3!, DONE+1!, END!, HDR+1! |
DIR("?" | ALL+2* |
DIR("A" | ALL+1*, DONE+1* |
DIR("B" | ALL+1* |
DIR(0 | ALL+1*, DONE+1*, HDR+1* |
DIROUT | END! |
DIRUT | ALL+1!, ALL+3, DONE+1!, END! |
DTOUT | END! |
DUOUT | END! |
DUZ | PSDORSN+3 |
IO | DEV+4 |
IO("Q" | DEV+2!, DEV+3! |
IOF | DONE, HDR+2 |
IOP | DEV+2! |
IOSL | PRINT+4 |
IOST | DONE, DONE+1, HDR+1 |
LN | PRINT+2!*, END!, HDR+4 |
NAOU | ASKN+3*, DRUG+2, START+6, END!, LOOP+1, ORD+1, SET+1 |
NAOUN | ASKN+3*, END!, HDR+2 |
NODE | PRINT+5*, END!, SET+1*, SET+2, SET+3 |
OK | PSDORSN+3*, PSDORSN+4!, END! |
ORD | PRINT+4*, PRINT+5, END!, ORD+1*, SET+1, SET+4 |
PG | PRINT+1*, END+1!, HDR+1, HDR+2* |
POP | DEV+2!, END+1! |
PSDOUT | PRINT+1*, PRINT+3, PRINT+4, DONE+1, END+1!, HDR+1* |
PSDPN | END+1!, SET+3*, SET+4 |
PSDR | DRUG+2*, START+6, PRINT+3*, PRINT+4, PRINT+5, END+1!, LOOP+1*, ORD+1, SET+1, SAVE |
PSDRN | END+1!, SET+1*, SET+4 |
>> PSDSITE | PSDORSN+2 |
PSDST | START+2*, END+1!, SET+2 |
PSDT | START+2*, PRINT+1, END+1! |
QTY | END+1!, SET+3*, SET+4 |
REQ | END+1!, SET+3*, SET+4 |
RPDT | PRINT+1*, END+1!, HDR+2 |
STAT | START+3*, START+4*, START+5*, START+6*, END+1!, LOOP+1, ORD+1, SET+2, SET+3 |
STATN | END+1!, SET+3*, SET+4 |
X | START+2, END+1! |
X1 | START+2*, END+1! |
X2 | START+2*, END+1! |
Y | ASKN+2, ASKN+3, ALL+3, DRUG+2, PRINT+1*, END+1!, SET+3*, 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("ALL" | SAVE* |
ZTSAVE("NAOU" | SAVE* |
ZTSAVE("NAOUN" | SAVE* |
ZTSAVE("PSDR" | SAVE* |
ZTSK | DEV+3!, END+1! |