Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ACDRR2

ACDRR2.m

Go to the documentation of this file.
ACDRR2 ;IHS/ADC/EDE/KML - PROVIDER WORKLOAD REPORT;
 ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
 ;
 ; This routine prints a provider workload report for
 ; a specified time frame.
 ;
START ;
 D INIT
 Q:ACDQ
 D DBQUE
 Q
 ;
INIT ;
 S ACDQ=1
 W !,"This routine prints a provider workload report for a specified time frame",!
 D GETDTR^ACDDEU ;              get acddtlo & acddthi
 Q:ACDQ
 S ACDQ=0
 Q
 ;
DBQUE ; call to XBDBQUE
 S ACDQ=1
 W ! S DIR(0)="S^P:PRINT Output;B:BROWSE Output on Screen",DIR("A")="Do you wish to",DIR("B")="P" K DA D ^DIR K DIR
 Q:$D(DIRUT)
 I Y="B" D BROWSE Q
 S XBRP="^ACDRR2P",XBRC="^ACDRR2C",XBRX="XIT^ACDRR2",XBNS="ACD"
 D ^XBDBQUE
 Q
 ;
BROWSE ;
 S XBRP="VIEWR^XBLM(""^ACDRR2P"")"
 S XBRC="^ACDRR2C",XBRX="XIT^ACDRR2",XBIOP=0 D ^XBDBQUE
 Q
 ;
XIT ; EP - CALLED FROM ACDRR2P
 ;K ^TMP("ACDRR2",ACDJOB,ACDBT)
 K ACDBT,ACDBTH,ACDCLASS,ACDCS,ACDCSIEN,ACDDTHI,ACDDTLO,ACDET,ACDHRS,ACDIIEN,ACDJOB,ACDPACT,ACDPAGE,ACDPDATE,ACDPDAY,ACDPIEN,ACDPPROV,ACDPRIEN,ACDQ,ACDSHDR,ACDTC,ACDTIEN,ACDVDATE,ACDVIEN,ACDWPROV
 Q
 ;
EOJ ;
 K ACDDTLO,ACDDTHI,ACDQ
 Q