VistA-WorldVistAEHR/r/TEXT_INTEGRATION_UTILITIES-.../TIUIL.m

102 lines
4.9 KiB
Mathematica

TIUIL ; List Template Exporter ; 20-JUN-1997
;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
D BMES^XPDUTL("'TIU BROWSE FOR CLINICIAN' List Template...")
S DA=$O(^SD(409.61,"B","TIU BROWSE FOR CLINICIAN",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR CLINICIAN" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU BROWSE FOR CLINICIAN^1^^^5^17^1^1^Document^TIU BROWSE MENU CLINICIAN^Browse 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")="D CLEAN^TIUBR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.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 BROWSE FOR MGR' List Template...")
S DA=$O(^SD(409.61,"B","TIU BROWSE FOR MGR",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR MGR" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU BROWSE FOR MGR^1^^^5^18^1^1^Document^TIU BROWSE MENU MGR^Browse 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")="D CLEAN^TIUBR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.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 BROWSE FOR MRT' List Template...")
S DA=$O(^SD(409.61,"B","TIU BROWSE FOR MRT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR MRT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU BROWSE FOR MRT^1^^^5^18^1^1^^TIU BROWSE MENU MRT^Browse 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")="D CLEAN^TIUBR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.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 BROWSE FOR READ ONLY' List Template...")
S DA=$O(^SD(409.61,"B","TIU BROWSE FOR READ ONLY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU BROWSE FOR READ ONLY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU BROWSE FOR READ ONLY^1^^^5^18^1^1^Document^TIU BROWSE MENU READ ONLY^Browse 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")="D CLEAN^TIUBR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.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 CHANGE TITLE' List Template...")
S DA=$O(^SD(409.61,"B","TIU CHANGE TITLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU CHANGE TITLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU CHANGE TITLE^1^^^5^18^1^1^Document^TIU ACTION MENU CHANGE TITLE^Change Document Title"
.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 COMPLETE NOTES' List Template...")
S DA=$O(^SD(409.61,"B","TIU COMPLETE NOTES",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU COMPLETE NOTES" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU COMPLETE NOTES^1^^^5^20^1^1^Progress Note^TIU COMPLETE NOTES MENU^Complete Notes"
.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")="D CLEAN^TIUBR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUBR"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.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 COPY DOCUMENT' List Template...")
S DA=$O(^SD(409.61,"B","TIU COPY DOCUMENT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU COPY DOCUMENT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU COPY DOCUMENT^1^^^5^18^1^1^Document^TIU ACTION MENU COPY^Copy 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 ^TIUIL1