TIUIL1 ; List Template Exporter ; 20-JUN-1997
;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
D BMES^XPDUTL("'TIU DISPLAY AUDIT TRAIL' List Template...")
S DA=$O(^SD(409.61,"B","TIU DISPLAY AUDIT TRAIL",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU DISPLAY AUDIT TRAIL" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU DISPLAY AUDIT TRAIL^1^^^5^18^1^1^Document^TIU BROWSE MENU READ ONLY^Detailed Display"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUAUDIT"",$J)"
.S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUAUDIT"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIUAUDIT"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU DISPLAY FILING EVENT' List Template...")
S DA=$O(^SD(409.61,"B","TIU DISPLAY FILING EVENT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU DISPLAY FILING EVENT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU DISPLAY FILING EVENT^1^^110^4^18^1^1^Event^TIU ERROR RESOLUTION MENU^Detailed Display"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUEVENT"",$J)"
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUPEDSP"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUPEDSP"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIUPEDSP"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU EDIT ADDENDUM' List Template...")
S DA=$O(^SD(409.61,"B","TIU EDIT ADDENDUM",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU EDIT ADDENDUM" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU EDIT ADDENDUM^1^^^5^18^1^1^Document^TIU ACTION MENU EDIT ADDENDUM^Edit Addendum"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
.S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
.S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU LINK TO PROBLEM' List Template...")
S DA=$O(^SD(409.61,"B","TIU LINK TO PROBLEM",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU LINK TO PROBLEM" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU LINK TO PROBLEM^1^^^4^18^1^1^Problem^TIU ACTION MENU LINK TO PROBLEM^Active Problems^1"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIURP"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^5"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
.S ^SD(409.61,VALM,"COL",2,0)="DATE^57^8^"
.S ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^"
.S ^SD(409.61,VALM,"COL",5,0)="STATUS^4^2"
.S ^SD(409.61,VALM,"COL",6,0)="ICD9^47^8"
.S ^SD(409.61,VALM,"FNL")="D EXIT^TIURP"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURP"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIURP"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU OE/RR REVIEW PN' List Template...")
S DA=$O(^SD(409.61,"B","TIU OE/RR REVIEW PN",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU OE/RR REVIEW PN" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU OE/RR REVIEW PN^1^^80^5^19^1^1^Progress Note^TIU ACTION MENU OE/RR^Progress Notes^4^^1"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS OE/RR"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="TITLE^8^30^Title"
.S ^SD(409.61,VALM,"COL",2,0)="NUMBER^1^4"
.S ^SD(409.61,VALM,"COL",3,0)="AUTHOR^40^17^Author"
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^56^14^Date/Time"
.S ^SD(409.61,VALM,"COL",5,0)="STATUS^75^5"
.S ^SD(409.61,VALM,"FNL")="D EXIT^TIUROR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUROR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D INIT^TIUROR(3,1)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REASSIGN' List Template...")
S DA=$O(^SD(409.61,"B","TIU REASSIGN",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REASSIGN" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REASSIGN^1^^^5^18^1^1^Document^TIU ACTION MENU REASSIGN^Reassign Document"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
.S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
.S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
G ^TIUIL2
TIUIL1 ; List Template Exporter ; 20-JUN-1997
+1 ;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
+2 DO BMES^XPDUTL("'TIU DISPLAY AUDIT TRAIL' List Template...")
+3 SET DA=$ORDER(^SD(409.61,"B","TIU DISPLAY AUDIT TRAIL",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="TIU DISPLAY AUDIT TRAIL"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="TIU DISPLAY AUDIT TRAIL^1^^^5^18^1^1^Document^TIU BROWSE MENU READ ONLY^Detailed Display"
+7 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUAUDIT"",$J)"
+9 SET ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
+10 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUAUDIT"
+11 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+12 SET ^SD(409.61,VALM,"INIT")="D MAIN^TIUAUDIT"
+13 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+14 DO MES^XPDUTL(" Filed.")
End DoDot:1
+15 ;
+16 DO BMES^XPDUTL("'TIU DISPLAY FILING EVENT' List Template...")
+17 SET DA=$ORDER(^SD(409.61,"B","TIU DISPLAY FILING EVENT",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+18 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU DISPLAY FILING EVENT"
DO FILE^DICN
SET VALM=+Y
+19 IF VALM>0
Begin DoDot:1
+20 SET ^SD(409.61,VALM,0)="TIU DISPLAY FILING EVENT^1^^110^4^18^1^1^Event^TIU ERROR RESOLUTION MENU^Detailed Display"
+21 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
+22 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUEVENT"",$J)"
+23 SET ^SD(409.61,VALM,"FNL")="D CLEAN^TIUPEDSP"
+24 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUPEDSP"
+25 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+26 SET ^SD(409.61,VALM,"INIT")="D MAIN^TIUPEDSP"
+27 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+28 DO MES^XPDUTL(" Filed.")
End DoDot:1
+29 ;
+30 DO BMES^XPDUTL("'TIU EDIT ADDENDUM' List Template...")
+31 SET DA=$ORDER(^SD(409.61,"B","TIU EDIT ADDENDUM",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+32 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU EDIT ADDENDUM"
DO FILE^DICN
SET VALM=+Y
+33 IF VALM>0
Begin DoDot:1
+34 SET ^SD(409.61,VALM,0)="TIU EDIT ADDENDUM^1^^^5^18^1^1^Document^TIU ACTION MENU EDIT ADDENDUM^Edit Addendum"
+35 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
+36 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
+37 SET ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
+38 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
+39 SET ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
+40 SET ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
+41 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+42 DO MES^XPDUTL(" Filed.")
End DoDot:1
+43 ;
+44 DO BMES^XPDUTL("'TIU LINK TO PROBLEM' List Template...")
+45 SET DA=$ORDER(^SD(409.61,"B","TIU LINK TO PROBLEM",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+46 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU LINK TO PROBLEM"
DO FILE^DICN
SET VALM=+Y
+47 IF VALM>0
Begin DoDot:1
+48 SET ^SD(409.61,VALM,0)="TIU LINK TO PROBLEM^1^^^4^18^1^1^Problem^TIU ACTION MENU LINK TO PROBLEM^Active Problems^1"
+49 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
+50 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIURP"",$J)"
+51 SET ^SD(409.61,VALM,"COL",0)="^409.621^6^5"
+52 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
+53 SET ^SD(409.61,VALM,"COL",2,0)="DATE^57^8^"
+54 SET ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^"
+55 SET ^SD(409.61,VALM,"COL",5,0)="STATUS^4^2"
+56 SET ^SD(409.61,VALM,"COL",6,0)="ICD9^47^8"
+57 SET ^SD(409.61,VALM,"FNL")="D EXIT^TIURP"
+58 SET ^SD(409.61,VALM,"HDR")="D HDR^TIURP"
+59 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+60 SET ^SD(409.61,VALM,"INIT")="D MAIN^TIURP"
+61 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+62 DO MES^XPDUTL(" Filed.")
End DoDot:1
+63 ;
+64 DO BMES^XPDUTL("'TIU OE/RR REVIEW PN' List Template...")
+65 SET DA=$ORDER(^SD(409.61,"B","TIU OE/RR REVIEW PN",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+66 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU OE/RR REVIEW PN"
DO FILE^DICN
SET VALM=+Y
+67 IF VALM>0
Begin DoDot:1
+68 SET ^SD(409.61,VALM,0)="TIU OE/RR REVIEW PN^1^^80^5^19^1^1^Progress Note^TIU ACTION MENU OE/RR^Progress Notes^4^^1"
+69 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS OE/RR"
+70 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
+71 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+72 SET ^SD(409.61,VALM,"COL",1,0)="TITLE^8^30^Title"
+73 SET ^SD(409.61,VALM,"COL",2,0)="NUMBER^1^4"
+74 SET ^SD(409.61,VALM,"COL",3,0)="AUTHOR^40^17^Author"
+75 SET ^SD(409.61,VALM,"COL",4,0)="REF DATE^56^14^Date/Time"
+76 SET ^SD(409.61,VALM,"COL",5,0)="STATUS^75^5"
+77 SET ^SD(409.61,VALM,"FNL")="D EXIT^TIUROR"
+78 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUROR"
+79 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+80 SET ^SD(409.61,VALM,"INIT")="D INIT^TIUROR(3,1)"
+81 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+82 DO MES^XPDUTL(" Filed.")
End DoDot:1
+83 ;
+84 DO BMES^XPDUTL("'TIU REASSIGN' List Template...")
+85 SET DA=$ORDER(^SD(409.61,"B","TIU REASSIGN",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+86 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU REASSIGN"
DO FILE^DICN
SET VALM=+Y
+87 IF VALM>0
Begin DoDot:1
+88 SET ^SD(409.61,VALM,0)="TIU REASSIGN^1^^^5^18^1^1^Document^TIU ACTION MENU REASSIGN^Reassign Document"
+89 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
+90 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
+91 SET ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
+92 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
+93 SET ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
+94 SET ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
+95 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+96 DO MES^XPDUTL(" Filed.")
End DoDot:1
+97 ;
+98 GOTO ^TIUIL2