BNIRD ; IHS/CMI/LAB - bni record display ;
;;1.0;BNI CPHD ACTIVITY DATASYSTEM;;DEC 20, 2006
;; ;
EN ;PEP -- main entry point for BNI RECORD DISPLAY
K ^TMP("BNIVDSG",$J)
Q:'$G(BNIREC)
D EN^BNIRDSG(BNIREC)
NEW VALMCNT
D TERM^VALM0
D CLEAR^VALM1
D EN^VALM("BNI RECORD DISPLAY")
K ^TMP("BNIVDSG",$J),BNIBROW
D CLEAR^VALM1
D FULL^VALM1
Q
;
EN1 ;EP - called from input templates
D EN^XBNEW("EN^BNIRD","BNIREC")
K Y
Q
HDR ; -- header code
Q
;
INIT ; -- init variables and list array
S VALMCNT=$O(^TMP("BNIVDSG",$J,""),-1)
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
Q
;
EXPND ; -- expand code
Q
;
BNIRD ; IHS/CMI/LAB - bni record display ;
+1 ;;1.0;BNI CPHD ACTIVITY DATASYSTEM;;DEC 20, 2006
+2 ;; ;
EN ;PEP -- main entry point for BNI RECORD DISPLAY
+1 KILL ^TMP("BNIVDSG",$JOB)
+2 IF '$GET(BNIREC)
QUIT
+3 DO EN^BNIRDSG(BNIREC)
+4 NEW VALMCNT
+5 DO TERM^VALM0
+6 DO CLEAR^VALM1
+7 DO EN^VALM("BNI RECORD DISPLAY")
+8 KILL ^TMP("BNIVDSG",$JOB),BNIBROW
+9 DO CLEAR^VALM1
+10 DO FULL^VALM1
+11 QUIT
+12 ;
EN1 ;EP - called from input templates
+1 DO EN^XBNEW("EN^BNIRD","BNIREC")
+2 KILL Y
+3 QUIT
HDR ; -- header code
+1 QUIT
+2 ;
INIT ; -- init variables and list array
+1 SET VALMCNT=$ORDER(^TMP("BNIVDSG",$JOB,""),-1)
+2 QUIT
+3 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 QUIT
+2 ;
EXPND ; -- expand code
+1 QUIT
+2 ;