TIUIL3 ; List Template Exporter ; 20-JUN-1997
;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
D BMES^XPDUTL("'TIU REVIEW DS MRT' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW DS MRT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW DS MRT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW DS MRT^1^^145^4^18^1^1^Discharge Summary^TIU ACTION MENU MRT REVIEW^Discharge Summaries"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^12^11"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^5"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^99^10^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="DISCH DATE^72^8^Disch'd"
.S ^SD(409.61,VALM,"COL",5,0)="DICT DATE^82^8^Dictated"
.S ^SD(409.61,VALM,"COL",6,0)="LINE COUNT^92^5^Lines"
.S ^SD(409.61,VALM,"COL",8,0)="ADMISSION DATE^62^8^Admitted"
.S ^SD(409.61,VALM,"COL",9,0)="LAST I/LAST 4^20^8^^^1"
.S ^SD(409.61,VALM,"COL",10,0)="AUTHOR^111^15^Author"
.S ^SD(409.61,VALM,"COL",11,0)="ATTENDING^128^15^Attending"
.S ^SD(409.61,VALM,"COL",12,0)="DOCUMENT TYPE^29^31^Document"
.S ^SD(409.61,VALM,"COL","AIDENT",1,9)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIURM"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURMH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIURM(244)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW FILING ERRORS' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW FILING ERRORS",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW FILING ERRORS" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW FILING ERRORS^1^^^5^18^1^1^Error^TIU ACTION MENU ERRORS^FILING ERRORS"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUERR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
.S ^SD(409.61,VALM,"COL",2,0)="PROCESS ID^4^12^Process ID"
.S ^SD(409.61,VALM,"COL",3,0)="ERROR DATE/TIME^17^17^Error Date/time"
.S ^SD(409.61,VALM,"COL",4,0)="RESOL DATE/TIME^36^17^Resol Date/time"
.S ^SD(409.61,VALM,"COL",5,0)="USER NAME^55^24^User Name"
.S ^SD(409.61,VALM,"COL",6,0)="DESCRIPTION^4^75"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUELST"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUELST"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW FILING EVENTS' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW FILING EVENTS",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW FILING EVENTS" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW FILING EVENTS^1^^115^4^20^1^1^Event^TIU ACTION MENU UPLOAD EVENTS^Filing Events"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUERR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^8^7"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4^^H"
.S ^SD(409.61,VALM,"COL",3,0)="EVENT DATE/TIME^65^15^Event Date/time"
.S ^SD(409.61,VALM,"COL",4,0)="RESOL DATE/TIME^82^15^Resol Date/time"
.S ^SD(409.61,VALM,"COL",5,0)="USER NAME^99^16^User Name"
.S ^SD(409.61,VALM,"COL",6,0)="DESCRIPTION^6^80"
.S ^SD(409.61,VALM,"COL",7,0)="DOCUMENT TYPE^6^36^Document Type^^1"
.S ^SD(409.61,VALM,"COL",8,0)="EVENT TYPE^44^19^Event Type"
.S ^SD(409.61,VALM,"COL","AIDENT",1,7)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUELST"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUELST"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUELST"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW PN CLINICIAN' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW PN CLINICIAN",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW PN CLINICIAN" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW PN CLINICIAN^1^^135^4^17^1^1^Progress Note^TIU ACTION MENU CLINICIAN^Progress Notes"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^13^9"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^63^19^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^53^8^Ref Date"
.S ^SD(409.61,VALM,"COL",5,0)="SIG DATE^82^8^Completed"
.S ^SD(409.61,VALM,"COL",10,0)="LAST I/LAST 4^20^7^^^0"
.S ^SD(409.61,VALM,"COL",11,0)="AUTHOR^92^15^Author"
.S ^SD(409.61,VALM,"COL",12,0)="COSIGNER^109^15^Cosigner"
.S ^SD(409.61,VALM,"COL",13,0)="DOCUMENT TYPE^28^24^Document^^1"
.S ^SD(409.61,VALM,"COL","AIDENT",0,10)=""
.S ^SD(409.61,VALM,"COL","AIDENT",1,13)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUR(3)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
G ^TIUIL4
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HTIUIL3 5309 printed Dec 13, 2024@02:41:52 Page 2
TIUIL3 ; List Template Exporter ; 20-JUN-1997
+1 ;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
+2 DO BMES^XPDUTL("'TIU REVIEW DS MRT' List Template...")
+3 SET DA=$ORDER(^SD(409.61,"B","TIU REVIEW DS MRT",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 REVIEW DS MRT"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="TIU REVIEW DS MRT^1^^145^4^18^1^1^Discharge Summary^TIU ACTION MENU MRT REVIEW^Discharge Summaries"
+7 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
+9 SET ^SD(409.61,VALM,"COL",0)="^409.621^12^11"
+10 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^5"
+11 SET ^SD(409.61,VALM,"COL",2,0)="STATUS^99^10^Status"
+12 SET ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
+13 SET ^SD(409.61,VALM,"COL",4,0)="DISCH DATE^72^8^Disch'd"
+14 SET ^SD(409.61,VALM,"COL",5,0)="DICT DATE^82^8^Dictated"
+15 SET ^SD(409.61,VALM,"COL",6,0)="LINE COUNT^92^5^Lines"
+16 SET ^SD(409.61,VALM,"COL",8,0)="ADMISSION DATE^62^8^Admitted"
+17 SET ^SD(409.61,VALM,"COL",9,0)="LAST I/LAST 4^20^8^^^1"
+18 SET ^SD(409.61,VALM,"COL",10,0)="AUTHOR^111^15^Author"
+19 SET ^SD(409.61,VALM,"COL",11,0)="ATTENDING^128^15^Attending"
+20 SET ^SD(409.61,VALM,"COL",12,0)="DOCUMENT TYPE^29^31^Document"
+21 SET ^SD(409.61,VALM,"COL","AIDENT",1,9)=""
+22 SET ^SD(409.61,VALM,"FNL")="D CLEAN^TIURM"
+23 SET ^SD(409.61,VALM,"HDR")="D HDR^TIURMH"
+24 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+25 SET ^SD(409.61,VALM,"INIT")="D MAKELIST^TIURM(244)"
+26 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+27 DO MES^XPDUTL(" Filed.")
End DoDot:1
+28 ;
+29 DO BMES^XPDUTL("'TIU REVIEW FILING ERRORS' List Template...")
+30 SET DA=$ORDER(^SD(409.61,"B","TIU REVIEW FILING ERRORS",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+31 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU REVIEW FILING ERRORS"
DO FILE^DICN
SET VALM=+Y
+32 IF VALM>0
Begin DoDot:1
+33 SET ^SD(409.61,VALM,0)="TIU REVIEW FILING ERRORS^1^^^5^18^1^1^Error^TIU ACTION MENU ERRORS^FILING ERRORS"
+34 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
+35 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUERR"",$J)"
+36 SET ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
+37 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
+38 SET ^SD(409.61,VALM,"COL",2,0)="PROCESS ID^4^12^Process ID"
+39 SET ^SD(409.61,VALM,"COL",3,0)="ERROR DATE/TIME^17^17^Error Date/time"
+40 SET ^SD(409.61,VALM,"COL",4,0)="RESOL DATE/TIME^36^17^Resol Date/time"
+41 SET ^SD(409.61,VALM,"COL",5,0)="USER NAME^55^24^User Name"
+42 SET ^SD(409.61,VALM,"COL",6,0)="DESCRIPTION^4^75"
+43 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUELST"
+44 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+45 SET ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUELST"
+46 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+47 DO MES^XPDUTL(" Filed.")
End DoDot:1
+48 ;
+49 DO BMES^XPDUTL("'TIU REVIEW FILING EVENTS' List Template...")
+50 SET DA=$ORDER(^SD(409.61,"B","TIU REVIEW FILING EVENTS",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+51 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU REVIEW FILING EVENTS"
DO FILE^DICN
SET VALM=+Y
+52 IF VALM>0
Begin DoDot:1
+53 SET ^SD(409.61,VALM,0)="TIU REVIEW FILING EVENTS^1^^115^4^20^1^1^Event^TIU ACTION MENU UPLOAD EVENTS^Filing Events"
+54 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
+55 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUERR"",$J)"
+56 SET ^SD(409.61,VALM,"COL",0)="^409.621^8^7"
+57 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4^^H"
+58 SET ^SD(409.61,VALM,"COL",3,0)="EVENT DATE/TIME^65^15^Event Date/time"
+59 SET ^SD(409.61,VALM,"COL",4,0)="RESOL DATE/TIME^82^15^Resol Date/time"
+60 SET ^SD(409.61,VALM,"COL",5,0)="USER NAME^99^16^User Name"
+61 SET ^SD(409.61,VALM,"COL",6,0)="DESCRIPTION^6^80"
+62 SET ^SD(409.61,VALM,"COL",7,0)="DOCUMENT TYPE^6^36^Document Type^^1"
+63 SET ^SD(409.61,VALM,"COL",8,0)="EVENT TYPE^44^19^Event Type"
+64 SET ^SD(409.61,VALM,"COL","AIDENT",1,7)=""
+65 SET ^SD(409.61,VALM,"FNL")="D CLEAN^TIUELST"
+66 SET ^SD(409.61,VALM,"HDR")="D HDR^TIUELST"
+67 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+68 SET ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUELST"
+69 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+70 DO MES^XPDUTL(" Filed.")
End DoDot:1
+71 ;
+72 DO BMES^XPDUTL("'TIU REVIEW PN CLINICIAN' List Template...")
+73 SET DA=$ORDER(^SD(409.61,"B","TIU REVIEW PN CLINICIAN",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+74 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="TIU REVIEW PN CLINICIAN"
DO FILE^DICN
SET VALM=+Y
+75 IF VALM>0
Begin DoDot:1
+76 SET ^SD(409.61,VALM,0)="TIU REVIEW PN CLINICIAN^1^^135^4^17^1^1^Progress Note^TIU ACTION MENU CLINICIAN^Progress Notes"
+77 SET ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
+78 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
+79 SET ^SD(409.61,VALM,"COL",0)="^409.621^13^9"
+80 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4"
+81 SET ^SD(409.61,VALM,"COL",2,0)="STATUS^63^19^Status"
+82 SET ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
+83 SET ^SD(409.61,VALM,"COL",4,0)="REF DATE^53^8^Ref Date"
+84 SET ^SD(409.61,VALM,"COL",5,0)="SIG DATE^82^8^Completed"
+85 SET ^SD(409.61,VALM,"COL",10,0)="LAST I/LAST 4^20^7^^^0"
+86 SET ^SD(409.61,VALM,"COL",11,0)="AUTHOR^92^15^Author"
+87 SET ^SD(409.61,VALM,"COL",12,0)="COSIGNER^109^15^Cosigner"
+88 SET ^SD(409.61,VALM,"COL",13,0)="DOCUMENT TYPE^28^24^Document^^1"
+89 SET ^SD(409.61,VALM,"COL","AIDENT",0,10)=""
+90 SET ^SD(409.61,VALM,"COL","AIDENT",1,13)=""
+91 SET ^SD(409.61,VALM,"FNL")="D CLEAN^TIUR"
+92 SET ^SD(409.61,VALM,"HDR")="D HDR^TIURH"
+93 SET ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
+94 SET ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUR(3)"
+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 ^TIUIL4