PSORLST ;BIRM/MFR - List of Patients/Prescriptions for Recall Notice ;12/30/09
Source file <PSORLST.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 |
---|---|---|
Outpatient Pharmacy | 2 | PSO RECALL LIST PSO RX LIST |
Kernel | 1 | ^DIC(19 |
Name | Comments | DBIA/ICR reference |
---|---|---|
START | ; Prompt user for search/selection criteria.
|
|
LKTP | ; Type of Drug Lookup
|
|
QUE | ; Entry point for queued report. Begin processing based on user's selection criteria.
|
|
EXIT | ; Quit.
|
|
DTRNG(BGN,END) | ; Date Range Selection
|
|
EXCL() | ; Exclude Deceased Patients
; Input: (o) EXCLUDE - "Y"es or "N"o |
|
MED() | ; Select Medication(s)
; Medication Selection (NDC/Dispense Drug/Generic Drug) |
|
NDC(NDC) | ; Select NDC
|
|
DDRG(PSODDRG,LOTSEL) | ; Select Dispense Drug
|
|
LOT(DRGNO,DRGARR,DRGNAM) | ; Enter Lot Number(s)
|
|
GENERIC(PSODDRG) | ; Select drug by VA GENERIC (file 50.6)
|
|
GLOOP | ; Prompt loop
|
|
ORDITEM(PSODDRG) | ; Select drug by ORDERABLE ITEM (file 50.7)
|
|
OLOOP | ; Prompt loop
|
|
DDSEL(DDIN,DDOUT) | ; Display selectable dispense drugs (DDIN), prompt for selection, save selected dispense drugs in DDOUT
|
|
DEV | ; Prompt user for output device
|
|
DIVSEL(ARRAY) | ; - Division selection (one, multiple or ALL)
|
|
EXCMSG | ;Display the message about capturing to an Excel file format
|
|
MARGIN | ||
PSODED(RXIEN) | ;
|
Name | Field # of Occurrence |
---|---|
^%DT | DTRNG+5, DTRNG+9 |
^%ZIS | DEV+2, DEV+3 |
^%ZTLOAD | DEV+8 |
^DIC | DDRG+4, GLOOP+2, OLOOP+2, DIVSEL+7 |
^DIR | EXCL+3, MED+5, NDC+7, LOT+5, DDSEL+6, EXCMSG+9 |
PROCESS^PSORLST2 | QUE+2 |
AND^PSS50 | GLOOP+4 |
DATA^PSS50 | GLOOP+6, OLOOP+6 |
DRGIEN^PSS50P7 | OLOOP+4 |
$$FMADD^XLFDT | GENERIC+2, ORDITEM+2 |
$$NOW^XLFDT | DIVSEL+4 |
$$UP^XLFSTR | DIVSEL+8 |
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PSNDF(50.6 - [#50.6] | Classic Fileman Calls |
^PS(59 - [#59] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("RM" | DEV+4 |
^DPT - [#2] | PSODED+3 |
^PS(59 - [#59] | START+6 |
^PSRX - [#52] | PSODED+3 |
^TMP($J | GLOOP+3!, GLOOP+5, GLOOP+7!, OLOOP+3!, OLOOP+5, OLOOP+7! |
Name | Line Occurrences |
---|---|
$$DTRNG | START+9 |
$$EXCL | LKTP+7 |
$$MED | LKTP+1 |
DDRG | LKTP+3 |
DDSEL | GLOOP+8, OLOOP+8 |
DEV | LKTP+10 |
DIVSEL | START+5 |
EXCMSG | LKTP+11 |
EXIT | START+5, LKTP+1, LKTP+2, LKTP+3, LKTP+4, LKTP+5, LKTP+10, LKTP+11 |
GENERIC | LKTP+4 |
LKTP | LKTP+2, LKTP+3, LKTP+4, LKTP+5 |
LOT | DDRG+4 |
MARGIN | LKTP+9 |
NDC | LKTP+2 |
ORDITEM | LKTP+5 |
START | START+9, LKTP+1, LKTP+7, LKTP+10, LKTP+11, QUE+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | DTRNG+3~, DTRNG+5*, DTRNG+8!, DTRNG+9* |
%DT("A" | DTRNG+5*, DTRNG+9* |
%DT("B" | DTRNG+5*!, DTRNG+9*! |
%DT(0 | DTRNG+9* |
%ZIS | DEV+1!*, DEV+2! |
ARRAY | DIVSEL~, DIVSEL+6!, DIVSEL+8!*, DIVSEL+9!*, DIVSEL+12* |
ARRAY( | DIVSEL+10, DIVSEL+11* |
BGN | DTRNG~, DTRNG+5 |
>> DD | DDSEL+5*, DDSEL+7* |
DDIN | DDSEL~, DDSEL+2!, DDSEL+8! |
DDIN( | DDSEL+5, DDSEL+7 |
DDOUT | DDSEL~ |
DDOUT( | DDSEL+7* |
DDRG | START+1~ |
DDRGLI | GENERIC+1~, GLOOP+5*, GLOOP+6, GLOOP+7 |
DDRGLIA | GENERIC+1~, GLOOP+8, OLOOP+8 |
DDRGLIA( | GLOOP+7*, OLOOP+7* |
>> DFN | PSODED+3 |
DIC | START+2~, DDRG+1!, DDRG+2*, GLOOP+1*, OLOOP+1*, DIVSEL+1~, DIVSEL+6* |
DIC("A" | DDRG+2*, GLOOP+1*, OLOOP+1*, DIVSEL+6*, DIVSEL+11* |
DIC("B" | DIVSEL+11! |
DIC("S" | DDRG+3*, OLOOP+1*, DIVSEL+5* |
DIC(0 | DDRG+2*, GLOOP+1*, OLOOP+1*, DIVSEL+6* |
DIR | EXCL+2!, EXCL+3!, MED+2!, NDC+3!, LOT+3!, DDSEL+1!, EXCMSG+9~! |
DIR("?" | MED+4*, NDC+6*, NDC+8 |
DIR("A" | EXCL+2*, MED+4*, NDC+4*, LOT+4*, EXCMSG+9* |
DIR("B" | EXCL+3* |
DIR(0 | EXCL+3*, MED+3*, NDC+5*, LOT+4*, DDSEL+6*, EXCMSG+9* |
DRGARR | LOT~ |
DRGARR( | LOT+6*, LOT+10! |
DRGNAM | LOT~, LOT+11 |
DRGNO | LOT~, LOT+6, LOT+10 |
DT | GENERIC+2, ORDITEM+2, DIVSEL+4~* |
DTOUT | DTRNG+3~, DTRNG+6, DTRNG+10, DIVSEL+1~, DIVSEL+9 |
DTRNG | DTRNG+3~, DTRNG+4*, DTRNG+7*, DTRNG+11*, DTRNG+12 |
DUOUT | LKTP+11, DTRNG+3~, DTRNG+6, DTRNG+10, LOT+5, DIVSEL+1~, DIVSEL+9, EXCMSG+1! |
END | DTRNG~, DTRNG+9 |
EXIT | START+1~, LKTP+10, DDRG+4, LOT+1~, LOT+2, LOT+5*, LOT+7*, LOT+9, LOT+10, DEV+1! , DEV+3*, DEV+5* |
>> G | DEV+7* |
GENAM | GENERIC+1~, GLOOP+2* |
GENUM | GENERIC+1~, GLOOP+2*, GLOOP+4 |
>> II | DDSEL+5*, DDSEL+6*, DDSEL+7* |
INACTDT | GENERIC+1~, GENERIC+2*, GLOOP+4, GLOOP+6, ORDITEM+1~, ORDITEM+2*, OLOOP+4, OLOOP+6 |
IO | QUE+1 |
IO("Q" | DEV+5, DEV+8! |
IOP | DEV+1!, DEV+3*! |
IOST | EXCMSG+2 |
LOT | LOT+1~ |
LOTSEL | DDRG~, DDRG+4 |
NDC | NDC~, NDC+1!, NDC+10 |
NDC( | NDC+9* |
OIDRGLI | ORDITEM+1~, OLOOP+5*, OLOOP+6, OLOOP+7 |
OIDRGLIA | ORDITEM+1~ |
OINAM | ORDITEM+1~, OLOOP+2* |
OINUM | ORDITEM+1~, OLOOP+2*, OLOOP+4 |
OUTPUT | START+2~ |
POP | DEV+1!, DEV+3 |
PSODDRG | START+1~, LKTP+3, LKTP+4, LKTP+5, DDRG~, DDRG+4, DDRG+5, GENERIC~, GLOOP+8, GLOOP+9 , ORDITEM~, OLOOP+8, OLOOP+9 |
PSODDRG( | DDRG+4* |
PSODEAD | START+2~ |
PSODED | PSODED+1~, PSODED+2*, PSODED+3*, PSODED+4 |
PSODFWL | MARGIN+4! |
PSODIV | START+1~, START+6* |
PSODJ | START+1~ |
PSODTRNG | START+1~, START+9* |
>> PSODWFL | MARGIN+1 |
PSOGEN | START+1~ |
PSOION | DEV+1*, DEV+3!, DEV+5! |
PSOLOTAR | LOT+1~, LOT+7, LOT+8, LOT+10! |
PSOLOTAR( | LOT+6* |
PSOMED | START+1~, LKTP+1*, LKTP+2, LKTP+3, LKTP+4, LKTP+5 |
PSONDC | START+1~, LKTP+2 |
PSOOI | START+1~ |
PSORXDIV | START+1~ |
PSOSDIV | START+2~, START+5, START+6 |
PSOSDIV( | START+6* |
PSOTYPE | START+2~ |
PSOXDED | START+1~, LKTP+7* |
QT | DIVSEL+1~, DIVSEL+7, DIVSEL+8*, DIVSEL+9* |
RXIEN | PSODED~, PSODED+3 |
U | DTRNG+7, DTRNG+11 |
X | DTRNG+3~, EXCL+2!, MED+2!, NDC+3!, DDRG+4!, LOT+1~, LOT+3!, GLOOP+2!, OLOOP+2!, DEV+4* , DIVSEL+1~, DIVSEL+7, DIVSEL+8 |
Y | DTRNG+3~, DTRNG+6, DTRNG+7, DTRNG+9, DTRNG+10, DTRNG+11, EXCL+2!, EXCL+4, MED+2!, MED+6 , NDC+2, NDC+3!, NDC+8*, NDC+9, DDRG+4!, LOT+1~, LOT+3!, LOT+6, LOT+7, LOT+9 , GLOOP+2!, OLOOP+2!, DDSEL+7, DIVSEL+1~, DIVSEL+10, DIVSEL+11 |
Y(0 | DDRG+4 |
>> ZTDESC | DEV+6* |
>> ZTRTN | DEV+6* |
>> ZTSAVE( | DEV+7* |
ZTSK | DEV+1!, DEV+8! |