BRNRDSP ; IHS/PHXAO/TMJ - ROI DISPLAY OF DISCLOSURE ;
;;2.0;RELEASE OF INFO SYSTEM;;APR 10, 2003
;
START ;
D GETREF
Q:BRNQ
;
START2 ;EP To Display a Disclosure Record
D BROWSE
D XIT
Q
;
GETREF ; GET DISCLOSURE
S BRNQ=1
W !
S DIC="^BRNREF(",DIC(0)="AEMQ",DIC("A")="Select ROI DISCLOSURE by Patient or by Disclosure Date or #: "
D DIC^BRNFMC
Q:Y<1
S BRNRIEN=+Y
S BRNQ=0
Q
;
BROWSE ;
S XBRP="DISP^BRNRD1"
S XBRC="",XBRX="XIT^BRNRD1",XBIOP=0 D ^XBDBQUE
;D VIEWR^XBLM("^BRNVLP")
Q
XIT ;EP
D ^BRNKILL
K ^TMP("BRNRDSP",$J)
Q
DISP ;EP
D EN^VALM("BRN 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^BRNRD(BRNRIEN)
S VALMCNT=$O(^TMP("BRNRDSP",$J,""),-1)
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
Q
BRNRDSP ; IHS/PHXAO/TMJ - ROI DISPLAY OF DISCLOSURE ;
+1 ;;2.0;RELEASE OF INFO SYSTEM;;APR 10, 2003
+2 ;
START ;
+1 DO GETREF
+2 IF BRNQ
QUIT
+3 ;
START2 ;EP To Display a Disclosure Record
+1 DO BROWSE
+2 DO XIT
+3 QUIT
+4 ;
GETREF ; GET DISCLOSURE
+1 SET BRNQ=1
+2 WRITE !
+3 SET DIC="^BRNREF("
SET DIC(0)="AEMQ"
SET DIC("A")="Select ROI DISCLOSURE by Patient or by Disclosure Date or #: "
+4 DO DIC^BRNFMC
+5 IF Y<1
QUIT
+6 SET BRNRIEN=+Y
+7 SET BRNQ=0
+8 QUIT
+9 ;
BROWSE ;
+1 SET XBRP="DISP^BRNRD1"
+2 SET XBRC=""
SET XBRX="XIT^BRNRD1"
SET XBIOP=0
DO ^XBDBQUE
+3 ;D VIEWR^XBLM("^BRNVLP")
+4 QUIT
XIT ;EP
+1 DO ^BRNKILL
+2 KILL ^TMP("BRNRDSP",$JOB)
+3 QUIT
DISP ;EP
+1 DO EN^VALM("BRN 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^BRNRD(BRNRIEN)
+2 SET VALMCNT=$ORDER(^TMP("BRNRDSP",$JOB,""),-1)
+3 QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 QUIT