source: WorldVistAEHR/trunk/r/TEXT_INTEGRATION_UTILITIES-GMRP-TIU/TIUIL3.m@ 1704

Last change on this file since 1704 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

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