BSDSCO3 ; IHS/ANMC/LJF - PRV HIST ASSIGN LIST TEMPLATE ;
;;5.3;PIMS;;APR 26, 2002
;
EN ; -- main entry point
NEW VALMCNT D TERM^VALM0,CLEAR^VALM1
D EN^VALM("BSDSC HIST PRV ASSIGN")
D CLEAR^VALM1
Q
;
HDR ; -- header code
Q
;
INIT ; -- init variables and list array
K ^TMP("BSDSCO3",$J),^TMP("BSDSCO31",$J)
D GUIR^XBLM("IHS^SCRPO3","^TMP(""BSDSCO31"",$J,")
S X=0 F S X=$O(^TMP("BSDSCO31",$J,X)) Q:'X D
. S VALMCNT=X
. S ^TMP("BSDSCO3",$J,X,0)=^TMP("BSDSCO31",$J,X)
K ^TMP("BSDSCO31",$J)
Q
;
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
D END^SCRPW50 K ^TMP("BSDSCO3",$J)
Q
;
EXPND ; -- expand code
Q
;
BSDSCO3 ; IHS/ANMC/LJF - PRV HIST ASSIGN LIST TEMPLATE ;
+1 ;;5.3;PIMS;;APR 26, 2002
+2 ;
EN ; -- main entry point
+1 NEW VALMCNT
DO TERM^VALM0
DO CLEAR^VALM1
+2 DO EN^VALM("BSDSC HIST PRV ASSIGN")
+3 DO CLEAR^VALM1
+4 QUIT
+5 ;
HDR ; -- header code
+1 QUIT
+2 ;
INIT ; -- init variables and list array
+1 KILL ^TMP("BSDSCO3",$JOB),^TMP("BSDSCO31",$JOB)
+2 DO GUIR^XBLM("IHS^SCRPO3","^TMP(""BSDSCO31"",$J,")
+3 SET X=0
FOR
SET X=$ORDER(^TMP("BSDSCO31",$JOB,X))
IF 'X
QUIT
Begin DoDot:1
+4 SET VALMCNT=X
+5 SET ^TMP("BSDSCO3",$JOB,X,0)=^TMP("BSDSCO31",$JOB,X)
End DoDot:1
+6 KILL ^TMP("BSDSCO31",$JOB)
+7 QUIT
+8 ;
+9 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 DO END^SCRPW50
KILL ^TMP("BSDSCO3",$JOB)
+2 QUIT
+3 ;
EXPND ; -- expand code
+1 QUIT
+2 ;