VistA-FOIAVistA/r/TEXT_INTEGRATION_UTILITIES-.../TIUIL2.m

109 lines
5.6 KiB
Mathematica

TIUIL2 ; List Template Exporter ; 20-JUN-1997
;;1.0;TEXT INTEGRATION UTILITIES;;Jun 20, 1997
D BMES^XPDUTL("'TIU REVIEW BY PATIENT & TITLE' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW BY PATIENT & TITLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW BY PATIENT & TITLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW BY PATIENT & TITLE^1^^135^4^18^1^1^Progress Note^TIU ACTION MENU PT/TTL REVIEW^Progress Notes"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^13^9"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^63^19^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^53^8^Ref Date"
.S ^SD(409.61,VALM,"COL",5,0)="SIG DATE^82^8^Completed"
.S ^SD(409.61,VALM,"COL",10,0)="LAST I/LAST 4^20^7^^^0"
.S ^SD(409.61,VALM,"COL",11,0)="AUTHOR^92^15^Author"
.S ^SD(409.61,VALM,"COL",12,0)="COSIGNER^109^15^Cosigner"
.S ^SD(409.61,VALM,"COL",13,0)="DOCUMENT TYPE^28^24^Document^^1"
.S ^SD(409.61,VALM,"COL","AIDENT",0,10)=""
.S ^SD(409.61,VALM,"COL","AIDENT",1,13)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIURPTTL"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIURPTTL(3)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW BY TITLE' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW BY TITLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW BY TITLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW BY TITLE^1^^135^4^18^1^1^Progress Note^TIU ACTION MENU TITLE REVIEW^Progress Notes by Title"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^13^9"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^63^19^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^53^8^Ref Date"
.S ^SD(409.61,VALM,"COL",5,0)="SIG DATE^82^8^Completed"
.S ^SD(409.61,VALM,"COL",10,0)="LAST I/LAST 4^20^7^^^0"
.S ^SD(409.61,VALM,"COL",11,0)="AUTHOR^92^15^Author"
.S ^SD(409.61,VALM,"COL",12,0)="COSIGNER^109^15^Cosigner"
.S ^SD(409.61,VALM,"COL",13,0)="DOCUMENT TYPE^28^24^Document^^1"
.S ^SD(409.61,VALM,"COL","AIDENT",0,10)=""
.S ^SD(409.61,VALM,"COL","AIDENT",1,13)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIURTITL"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURTITH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIURTITL(3)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW DS CLINICIAN' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW DS CLINICIAN",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW DS CLINICIAN" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW DS CLINICIAN^1^^135^4^17^1^1^Discharge Summary^TIU ACTION MENU CLINICIAN^Discharge Summaries"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^13^9"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^4"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^63^19^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="REF DATE^53^8^Ref Date"
.S ^SD(409.61,VALM,"COL",5,0)="SIG DATE^82^8^Completed"
.S ^SD(409.61,VALM,"COL",10,0)="LAST I/LAST 4^20^7^^^0"
.S ^SD(409.61,VALM,"COL",11,0)="AUTHOR^92^15^Author"
.S ^SD(409.61,VALM,"COL",12,0)="COSIGNER^109^15^Cosigner"
.S ^SD(409.61,VALM,"COL",13,0)="DOCUMENT TYPE^28^24^Document^^1"
.S ^SD(409.61,VALM,"COL","AIDENT",0,10)=""
.S ^SD(409.61,VALM,"COL","AIDENT",1,13)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIUR"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIUR(244)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
D BMES^XPDUTL("'TIU REVIEW DS MGR' List Template...")
S DA=$O(^SD(409.61,"B","TIU REVIEW DS MGR",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="TIU REVIEW DS MGR" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="TIU REVIEW DS MGR^1^^145^4^18^1^1^Discharge Summary^TIU ACTION MENU MGR REVIEW^Discharge Summaries"
.S ^SD(409.61,VALM,1)="^TIU HIDDEN ACTIONS ADVANCED"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""TIUR"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^12^11"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^5"
.S ^SD(409.61,VALM,"COL",2,0)="STATUS^99^10^Status"
.S ^SD(409.61,VALM,"COL",3,0)="PATIENT NAME^6^14^Patient"
.S ^SD(409.61,VALM,"COL",4,0)="DISCH DATE^72^8^Disch'd"
.S ^SD(409.61,VALM,"COL",5,0)="DICT DATE^82^8^Dictated"
.S ^SD(409.61,VALM,"COL",6,0)="LINE COUNT^92^5^Lines"
.S ^SD(409.61,VALM,"COL",8,0)="ADMISSION DATE^62^8^Admitted"
.S ^SD(409.61,VALM,"COL",9,0)="LAST I/LAST 4^20^8^^^1"
.S ^SD(409.61,VALM,"COL",10,0)="AUTHOR^111^15^Author"
.S ^SD(409.61,VALM,"COL",11,0)="ATTENDING^128^15^Attending"
.S ^SD(409.61,VALM,"COL",12,0)="DOCUMENT TYPE^29^31^Document"
.S ^SD(409.61,VALM,"COL","AIDENT",1,9)=""
.S ^SD(409.61,VALM,"FNL")="D CLEAN^TIURM"
.S ^SD(409.61,VALM,"HDR")="D HDR^TIURMH"
.S ^SD(409.61,VALM,"HLP")="D PROTOCOL^TIUHELP"
.S ^SD(409.61,VALM,"INIT")="D MAKELIST^TIURM(244)"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.D MES^XPDUTL(" Filed.")
;
G ^TIUIL3