GMPLIL ; List Template Exporter ; 21-OCT-1994
;;2.0;Problem List;;Aug 25, 1994
;; ;
W !,"'GMPL CODE LIST' List Template..."
S DA=$O(^SD(409.61,"B","GMPL CODE LIST",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL CODE LIST" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL CODE LIST^1^^^5^14^1^1^Problem^GMPL CODE LIST^PROBLEM LIST^1^^1"
.S ^SD(409.61,VALM,1)="GMPL PRINT LIST^GMPL HIDDEN MENU"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPL"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^7^7"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^4^2"
.S ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
.S ^SD(409.61,VALM,"COL",4,0)="SERV CONNECTED^55^3^SC"
.S ^SD(409.61,VALM,"COL",5,0)="RESOLVED^72^8^Resolved"
.S ^SD(409.61,VALM,"COL",6,0)="ICD^47^7^ICD"
.S ^SD(409.61,VALM,"COL",7,0)="EXPOSURE^59^12^Exposure"
.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^GMPLCODE"
.S ^SD(409.61,VALM,"INIT")="D INIT^GMPLCODE"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL DATA ENTRY' List Template..."
S DA=$O(^SD(409.61,"B","GMPL DATA ENTRY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL DATA ENTRY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL DATA ENTRY^1^^80^5^14^1^1^Problem^GMPL DATA ENTRY^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^7^7"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^4^2^"
.S ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
.S ^SD(409.61,VALM,"COL",4,0)="SERV CONNECTED^55^3^SC"
.S ^SD(409.61,VALM,"COL",5,0)="RESOLVED^72^8^Resolved"
.S ^SD(409.61,VALM,"COL",6,0)="ICD^47^7^ICD"
.S ^SD(409.61,VALM,"COL",7,0)="EXPOSURE^59^12^Exposure"
.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^GMPLMGR2"
.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 DETAILED DISPLAY' List Template..."
S DA=$O(^SD(409.61,"B","GMPL DETAILED DISPLAY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL DETAILED DISPLAY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL DETAILED DISPLAY^1^^^4^15^1^1^Attribute^GMPL DT MENU^PROBLEM LIST^1"
.S ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
.S ^SD(409.61,VALM,"ARRAY")=" GMPDT"
.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^GMPLDISP"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLDISP"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLDISP"
.S ^SD(409.61,VALM,"INIT")="D EN^GMPLDISP"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'GMPL EDIT PROBLEM' List Template..."
S DA=$O(^SD(409.61,"B","GMPL EDIT PROBLEM",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="GMPL EDIT PROBLEM" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="GMPL EDIT PROBLEM^1^^^4^14^1^1^Attribute^GMPL EDIT MENU^PROBLEM LIST^4"
.S ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPLEDIT"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^2^1"
.S ^SD(409.61,VALM,"COL",2,0)="LINE^1^79^"
.S ^SD(409.61,VALM,"FNL")="D EXIT^GMPLEDIT"
.S ^SD(409.61,VALM,"HDR")="D HDR^GMPLEDIT"
.S ^SD(409.61,VALM,"HLP")="D HELP^GMPLEDIT"
.S ^SD(409.61,VALM,"INIT")="D EN^GMPLEDIT"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
G ^GMPLIL1
GMPLIL ; List Template Exporter ; 21-OCT-1994
+1 ;;2.0;Problem List;;Aug 25, 1994
+2 ;; ;
+3 WRITE !,"'GMPL CODE LIST' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","GMPL CODE LIST",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 CODE LIST"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="GMPL CODE LIST^1^^^5^14^1^1^Problem^GMPL CODE LIST^PROBLEM LIST^1^^1"
+8 SET ^SD(409.61,VALM,1)="GMPL PRINT LIST^GMPL HIDDEN MENU"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPL"",$J)"
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^7^7"
+11 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
+12 SET ^SD(409.61,VALM,"COL",2,0)="STATUS^4^2"
+13 SET ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
+14 SET ^SD(409.61,VALM,"COL",4,0)="SERV CONNECTED^55^3^SC"
+15 SET ^SD(409.61,VALM,"COL",5,0)="RESOLVED^72^8^Resolved"
+16 SET ^SD(409.61,VALM,"COL",6,0)="ICD^47^7^ICD"
+17 SET ^SD(409.61,VALM,"COL",7,0)="EXPOSURE^59^12^Exposure"
+18 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMGR2"
+19 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLMGR"
+20 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLCODE"
+21 SET ^SD(409.61,VALM,"INIT")="D INIT^GMPLCODE"
+22 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+23 WRITE "Filed."
End DoDot:1
+24 ;
+25 WRITE !,"'GMPL DATA ENTRY' List Template..."
+26 SET DA=$ORDER(^SD(409.61,"B","GMPL DATA ENTRY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+27 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL DATA ENTRY"
DO FILE^DICN
SET VALM=+Y
+28 IF VALM>0
Begin DoDot:1
+29 SET ^SD(409.61,VALM,0)="GMPL DATA ENTRY^1^^80^5^14^1^1^Problem^GMPL DATA ENTRY^PROBLEM LIST^1"
+30 SET ^SD(409.61,VALM,1)="GMPL PRINT^GMPL HIDDEN MENU"
+31 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPL"",$J)"
+32 SET ^SD(409.61,VALM,"COL",0)="^409.621^7^7"
+33 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
+34 SET ^SD(409.61,VALM,"COL",2,0)="STATUS^4^2^"
+35 SET ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^Problem"
+36 SET ^SD(409.61,VALM,"COL",4,0)="SERV CONNECTED^55^3^SC"
+37 SET ^SD(409.61,VALM,"COL",5,0)="RESOLVED^72^8^Resolved"
+38 SET ^SD(409.61,VALM,"COL",6,0)="ICD^47^7^ICD"
+39 SET ^SD(409.61,VALM,"COL",7,0)="EXPOSURE^59^12^Exposure"
+40 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLMGR2"
+41 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLMGR"
+42 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLMGR2"
+43 SET ^SD(409.61,VALM,"INIT")="D INIT^GMPLMGR"
+44 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+45 WRITE "Filed."
End DoDot:1
+46 ;
+47 WRITE !,"'GMPL DETAILED DISPLAY' List Template..."
+48 SET DA=$ORDER(^SD(409.61,"B","GMPL DETAILED DISPLAY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+49 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL DETAILED DISPLAY"
DO FILE^DICN
SET VALM=+Y
+50 IF VALM>0
Begin DoDot:1
+51 SET ^SD(409.61,VALM,0)="GMPL DETAILED DISPLAY^1^^^4^15^1^1^Attribute^GMPL DT MENU^PROBLEM LIST^1"
+52 SET ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
+53 SET ^SD(409.61,VALM,"ARRAY")=" GMPDT"
+54 SET ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
+55 SET ^SD(409.61,VALM,"COL",1,0)="LINE^1^79"
+56 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLDISP"
+57 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLDISP"
+58 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLDISP"
+59 SET ^SD(409.61,VALM,"INIT")="D EN^GMPLDISP"
+60 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+61 WRITE "Filed."
End DoDot:1
+62 ;
+63 WRITE !,"'GMPL EDIT PROBLEM' List Template..."
+64 SET DA=$ORDER(^SD(409.61,"B","GMPL EDIT PROBLEM",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+65 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="GMPL EDIT PROBLEM"
DO FILE^DICN
SET VALM=+Y
+66 IF VALM>0
Begin DoDot:1
+67 SET ^SD(409.61,VALM,0)="GMPL EDIT PROBLEM^1^^^4^14^1^1^Attribute^GMPL EDIT MENU^PROBLEM LIST^4"
+68 SET ^SD(409.61,VALM,1)="^GMPL HIDDEN MENU"
+69 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""GMPLEDIT"",$J)"
+70 SET ^SD(409.61,VALM,"COL",0)="^409.621^2^1"
+71 SET ^SD(409.61,VALM,"COL",2,0)="LINE^1^79^"
+72 SET ^SD(409.61,VALM,"FNL")="D EXIT^GMPLEDIT"
+73 SET ^SD(409.61,VALM,"HDR")="D HDR^GMPLEDIT"
+74 SET ^SD(409.61,VALM,"HLP")="D HELP^GMPLEDIT"
+75 SET ^SD(409.61,VALM,"INIT")="D EN^GMPLEDIT"
+76 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+77 WRITE "Filed."
End DoDot:1
+78 ;
+79 GOTO ^GMPLIL1