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
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HVAQPSL1 3687 printed Dec 13, 2024@02:26:20 Page 2
VAQPSL1 ;ALB/List Manager - INITIALIZE ENTRIES IN LIST TEMPLATE FILE; 25-OCT-1993
+1 ;;1.5;PATIENT DATA EXCHANGE;;NOV 17, 1993
+2 WRITE !,"'VAQ DISPLAY DATA PDX12' List Template..."
+3 SET DA=$ORDER(^SD(409.61,"B","VAQ DISPLAY DATA PDX12",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+4 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ DISPLAY DATA PDX12"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="VAQ DISPLAY DATA PDX12^2^^^6^19^1^1^Entry^^PDX V1.5 - DATA DISPLAY^1"
+7 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD3"",$J,""DISPLAY"")"
+9 SET ^SD(409.61,VALM,"COL",0)="^409.621^^0"
+10 SET ^SD(409.61,VALM,"EXP")=""
+11 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS16"
+12 SET ^SD(409.61,VALM,"HDR")="D HD^VAQDIS16"
+13 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+14 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS16"
+15 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+16 WRITE "Filed."
End DoDot:1
+17 ;
+18 WRITE !,"'VAQ DISPLAY MINIMUM' List Template..."
+19 SET DA=$ORDER(^SD(409.61,"B","VAQ DISPLAY MINIMUM",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+20 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ DISPLAY MINIMUM"
DO FILE^DICN
SET VALM=+Y
+21 IF VALM>0
Begin DoDot:1
+22 SET ^SD(409.61,VALM,0)="VAQ DISPLAY MINIMUM^2^^^6^16^1^1^PDX MINIMAL^^PDX V1.5 - MINIMAL^1"
+23 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+24 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD1"",$J)"
+25 SET ^SD(409.61,VALM,"COL",0)="^409.621^1^1"
+26 SET ^SD(409.61,VALM,"COL",1,0)="LOCAL^1^25^ Local Patient Data"
+27 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS01"
+28 SET ^SD(409.61,VALM,"HDR")="D HD^VAQDIS01"
+29 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+30 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS01"
+31 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+32 WRITE "Filed."
End DoDot:1
+33 ;
+34 WRITE !,"'VAQ DISPLAY SEGMENT PDX11' List Template..."
+35 SET DA=$ORDER(^SD(409.61,"B","VAQ DISPLAY SEGMENT PDX11",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+36 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ DISPLAY SEGMENT PDX11"
DO FILE^DICN
SET VALM=+Y
+37 IF VALM>0
Begin DoDot:1
+38 SET ^SD(409.61,VALM,0)="VAQ DISPLAY SEGMENT PDX11^1^^^7^18^1^1^Entry^VAQ PDX11 (MENU)^PDX V1.5 - SEGMENTS^1"
+39 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+40 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQD2"",$J)"
+41 SET ^SD(409.61,VALM,"COL",0)="^409.621^4^3"
+42 SET ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^5^Entry"
+43 SET ^SD(409.61,VALM,"COL",3,0)="SEGMENTS^10^10^Mnemonic"
+44 SET ^SD(409.61,VALM,"COL",4,0)="SEGNAME^25^40^Segment Name"
+45 SET ^SD(409.61,VALM,"EXP")=""
+46 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQDIS15"
+47 SET ^SD(409.61,VALM,"HDR")="D HD^VAQDIS15"
+48 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !"
+49 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQDIS15"
+50 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+51 WRITE "Filed."
End DoDot:1
+52 ;
+53 WRITE !,"'VAQ DUPLICATE PDX8' List Template..."
+54 SET DA=$ORDER(^SD(409.61,"B","VAQ DUPLICATE PDX8",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+55 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ DUPLICATE PDX8"
DO FILE^DICN
SET VALM=+Y
+56 IF VALM>0
Begin DoDot:1
+57 SET ^SD(409.61,VALM,0)="VAQ DUPLICATE PDX8^1^^^6^16^1^1^Entry^VAQ PDX8 (MENU)^PDX V1.5 - DUPLICATE^1"
+58 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+59 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQL3"",$J)"
+60 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+61 SET ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^7^Entry"
+62 SET ^SD(409.61,VALM,"COL",2,0)="LOCAL PATIENT NAME^9^30^Local Patient Name"
+63 SET ^SD(409.61,VALM,"COL",3,0)="DOB^41^11^DOB"
+64 SET ^SD(409.61,VALM,"COL",4,0)="SSN^54^11^SSN"
+65 SET ^SD(409.61,VALM,"COL",5,0)="PID^67^11^PID"
+66 SET ^SD(409.61,VALM,"EXP")="D EXP^VAQLED03"
+67 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQLED03"
+68 SET ^SD(409.61,VALM,"HDR")="D HD^VAQLED03"
+69 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+70 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQLED03"
+71 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+72 WRITE "Filed."
End DoDot:1
+73 ;
+74 GOTO ^VAQPSL2