source: WorldVistAEHR/trunk/r/TEXT_INTEGRATION_UTILITIES-GMRP-TIU/TIUIL1.m@ 975

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

initial load of WorldVistAEHR

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