VistA-FOIAVistA/r/PATIENT_DATA_EXCHANGE-VAQ/VAQPSL1.m

76 lines
3.5 KiB
Mathematica

VAQPSL1 ;ALB/List Manager - INITIALIZE ENTRIES IN LIST TEMPLATE FILE; 25-OCT-1993
;;1.5;PATIENT DATA EXCHANGE;;NOV 17, 1993
W !,"'VAQ DISPLAY DATA PDX12' List Template..."
S DA=$O(^SD(409.61,"B","VAQ DISPLAY DATA PDX12",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ DISPLAY DATA PDX12" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ DISPLAY DATA PDX12^2^^^6^19^1^1^Entry^^PDX V1.5 - DATA DISPLAY^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD3"",$J,""DISPLAY"")"
.S ^SD(409.61,VALM,"COL",0)="^409.621^^0"
.S ^SD(409.61,VALM,"EXP")=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS16"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQDIS16"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS16"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ DISPLAY MINIMUM' List Template..."
S DA=$O(^SD(409.61,"B","VAQ DISPLAY MINIMUM",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ DISPLAY MINIMUM" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ DISPLAY MINIMUM^2^^^6^16^1^1^PDX MINIMAL^^PDX V1.5 - MINIMAL^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD1"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
.S ^SD(409.61,VALM,"COL",1,0)="LOCAL^1^25^ Local Patient Data"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS01"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQDIS01"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS01"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ DISPLAY SEGMENT PDX11' List Template..."
S DA=$O(^SD(409.61,"B","VAQ DISPLAY SEGMENT PDX11",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ DISPLAY SEGMENT PDX11" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ DISPLAY SEGMENT PDX11^1^^^7^18^1^1^Entry^VAQ PDX11 (MENU)^PDX V1.5 - SEGMENTS^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD2"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^4^3"
.S ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^5^Entry"
.S ^SD(409.61,VALM,"COL",3,0)="SEGMENTS^10^10^Mnemonic"
.S ^SD(409.61,VALM,"COL",4,0)="SEGNAME^25^40^Segment Name"
.S ^SD(409.61,VALM,"EXP")=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS15"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQDIS15"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS15"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ DUPLICATE PDX8' List Template..."
S DA=$O(^SD(409.61,"B","VAQ DUPLICATE PDX8",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ DUPLICATE PDX8" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ DUPLICATE PDX8^1^^^6^16^1^1^Entry^VAQ PDX8 (MENU)^PDX V1.5 - DUPLICATE^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."
;
G ^VAQPSL2