source: WorldVistAEHR/trunk/r/TEXT_INTEGRATION_UTILITIES-GMRP-TIU/TIUIL.m@ 1556

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

initial load of WorldVistAEHR

File size: 4.9 KB
RevLine 
[613]1TIUIL ; List Template Exporter ; 20-JUN-1997
2 ;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
3 D BMES^XPDUTL("'TIU BROWSE FOR CLINICIAN' List Template...")
4 S DA=$O(^SD(409.61,"B","TIU BROWSE FOR CLINICIAN",0)),DIK="^SD(409.61," D ^DIK:DA
5 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR CLINICIAN" D FILE^DICN S VALM=+Y
6 I VALM>0 D
7 .S ^SD(409.61,VALM,0)="TIU BROWSE FOR CLINICIAN^1^^^5^17^1^1^Document^TIU BROWSE MENU CLINICIAN^Browse Document"
8 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
9 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
10 .S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUBR"
11 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
12 .S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
13 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
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 BROWSE FOR MGR' List Template...")
18 S DA=$O(^SD(409.61,"B","TIU BROWSE FOR MGR",0)),DIK="^SD(409.61," D ^DIK:DA
19 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR MGR" D FILE^DICN S VALM=+Y
20 I VALM>0 D
21 .S ^SD(409.61,VALM,0)="TIU BROWSE FOR MGR^1^^^5^18^1^1^Document^TIU BROWSE MENU MGR^Browse Document"
22 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
23 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
24 .S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUBR"
25 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
26 .S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
27 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
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 BROWSE FOR MRT' List Template...")
32 S DA=$O(^SD(409.61,"B","TIU BROWSE FOR MRT",0)),DIK="^SD(409.61," D ^DIK:DA
33 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR MRT" D FILE^DICN S VALM=+Y
34 I VALM>0 D
35 .S ^SD(409.61,VALM,0)="TIU BROWSE FOR MRT^1^^^5^18^1^1^^TIU BROWSE MENU MRT^Browse Document"
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")="D CLEAN^TIUBR"
39 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
40 .S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
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 BROWSE FOR READ ONLY' List Template...")
46 S DA=$O(^SD(409.61,"B","TIU BROWSE FOR READ ONLY",0)),DIK="^SD(409.61," D ^DIK:DA
47 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR READ ONLY" D FILE^DICN S VALM=+Y
48 I VALM>0 D
49 .S ^SD(409.61,VALM,0)="TIU BROWSE FOR READ ONLY^1^^^5^18^1^1^Document^TIU BROWSE MENU READ ONLY^Browse Document"
50 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
51 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
52 .S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUBR"
53 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
54 .S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
55 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
56 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
57 .D MES^XPDUTL(" Filed.")
58 ;
59 D BMES^XPDUTL("'TIU CHANGE TITLE' List Template...")
60 S DA=$O(^SD(409.61,"B","TIU CHANGE TITLE",0)),DIK="^SD(409.61," D ^DIK:DA
61 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU CHANGE TITLE" D FILE^DICN S VALM=+Y
62 I VALM>0 D
63 .S ^SD(409.61,VALM,0)="TIU CHANGE TITLE^1^^^5^18^1^1^Document^TIU ACTION MENU CHANGE TITLE^Change Document Title"
64 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
65 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
66 .S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
67 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
68 .S ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
69 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
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 COMPLETE NOTES' List Template...")
74 S DA=$O(^SD(409.61,"B","TIU COMPLETE NOTES",0)),DIK="^SD(409.61," D ^DIK:DA
75 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU COMPLETE NOTES" D FILE^DICN S VALM=+Y
76 I VALM>0 D
77 .S ^SD(409.61,VALM,0)="TIU COMPLETE NOTES^1^^^5^20^1^1^Progress Note^TIU COMPLETE NOTES MENU^Complete Notes"
78 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
79 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
80 .S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUBR"
81 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
82 .S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
83 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
84 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
85 .D MES^XPDUTL(" Filed.")
86 ;
87 D BMES^XPDUTL("'TIU COPY DOCUMENT' List Template...")
88 S DA=$O(^SD(409.61,"B","TIU COPY DOCUMENT",0)),DIK="^SD(409.61," D ^DIK:DA
89 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU COPY DOCUMENT" D FILE^DICN S VALM=+Y
90 I VALM>0 D
91 .S ^SD(409.61,VALM,0)="TIU COPY DOCUMENT^1^^^5^18^1^1^Document^TIU ACTION MENU COPY^Copy Document"
92 .S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
93 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUVIEW"",$J)"
94 .S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
95 .S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
96 .S ^SD(409.61,VALM,"HLP")="D FULL^VALM1,PROTOCOL^TIUHELP S VALMBCK=""R"""
97 .S ^SD(409.61,VALM,"INIT")="D EN^TIUBR"
98 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
99 .D MES^XPDUTL(" Filed.")
100 ;
101 G ^TIUIL1
Note: See TracBrowser for help on using the repository browser.