BCHL ; IHS/TUCSON/LAB - List Template Exporter ; [ 10/28/96 2:05 PM ]
;;1.0;IHS RPMS CHR SYSTEM;;OCT 28, 1996
;; ;
W !,"'BCH UPDATE ACTIVITY RECORDS' List Template..."
S DA=$O(^SD(409.61,"B","BCH UPDATE ACTIVITY RECORDS",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BCH UPDATE ACTIVITY RECORDS" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BCH UPDATE ACTIVITY RECORDS^1^^80^8^18^1^1^CHR ACTIVITY RECORDS^BCH UPDATE ACTIVITY RECORD MENU^UPDATE CHR PCC FORMS^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" BCHVRECS"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BCHUAR"
.S ^SD(409.61,VALM,"HDR")="D HDR^BCHUAR"
.S ^SD(409.61,VALM,"HLP")="D HELP^BCHUAR"
.S ^SD(409.61,VALM,"INIT")="D INIT^BCHUAR"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
BCHL ; IHS/TUCSON/LAB - List Template Exporter ; [ 10/28/96 2:05 PM ]
+1 ;;1.0;IHS RPMS CHR SYSTEM;;OCT 28, 1996
+2 ;; ;
+3 WRITE !,"'BCH UPDATE ACTIVITY RECORDS' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","BCH UPDATE ACTIVITY RECORDS",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="BCH UPDATE ACTIVITY RECORDS"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="BCH UPDATE ACTIVITY RECORDS^1^^80^8^18^1^1^CHR ACTIVITY RECORDS^BCH UPDATE ACTIVITY RECORD MENU^UPDATE CHR PCC FORMS^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" BCHVRECS"
+10 SET ^SD(409.61,VALM,"FNL")="D EXIT^BCHUAR"
+11 SET ^SD(409.61,VALM,"HDR")="D HDR^BCHUAR"
+12 SET ^SD(409.61,VALM,"HLP")="D HELP^BCHUAR"
+13 SET ^SD(409.61,VALM,"INIT")="D INIT^BCHUAR"
+14 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+15 WRITE "Filed."
End DoDot:1
+16 ;
+17 KILL DIC,DIK,VALM,X,DA
QUIT