GMPLIL1 ; List Template Exporter ; 21-OCT-1994
;;2.0;Problem List;;Aug 25, 1994
;; ;
W !,"'GMPL LIST MENU' List Template..."
S DA=$O(^SD(409.61,"B","GMPL LIST MENU",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL LIST MENU" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL LIST MENU^1^^^5^14^1^1^Problem^GMPL LIST MENU^PROBLEM LIST^4^^1"
.S ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPLMENU"",$J,""LIST"")"
.S ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
.S ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
.S ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMENU"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLMENU"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLMENU"
.S ^SD(409.61,VALM,"INIT")="D MENU^GMPLBLD3"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL PROBLEM LIST' List Template..."
S DA=$O(^SD(409.61,"B","GMPL PROBLEM LIST",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL PROBLEM LIST" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL PROBLEM LIST^1^^^5^14^1^1^Problem^GMPL PROBLEM LIST^PROBLEM LIST^1"
.S ^SD(409.61,VALM,1)="GMPL PRINT^GMPL HIDDEN MENU"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPL"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
.S ^SD(409.61,VALM,"COL",2,0)="DATE^47^8^ Updated"
.S ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
.S ^SD(409.61,VALM,"COL",4,0)="CLINIC^56^23^Clinic"
.S ^SD(409.61,VALM,"COL",5,0)="STATUS^4^2"
.S ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMGR2"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLMGR"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLMGR"
.S ^SD(409.61,VALM,"INIT")="D INIT^GMPLMGR"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL SELECTION GROUP BUILD' List Template..."
S DA=$O(^SD(409.61,"B","GMPL SELECTION GROUP BUILD",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL SELECTION GROUP BUILD" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL SELECTION GROUP BUILD^1^^^5^14^1^1^Problem^GMPL MENU BUILD GROUP^EDIT PROBLEM CATEGORY^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" GMPLST"
.S ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
.S ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
.S ^SD(409.61,VALM,"FNL")="D EXIT^GMPLBLDC"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLBLDC"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLBLDC"
.S ^SD(409.61,VALM,"INIT")="D INIT^GMPLBLDC"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL SELECTION LIST BUILD' List Template..."
S DA=$O(^SD(409.61,"B","GMPL SELECTION LIST BUILD",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL SELECTION LIST BUILD" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL SELECTION LIST BUILD^1^^80^5^14^1^1^Problem Group^GMPL MENU BUILD LIST^BUILD PROBLEM SELECTION LIST^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" GMPLST"
.S ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
.S ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
.S ^SD(409.61,VALM,"FNL")="D EXIT^GMPLBLD"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLBLD"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLBLD"
.S ^SD(409.61,VALM,"INIT")="D INIT^GMPLBLD"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL USER PREFS' List Template..."
S DA=$O(^SD(409.61,"B","GMPL USER PREFS",0)),DIK="^SD(409.61," D ^DIK:DA
G ^GMPLIL2
GMPLIL1 ; List Template Exporter ; 21-OCT-1994
+1 ;;2.0;Problem List;;Aug 25, 1994
+2 ;; ;
+3 WRITE !,"'GMPL LIST MENU' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","GMPL LIST MENU",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="GMPL LIST MENU"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="GMPL LIST MENU^1^^^5^14^1^1^Problem^GMPL LIST MENU^PROBLEM LIST^4^^1"
+8 SET ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPLMENU"",$J,""LIST"")"
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
+11 SET ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
+12 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMENU"
+13 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLMENU"
+14 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLMENU"
+15 SET ^SD(409.61,VALM,"INIT")="D MENU^GMPLBLD3"
+16 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+17 WRITE "Filed."
End DoDot:1
+18 ;
+19 WRITE !,"'GMPL PROBLEM LIST' List Template..."
+20 SET DA=$ORDER(^SD(409.61,"B","GMPL PROBLEM LIST",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+21 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL PROBLEM LIST"
DO FILE^DICN
SET VALM=+Y
+22 IF VALM>0
Begin DoDot:1
+23 SET ^SD(409.61,VALM,0)="GMPL PROBLEM LIST^1^^^5^14^1^1^Problem^GMPL PROBLEM LIST^PROBLEM LIST^1"
+24 SET ^SD(409.61,VALM,1)="GMPL PRINT^GMPL HIDDEN MENU"
+25 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPL"",$J)"
+26 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+27 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
+28 SET ^SD(409.61,VALM,"COL",2,0)="DATE^47^8^ Updated"
+29 SET ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
+30 SET ^SD(409.61,VALM,"COL",4,0)="CLINIC^56^23^Clinic"
+31 SET ^SD(409.61,VALM,"COL",5,0)="STATUS^4^2"
+32 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMGR2"
+33 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLMGR"
+34 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLMGR"
+35 SET ^SD(409.61,VALM,"INIT")="D INIT^GMPLMGR"
+36 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+37 WRITE "Filed."
End DoDot:1
+38 ;
+39 WRITE !,"'GMPL SELECTION GROUP BUILD' List Template..."
+40 SET DA=$ORDER(^SD(409.61,"B","GMPL SELECTION GROUP BUILD",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+41 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL SELECTION GROUP BUILD"
DO FILE^DICN
SET VALM=+Y
+42 IF VALM>0
Begin DoDot:1
+43 SET ^SD(409.61,VALM,0)="GMPL SELECTION GROUP BUILD^1^^^5^14^1^1^Problem^GMPL MENU BUILD GROUP^EDIT PROBLEM CATEGORY^1^^1"
+44 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+45 SET ^SD(409.61,VALM,"ARRAY")=" GMPLST"
+46 SET ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
+47 SET ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
+48 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLBLDC"
+49 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLBLDC"
+50 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLBLDC"
+51 SET ^SD(409.61,VALM,"INIT")="D INIT^GMPLBLDC"
+52 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+53 WRITE "Filed."
End DoDot:1
+54 ;
+55 WRITE !,"'GMPL SELECTION LIST BUILD' List Template..."
+56 SET DA=$ORDER(^SD(409.61,"B","GMPL SELECTION LIST BUILD",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+57 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL SELECTION LIST BUILD"
DO FILE^DICN
SET VALM=+Y
+58 IF VALM>0
Begin DoDot:1
+59 SET ^SD(409.61,VALM,0)="GMPL SELECTION LIST BUILD^1^^80^5^14^1^1^Problem Group^GMPL MENU BUILD LIST^BUILD PROBLEM SELECTION LIST^1^^1"
+60 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+61 SET ^SD(409.61,VALM,"ARRAY")=" GMPLST"
+62 SET ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
+63 SET ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
+64 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLBLD"
+65 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLBLD"
+66 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLBLD"
+67 SET ^SD(409.61,VALM,"INIT")="D INIT^GMPLBLD"
+68 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+69 WRITE "Filed."
End DoDot:1
+70 ;
+71 WRITE !,"'GMPL USER PREFS' List Template..."
+72 SET DA=$ORDER(^SD(409.61,"B","GMPL USER PREFS",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+73 GOTO ^GMPLIL2