BDMVL ; cmi/anch/maw - List Template Exporter ;
;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
;; ;
W !,"'BDMV AG VIEW' List Template..."
S DA=$O(^SD(409.61,"B","BDMV AG VIEW",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BDMV AG VIEW" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BDMV AG VIEW^2^^80^2^21^1^1^^^VIEW PATIENT REGISTRATION^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BDMVAG"",$J)"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BDMVAGL"
.S ^SD(409.61,VALM,"HDR")="D HDR^BDMVAGL"
.S ^SD(409.61,VALM,"HLP")="D HELP^BDMVAGL"
.S ^SD(409.61,VALM,"INIT")="D INIT^BDMVAGL"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'BDMV HS VIEW' List Template..."
S DA=$O(^SD(409.61,"B","BDMV HS VIEW",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BDMV HS VIEW" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BDMV HS VIEW^1^^80^2^18^1^1^^BDMV MENU VIEW RECORD^VIEW PATIENT RECORD^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BDMVR"",$J)"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BDMVRL"
.S ^SD(409.61,VALM,"HDR")="D HDR^BDMVRL"
.S ^SD(409.61,VALM,"HLP")="D HELP^BDMVRL"
.S ^SD(409.61,VALM,"INIT")="D INIT^BDMVRL"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
BDMVL ; cmi/anch/maw - List Template Exporter ;
+1 ;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
+2 ;; ;
+3 WRITE !,"'BDMV AG VIEW' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","BDMV AG VIEW",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+5 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="BDMV AG VIEW"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="BDMV AG VIEW^2^^80^2^21^1^1^^^VIEW PATIENT REGISTRATION^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BDMVAG"",$J)"
+10 SET ^SD(409.61,VALM,"FNL")="D EXIT^BDMVAGL"
+11 SET ^SD(409.61,VALM,"HDR")="D HDR^BDMVAGL"
+12 SET ^SD(409.61,VALM,"HLP")="D HELP^BDMVAGL"
+13 SET ^SD(409.61,VALM,"INIT")="D INIT^BDMVAGL"
+14 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+15 WRITE "Filed."
End DoDot:1
+16 ;
+17 WRITE !,"'BDMV HS VIEW' List Template..."
+18 SET DA=$ORDER(^SD(409.61,"B","BDMV HS VIEW",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+19 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="BDMV HS VIEW"
DO FILE^DICN
SET VALM=+Y
+20 IF VALM>0
Begin DoDot:1
+21 SET ^SD(409.61,VALM,0)="BDMV HS VIEW^1^^80^2^18^1^1^^BDMV MENU VIEW RECORD^VIEW PATIENT RECORD^1^^1"
+22 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+23 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BDMVR"",$J)"
+24 SET ^SD(409.61,VALM,"FNL")="D EXIT^BDMVRL"
+25 SET ^SD(409.61,VALM,"HDR")="D HDR^BDMVRL"
+26 SET ^SD(409.61,VALM,"HLP")="D HELP^BDMVRL"
+27 SET ^SD(409.61,VALM,"INIT")="D INIT^BDMVRL"
+28 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+29 WRITE "Filed."
End DoDot:1
+30 ;
+31 KILL DIC,DIK,VALM,X,DA
QUIT