VAQPSL3 ;ALB/List Manager - INITIALIZE ENTRIES IN LIST TEMPLATE FILE; 25-OCT-1993
;;1.5;PATIENT DATA EXCHANGE;;NOV 17, 1993
W !,"'VAQ PROCESS PDX4' List Template..."
S DA=$O(^SD(409.61,"B","VAQ PROCESS PDX4",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ PROCESS PDX4" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ PROCESS PDX4^1^^^6^16^1^1^Entry^VAQ PDX4 (MENU)^PDX V1.5 - MANUAL RELEASE^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR4"",$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^VAQEXT02"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQEXT02"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQEXT02"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQEXT02"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ REQUEST PDX2' List Template..."
S DA=$O(^SD(409.61,"B","VAQ REQUEST PDX2",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ REQUEST PDX2" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ REQUEST PDX2^1^^^5^16^1^1^Entry^VAQ PDX2 (MENU)^PDX V1.5 - REQUEST^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR2"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
.S ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^5^Entry"
.S ^SD(409.61,VALM,"COL",2,0)="DOMAIN^9^25^Domain"
.S ^SD(409.61,VALM,"COL",3,0)="SEGMENTS^36^45^Data Segment(s) [Time:Occurrence]"
.S ^SD(409.61,VALM,"EXP")="D EXPAND^VAQREQ02"
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQREQ02"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQREQ02"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQREQ02"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
W !,"'VAQ STATUS PDX1' List Template..."
S DA=$O(^SD(409.61,"B","VAQ STATUS PDX1",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VAQ STATUS PDX1" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VAQ STATUS PDX1^1^^^5^18^1^1^PDX TRANSMISSIONS^VAQ PDX1 (MENU)^PDX V1.5 - STATUS^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR1"",$J)"
.S ^SD(409.61,VALM,"EXP")=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^VAQREQ01"
.S ^SD(409.61,VALM,"HDR")="D HD^VAQREQ01"
.S ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
.S ^SD(409.61,VALM,"INIT")="D INIT^VAQREQ01"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HVAQPSL3 2846 printed Nov 22, 2024@17:36:24 Page 2
VAQPSL3 ;ALB/List Manager - INITIALIZE ENTRIES IN LIST TEMPLATE FILE; 25-OCT-1993
+1 ;;1.5;PATIENT DATA EXCHANGE;;NOV 17, 1993
+2 WRITE !,"'VAQ PROCESS PDX4' List Template..."
+3 SET DA=$ORDER(^SD(409.61,"B","VAQ PROCESS PDX4",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 PROCESS PDX4"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="VAQ PROCESS PDX4^1^^^6^16^1^1^Entry^VAQ PDX4 (MENU)^PDX V1.5 - MANUAL RELEASE^1"
+7 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR4"",$J)"
+9 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
+10 SET ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^7^Entry"
+11 SET ^SD(409.61,VALM,"COL",2,0)="LOCAL PATIENT NAME^9^30^Local Patient Name"
+12 SET ^SD(409.61,VALM,"COL",3,0)="DOB^41^11^DOB"
+13 SET ^SD(409.61,VALM,"COL",4,0)="SSN^54^11^SSN"
+14 SET ^SD(409.61,VALM,"COL",5,0)="PID^67^11^PID"
+15 SET ^SD(409.61,VALM,"EXP")="D EXP^VAQEXT02"
+16 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQEXT02"
+17 SET ^SD(409.61,VALM,"HDR")="D HD^VAQEXT02"
+18 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+19 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQEXT02"
+20 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+21 WRITE "Filed."
End DoDot:1
+22 ;
+23 WRITE !,"'VAQ REQUEST PDX2' List Template..."
+24 SET DA=$ORDER(^SD(409.61,"B","VAQ REQUEST PDX2",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+25 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ REQUEST PDX2"
DO FILE^DICN
SET VALM=+Y
+26 IF VALM>0
Begin DoDot:1
+27 SET ^SD(409.61,VALM,0)="VAQ REQUEST PDX2^1^^^5^16^1^1^Entry^VAQ PDX2 (MENU)^PDX V1.5 - REQUEST^1"
+28 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+29 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR2"",$J)"
+30 SET ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
+31 SET ^SD(409.61,VALM,"COL",1,0)="ENTRY^2^5^Entry"
+32 SET ^SD(409.61,VALM,"COL",2,0)="DOMAIN^9^25^Domain"
+33 SET ^SD(409.61,VALM,"COL",3,0)="SEGMENTS^36^45^Data Segment(s) [Time:Occurrence]"
+34 SET ^SD(409.61,VALM,"EXP")="D EXPAND^VAQREQ02"
+35 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQREQ02"
+36 SET ^SD(409.61,VALM,"HDR")="D HD^VAQREQ02"
+37 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+38 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQREQ02"
+39 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+40 WRITE "Filed."
End DoDot:1
+41 ;
+42 WRITE !,"'VAQ STATUS PDX1' List Template..."
+43 SET DA=$ORDER(^SD(409.61,"B","VAQ STATUS PDX1",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+44 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VAQ STATUS PDX1"
DO FILE^DICN
SET VALM=+Y
+45 IF VALM>0
Begin DoDot:1
+46 SET ^SD(409.61,VALM,0)="VAQ STATUS PDX1^1^^^5^18^1^1^PDX TRANSMISSIONS^VAQ PDX1 (MENU)^PDX V1.5 - STATUS^1"
+47 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+48 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""VAQR1"",$J)"
+49 SET ^SD(409.61,VALM,"EXP")=""
+50 SET ^SD(409.61,VALM,"FNL")="D EXIT^VAQREQ01"
+51 SET ^SD(409.61,VALM,"HDR")="D HD^VAQREQ01"
+52 SET ^SD(409.61,VALM,"HLP")="S X=""?"" D DISP^XQORM1 W !!"
+53 SET ^SD(409.61,VALM,"INIT")="D INIT^VAQREQ01"
+54 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
+55 WRITE "Filed."
End DoDot:1
+56 ;
+57 KILL DIC,DIK,VALM,X,DA
QUIT