AZXA2ND ; IHS/PHXAO/TMJ - ROI CLOSED DISCLOSURES FOR 2ND & 3RD REQUESTS ;
;;2.0;RELEASE OF INFORMATION;;FEB 21, 2002
;
;
ASK ;Ask For Date Range
;
;
BD ;get beginning date
W !! S DIR(0)="D^::EP",DIR("A")="Enter beginning ROI Initiated Date" D ^DIR K DIR S:$D(DUOUT) DIRUT=1
I $D(DIRUT) G END
S AZXABD=Y
ED ;get ending date
W ! S DIR(0)="D^"_AZXABD_"::EP",DIR("A")="Enter ending ROI Initiation Date" D ^DIR K DIR S:$D(DUOUT) DIRUT=1
I $D(DIRUT) G BD
S AZXAED=Y
S X1=AZXABD,X2=-1 D C^%DTC S AZXASD=X
W !
;
PRINT ;PRINT CLOSED DISCLOSURES BY DATE
;W !
S FLDS="[AZXA ADDITIONAL REQUEST]",BY="@(#.01),2ND REQUEST DATE'=""""",DIC="^AZXAREC(",L=0
S FR=AZXABD,TO=AZXAED
K DHIT,DIOEND,DIOBEG
D EN1^DIP
END ;
K AZXABD,AZXAED,X,DD0,B Q
AZXA2ND ; IHS/PHXAO/TMJ - ROI CLOSED DISCLOSURES FOR 2ND & 3RD REQUESTS ;
+1 ;;2.0;RELEASE OF INFORMATION;;FEB 21, 2002
+2 ;
+3 ;
ASK ;Ask For Date Range
+1 ;
+2 ;
BD ;get beginning date
+1 WRITE !!
SET DIR(0)="D^::EP"
SET DIR("A")="Enter beginning ROI Initiated Date"
DO ^DIR
KILL DIR
IF $DATA(DUOUT)
SET DIRUT=1
+2 IF $DATA(DIRUT)
GOTO END
+3 SET AZXABD=Y
ED ;get ending date
+1 WRITE !
SET DIR(0)="D^"_AZXABD_"::EP"
SET DIR("A")="Enter ending ROI Initiation Date"
DO ^DIR
KILL DIR
IF $DATA(DUOUT)
SET DIRUT=1
+2 IF $DATA(DIRUT)
GOTO BD
+3 SET AZXAED=Y
+4 SET X1=AZXABD
SET X2=-1
DO C^%DTC
SET AZXASD=X
+5 WRITE !
+6 ;
PRINT ;PRINT CLOSED DISCLOSURES BY DATE
+1 ;W !
+2 SET FLDS="[AZXA ADDITIONAL REQUEST]"
SET BY="@(#.01),2ND REQUEST DATE'="""""
SET DIC="^AZXAREC("
SET L=0
+3 SET FR=AZXABD
SET TO=AZXAED
+4 KILL DHIT,DIOEND,DIOBEG
+5 DO EN1^DIP
END ;
+1 KILL AZXABD,AZXAED,X,DD0,B
QUIT