VistA-WorldVistAEHR/r/PATIENT_DATA_EXCHANGE-VAQ/VAQPSL2.m

79 lines
3.7 KiB
Mathematica

VAQPSL2 ;ALB/List Manager - INITIALIZE ENTRIES IN LIST TEMPLATE FILE; 25-OCT-1993
;;1.5;PATIENT DATA EXCHANGE;;NOV 17, 1993
W !,"'VAQ LED DIFFERENCES PDX6' List Template..."
S DA=$O(^SD(409.61,"B","VAQ LED DIFFERENCES PDX6",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ LED DIFFERENCES PDX6" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ LED DIFFERENCES PDX6^1^^^6^16^1^1^Entry^VAQ PDX6 (MENU)^PDX V1.5 LOAD/EDIT DATA^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQL2"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^2"
.S ^SD(409.61,VALM,"COL",5,0)="PTVALUE^5^35^ - Patient File -"
.S ^SD(409.61,VALM,"COL",6,0)="PDXVALUE^44^35^ - PDX File -"
.S ^SD(409.61,VALM,"EXP")=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQLED02"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQLED02"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQLED02"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ LED STATUS PDX5' List Template..."
S DA=$O(^SD(409.61,"B","VAQ LED STATUS PDX5",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ LED STATUS PDX5" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ LED STATUS PDX5^1^^^6^16^1^1^Entry^VAQ PDX5 (MENU)^PDX V1.5 LOAD/EDIT STATUS^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQL1"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^4^4"
.S ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^7^Entry"
.S ^SD(409.61,VALM,"COL",2,0)="DOMAIN^11^30^Domain"
.S ^SD(409.61,VALM,"COL",3,0)="DATE^42^25^Date/Time"
.S ^SD(409.61,VALM,"COL",4,0)="TRNO^68^11^Transaction No"
.S ^SD(409.61,VALM,"EXP")="D EXPAND^VAQLED01"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQLED01"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQLED01"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQLED01"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ MATCHES PDX8' List Template..."
S DA=$O(^SD(409.61,"B","VAQ MATCHES PDX8",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ MATCHES PDX8" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ MATCHES PDX8^1^^^6^16^1^1^Entry^VAQ PDX8 (MENU)^PDX V1.5 - POSSIBLE MATCHES^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQL3"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
.S ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^7^Entry"
.S ^SD(409.61,VALM,"COL",2,0)="LOCAL PATIENT NAME^9^30^Local Patient Name"
.S ^SD(409.61,VALM,"COL",3,0)="DOB^41^11^DOB"
.S ^SD(409.61,VALM,"COL",4,0)="SSN^54^11^SSN"
.S ^SD(409.61,VALM,"COL",5,0)="PID^67^11^PID"
.S ^SD(409.61,VALM,"EXP")="D EXP^VAQLED03"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQLED03"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQLED03"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQLED03"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ PROCESS PDX3' List Template..."
S DA=$O(^SD(409.61,"B","VAQ PROCESS PDX3",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ PROCESS PDX3" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ PROCESS PDX3^1^^^4^20^1^1^Entry^VAQ PDX3 (MENU)^PDX V1.5 - MANUAL PROCESS^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR3"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^^0"
.S ^SD(409.61,VALM,"EXP")="D EXP^VAQEXT01"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQEXT01"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQEXT01"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQEXT01"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
G ^VAQPSL3