Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Call Graph |  External References |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Option: PSO RX LIST

Package: Outpatient Pharmacy

Option: PSO RX LIST


Source Information

Name Value
NAME PSO RX LIST
X ACTION PRESENT YES
MENU TEXT Prescription List for Drug Warnings
UPPERCASE MENU TEXT PRESCRIPTION LIST FOR DRUG WAR
PACKAGE OUTPATIENT PHARMACY
E ACTION PRESENT YES
EXIT ACTION K PSOSHOW,PSOEXC
ENTRY ACTION S PSODWFL=1 D MARGIN^PSORLST K DIR S DIR("A")="EXCLUDE DECEASED PATIENTS (Y/N) ",DIR(0)="SA^Y:YES;N:NO",DIR("B")="Y" D ^DIR Q:$D(DUOUT)!$D(DIRUT) S PSOEXC=$S(Y="Y":1,1:0)
DESCRIPTION
This report provides the ability to identify all patients who have 
been dispensed a particular medication(s). 
Prescription List for Drug Warnings [PSO RX LIST] option uses a sort
template PSO DRUG WARNINGS to prompt for user input. Users are prompted
for inclusion or exclusion of deceased Patients, Divisions and a range of
Finish Dates. Print templates PSO DRUG WARNINGS and PSO DRUG WARNINGS
HEADER produce a report in a delimited output format suitable for import
to a spreadsheet. Report output will be delimited by a caret (^).
CREATOR USER,SEVENTEEN
TYPE print
DIC {DIP} PSRX(
FLDS [PSO DRUG WARNINGS]
BY [PSO DRUG WARNINGS]
DIS(0) S PSOSHOW=$S('$G(PSOEXC):1,$G(PSOEXC)&$G(^DPT(+$P(^PSRX(D0,0),U,2),.35)):0,1:1) S PSODED=$$PSODED^PSORLST(D0) I PSOSHOW
DIOBEG D EXCMSG^PSORLST

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Outpatient Pharmacy 1 ($$PSODED,EXCMSG,MARGIN)^PSORLST  
VA FileMan 1 ^DIR  

External References

Name Field # of Occurrence
^DIR 4
$$PSODED^PSORLST 6
EXCMSG^PSORLST 8
MARGIN^PSORLST 4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] 6
^PSRX - [#52] 6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 6
DIR 4
DIR("A" 4
DIR("B" 4
DIR(0 4
>> DIRUT 4
>> DUOUT 4
>> PSODED 6
>> PSODWFL 4
PSOEXC 2, 4, 6
PSOSHOW 2, 6
U 6
Y 4
Source Information |  Call Graph |  External References |  Global Variables Directly Accessed |  Local Variables |  All