DGVLT ; List Template Exporter ; 13-AUG-1993
;;5.3;Registration;**1015**;Aug 13, 1993;Build 21
;; ;
W !,"'DGJ COMP EDIT SINGLE' List Template..."
S DA=$O(^SD(409.61,"B","DGJ COMP EDIT SINGLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ COMP EDIT SINGLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ COMP EDIT SINGLE^1^^80^5^17^1^1^Deficiencie^DGJ COMPLETE EDIT MENU^Edit a Completed IRT^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
.S ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
.S ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
.S ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
.S ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
.S ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
.S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
.S ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
.S ^SD(409.61,VALM,"INIT")="D EN^DGJTEE"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'DGJ COMP EDIT SUPER' List Template..."
S DA=$O(^SD(409.61,"B","DGJ COMP EDIT SUPER",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ COMP EDIT SUPER" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ COMP EDIT SUPER^1^^80^5^17^1^1^Deficiencie^DGJ COMPLETE EDIT MENU^Edit a Completed IRT^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
.S ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
.S ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
.S ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
.S ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
.S ^SD(409.61,VALM,"FNL")="K DGJTCOM"
.S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
.S ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
.S ^SD(409.61,VALM,"INIT")="D EVDT^DGJTEE"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'DGJ DEF EDIT' List Template..."
S DA=$O(^SD(409.61,"B","DGJ DEF EDIT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ DEF EDIT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ DEF EDIT^1^^^5^17^1^1^Deficiencie^DGJ IRT SUMMARIES^Edit IRT Deficiency^3"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJRPT"",$J)"
.S ^SD(409.61,VALM,"FNL")="K DGJTDEF"
.S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
.S ^SD(409.61,VALM,"HLP")="D HLP1^DGJTHLP"
.S ^SD(409.61,VALM,"INIT")="S DGJTDEF=1 D ^DGJTVW3"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'DGJ DEFICIENCY LIST' List Template..."
S DA=$O(^SD(409.61,"B","DGJ DEFICIENCY LIST",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ DEFICIENCY LIST" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ DEFICIENCY LIST^1^^^5^17^1^1^Deficiencie^DGJ ENTER/EDIT DEFICIENCY MENU^Record Deficiency list^2"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
.S ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
.S ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
.S ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
.S ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
.S ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
.S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
.S ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
.S ^SD(409.61,VALM,"INIT")="D EN^DGJTEE"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'DGJ DELETE DEFICIENCY' List Template..."
S DA=$O(^SD(409.61,"B","DGJ DELETE DEFICIENCY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ DELETE DEFICIENCY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ DELETE DEFICIENCY^2^^^5^17^1^1^Deficiencie^^Deficiency to Delete^2"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJRPT"",$J)"
.S ^SD(409.61,VALM,"FNL")="D QUIT1^DGJTVW1"
.S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
.S ^SD(409.61,VALM,"INIT")="D ^DGJTVW3"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'DGJ DELETE RECORD' List Template..."
S DA=$O(^SD(409.61,"B","DGJ DELETE RECORD",0)),DIK="^SD(409.61," D ^DIK:DA
G ^DGVLT1
DGVLT ; List Template Exporter ; 13-AUG-1993
+1 ;;5.3;Registration;**1015**;Aug 13, 1993;Build 21
+2 ;; ;
+3 WRITE !,"'DGJ COMP EDIT SINGLE' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","DGJ COMP EDIT SINGLE",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="DGJ COMP EDIT SINGLE"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="DGJ COMP EDIT SINGLE^1^^80^5^17^1^1^Deficiencie^DGJ COMPLETE EDIT MENU^Edit a Completed IRT^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+11 SET ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
+12 SET ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
+13 SET ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
+14 SET ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
+15 SET ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
+16 SET ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
+17 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+18 SET ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
+19 SET ^SD(409.61,VALM,"INIT")="D EN^DGJTEE"
+20 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+21 WRITE "Filed."
End DoDot:1
+22 ;
+23 WRITE !,"'DGJ COMP EDIT SUPER' List Template..."
+24 SET DA=$ORDER(^SD(409.61,"B","DGJ COMP EDIT SUPER",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+25 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="DGJ COMP EDIT SUPER"
DO FILE^DICN
SET VALM=+Y
+26 IF VALM>0
Begin DoDot:1
+27 SET ^SD(409.61,VALM,0)="DGJ COMP EDIT SUPER^1^^80^5^17^1^1^Deficiencie^DGJ COMPLETE EDIT MENU^Edit a Completed IRT^1"
+28 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+29 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
+30 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+31 SET ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
+32 SET ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
+33 SET ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
+34 SET ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
+35 SET ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
+36 SET ^SD(409.61,VALM,"FNL")="K DGJTCOM"
+37 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+38 SET ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
+39 SET ^SD(409.61,VALM,"INIT")="D EVDT^DGJTEE"
+40 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+41 WRITE "Filed."
End DoDot:1
+42 ;
+43 WRITE !,"'DGJ DEF EDIT' List Template..."
+44 SET DA=$ORDER(^SD(409.61,"B","DGJ DEF EDIT",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+45 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="DGJ DEF EDIT"
DO FILE^DICN
SET VALM=+Y
+46 IF VALM>0
Begin DoDot:1
+47 SET ^SD(409.61,VALM,0)="DGJ DEF EDIT^1^^^5^17^1^1^Deficiencie^DGJ IRT SUMMARIES^Edit IRT Deficiency^3"
+48 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+49 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJRPT"",$J)"
+50 SET ^SD(409.61,VALM,"FNL")="K DGJTDEF"
+51 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+52 SET ^SD(409.61,VALM,"HLP")="D HLP1^DGJTHLP"
+53 SET ^SD(409.61,VALM,"INIT")="S DGJTDEF=1 D ^DGJTVW3"
+54 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+55 WRITE "Filed."
End DoDot:1
+56 ;
+57 WRITE !,"'DGJ DEFICIENCY LIST' List Template..."
+58 SET DA=$ORDER(^SD(409.61,"B","DGJ DEFICIENCY LIST",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+59 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="DGJ DEFICIENCY LIST"
DO FILE^DICN
SET VALM=+Y
+60 IF VALM>0
Begin DoDot:1
+61 SET ^SD(409.61,VALM,0)="DGJ DEFICIENCY LIST^1^^^5^17^1^1^Deficiencie^DGJ ENTER/EDIT DEFICIENCY MENU^Record Deficiency list^2"
+62 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+63 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
+64 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+65 SET ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency"
+66 SET ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
+67 SET ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
+68 SET ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
+69 SET ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
+70 SET ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
+71 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+72 SET ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
+73 SET ^SD(409.61,VALM,"INIT")="D EN^DGJTEE"
+74 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+75 WRITE "Filed."
End DoDot:1
+76 ;
+77 WRITE !,"'DGJ DELETE DEFICIENCY' List Template..."
+78 SET DA=$ORDER(^SD(409.61,"B","DGJ DELETE DEFICIENCY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+79 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="DGJ DELETE DEFICIENCY"
DO FILE^DICN
SET VALM=+Y
+80 IF VALM>0
Begin DoDot:1
+81 SET ^SD(409.61,VALM,0)="DGJ DELETE DEFICIENCY^2^^^5^17^1^1^Deficiencie^^Deficiency to Delete^2"
+82 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+83 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJRPT"",$J)"
+84 SET ^SD(409.61,VALM,"FNL")="D QUIT1^DGJTVW1"
+85 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+86 SET ^SD(409.61,VALM,"INIT")="D ^DGJTVW3"
+87 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+88 WRITE "Filed."
End DoDot:1
+89 ;
+90 WRITE !,"'DGJ DELETE RECORD' List Template..."
+91 SET DA=$ORDER(^SD(409.61,"B","DGJ DELETE RECORD",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+92 GOTO ^DGVLT1