AZXARDSP ; IHS/PHXAO/TMJ - ROI DISPLAY OF DISCLOSURE ;
;;2.0;RELEASE OF INFORMATION;;FEB 21, 2002
;
START ;
D GETREF
Q:AZXAQ
;
START2 ;EP To Display a Referral Record
D BROWSE
D XIT
Q
;
GETREF ; GET REFERRAL
S AZXAQ=1
W !
S DIC="^AZXAREF(",DIC(0)="AEMQ",DIC("A")="Select ROI DISCLOSURE by Patient or by Disclosure Date or #: "
D DIC^AZXAFMC
Q:Y<1
S AZXARIEN=+Y
S AZXAQ=0
Q
;
BROWSE ;
S XBRP="DISP^AZXARD1"
S XBRC="",XBRX="XIT^AZXARD1",XBIOP=0 D ^XBDBQUE
;D VIEWR^XBLM("^AZXAVLP")
Q
XIT ;EP
D ^AZXAKILL
K ^TMP("AZXARDSP",$J)
Q
DISP ;EP
D EN^VALM("AZXA RECORD DISPLAY")
D CLEAR^VALM1
Q
HDR ; -- header code
S VALMHDR(1)="User: "_$P(^VA(200,DUZ,0),U)
Q
;
INIT ; -- init variables and list array
D EP^AZXARD(AZXARIEN)
S VALMCNT=$O(^TMP("AZXARDSP",$J,""),-1)
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
Q
AZXARDSP ; IHS/PHXAO/TMJ - ROI DISPLAY OF DISCLOSURE ;
+1 ;;2.0;RELEASE OF INFORMATION;;FEB 21, 2002
+2 ;
START ;
+1 DO GETREF
+2 IF AZXAQ
QUIT
+3 ;
START2 ;EP To Display a Referral Record
+1 DO BROWSE
+2 DO XIT
+3 QUIT
+4 ;
GETREF ; GET REFERRAL
+1 SET AZXAQ=1
+2 WRITE !
+3 SET DIC="^AZXAREF("
SET DIC(0)="AEMQ"
SET DIC("A")="Select ROI DISCLOSURE by Patient or by Disclosure Date or #: "
+4 DO DIC^AZXAFMC
+5 IF Y<1
QUIT
+6 SET AZXARIEN=+Y
+7 SET AZXAQ=0
+8 QUIT
+9 ;
BROWSE ;
+1 SET XBRP="DISP^AZXARD1"
+2 SET XBRC=""
SET XBRX="XIT^AZXARD1"
SET XBIOP=0
DO ^XBDBQUE
+3 ;D VIEWR^XBLM("^AZXAVLP")
+4 QUIT
XIT ;EP
+1 DO ^AZXAKILL
+2 KILL ^TMP("AZXARDSP",$JOB)
+3 QUIT
DISP ;EP
+1 DO EN^VALM("AZXA RECORD DISPLAY")
+2 DO CLEAR^VALM1
+3 QUIT
HDR ; -- header code
+1 SET VALMHDR(1)="User: "_$PIECE(^VA(200,DUZ,0),U)
+2 QUIT
+3 ;
INIT ; -- init variables and list array
+1 DO EP^AZXARD(AZXARIEN)
+2 SET VALMCNT=$ORDER(^TMP("AZXARDSP",$JOB,""),-1)
+3 QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 QUIT