DGYDL ; List Template Exporter ; 07-JAN-1994
;;5.3;Registration;**9,1015**;Aug 13, 1993;Build 21
W !,"'DGJ IRT VIEW' List Template..."
S DA=$O(^SD(409.61,"B","DGJ IRT VIEW",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ IRT VIEW" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="DGJ IRT VIEW^1^^80^5^17^1^1^Deficiencie^DGJ IRT VIEW MENU^View an IRT Record^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^^0"
.S ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician^^0"
.S ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status^^0"
.S ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category^^0"
.S ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
.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."
;
K DIC,DIK,VALM,X,DA Q
DGYDL ; List Template Exporter ; 07-JAN-1994
+1 ;;5.3;Registration;**9,1015**;Aug 13, 1993;Build 21
+2 WRITE !,"'DGJ IRT VIEW' List Template..."
+3 SET DA=$ORDER(^SD(409.61,"B","DGJ IRT VIEW",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+4 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="DGJ IRT VIEW"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="DGJ IRT VIEW^1^^80^5^17^1^1^Deficiencie^DGJ IRT VIEW MENU^View an IRT Record^1"
+7 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
+9 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+10 SET ^SD(409.61,VALM,"COL",1,0)="DEFICIENCY^5^12^Deficiency^^0"
+11 SET ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician^^0"
+12 SET ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status^^0"
+13 SET ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category^^0"
+14 SET ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date^^0"
+15 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+16 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+17 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+18 SET ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
+19 SET ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
+20 SET ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
+21 SET ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
+22 SET ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
+23 SET ^SD(409.61,VALM,"INIT")="D EN^DGJTEE"
+24 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+25 WRITE "Filed."
End DoDot:1
+26 ;
+27 KILL DIC,DIK,VALM,X,DA
QUIT