100 lines
4.8 KiB
Mathematica
100 lines
4.8 KiB
Mathematica
TIUIL1 ; List Template Exporter ; 20-JUN-1997
|
|
;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
|
|
D BMES^XPDUTL("'TIU DISPLAY AUDIT TRAIL' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU DISPLAY AUDIT TRAIL",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU DISPLAY AUDIT TRAIL" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="TIU DISPLAY AUDIT TRAIL^1^^^5^18^1^1^Document^TIU BROWSE MENU READ ONLY^Detailed Display"
|
|
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS BROWSE"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUAUDIT"",$J)"
|
|
.S ^SD(409.61,VALM,"FNL")="S VALMBCK=""Q"""
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUAUDIT"
|
|
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
|
|
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIUAUDIT"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.D MES^XPDUTL(" Filed.")
|
|
;
|
|
D BMES^XPDUTL("'TIU DISPLAY FILING EVENT' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU DISPLAY FILING EVENT",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU DISPLAY FILING EVENT" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="TIU DISPLAY FILING EVENT^1^^110^4^18^1^1^Event^TIU ERROR RESOLUTION MENU^Detailed Display"
|
|
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUEVENT"",$J)"
|
|
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUPEDSP"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUPEDSP"
|
|
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
|
|
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIUPEDSP"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.D MES^XPDUTL(" Filed.")
|
|
;
|
|
D BMES^XPDUTL("'TIU EDIT ADDENDUM' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU EDIT ADDENDUM",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU EDIT ADDENDUM" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="TIU EDIT ADDENDUM^1^^^5^18^1^1^Document^TIU ACTION MENU EDIT ADDENDUM^Edit Addendum"
|
|
.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 LINK TO PROBLEM' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU LINK TO PROBLEM",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU LINK TO PROBLEM" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.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"
|
|
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIURP"",$J)"
|
|
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^5"
|
|
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3"
|
|
.S ^SD(409.61,VALM,"COL",2,0)="DATE^57^8^"
|
|
.S ^SD(409.61,VALM,"COL",3,0)="PROBLEM^6^40^"
|
|
.S ^SD(409.61,VALM,"COL",5,0)="STATUS^4^2"
|
|
.S ^SD(409.61,VALM,"COL",6,0)="ICD9^47^8"
|
|
.S ^SD(409.61,VALM,"FNL")="D EXIT^TIURP"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURP"
|
|
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
|
|
.S ^SD(409.61,VALM,"INIT")="D MAIN^TIURP"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.D MES^XPDUTL(" Filed.")
|
|
;
|
|
D BMES^XPDUTL("'TIU OE/RR REVIEW PN' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU OE/RR REVIEW PN",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU OE/RR REVIEW PN" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.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"
|
|
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS OE/RR"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
|
|
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
|
|
.S ^SD(409.61,VALM,"COL",1,0)="TITLE^8^30^Title"
|
|
.S ^SD(409.61,VALM,"COL",2,0)="NUMBER^1^4"
|
|
.S ^SD(409.61,VALM,"COL",3,0)="AUTHOR^40^17^Author"
|
|
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^56^14^Date/Time"
|
|
.S ^SD(409.61,VALM,"COL",5,0)="STATUS^75^5"
|
|
.S ^SD(409.61,VALM,"FNL")="D EXIT^TIUROR"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^TIUROR"
|
|
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^TIUROR(3,1)"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.D MES^XPDUTL(" Filed.")
|
|
;
|
|
D BMES^XPDUTL("'TIU REASSIGN' List Template...")
|
|
S DA=$O(^SD(409.61,"B","TIU REASSIGN",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REASSIGN" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="TIU REASSIGN^1^^^5^18^1^1^Document^TIU ACTION MENU REASSIGN^Reassign 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 ^TIUIL2
|