IVM20P22 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
W !,"'IVM SSN UPDATE' List Template..."
S DA=$O(^SD(409.61,"B","IVM SSN UPDATE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IVM SSN UPDATE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IVM SSN UPDATE^1^^80^5^18^1^1^Patient^IVMLS SSN UPLOAD^IVM SSN UPDATE^1^^"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMLST"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
.S ^SD(409.61,VALM,"COL",1,0)="PAT NAME^6^15^Patient Name"
.S ^SD(409.61,VALM,"COL",2,0)="PAT DHCP SSN^22^10^DHCP/SSN"
.S ^SD(409.61,VALM,"COL",3,0)="PAT SSA SSN^33^9^SSA/SSN^"
.S ^SD(409.61,VALM,"COL",4,0)="SPOUSE NAME^44^15^Spouse's Name"
.S ^SD(409.61,VALM,"COL",5,0)="SPOUSE DHCP SSN^60^9^DHCP/SSN"
.S ^SD(409.61,VALM,"COL",6,0)="SPOUSE SSA SSN^71^9^SSA/SSN^"
.S ^SD(409.61,VALM,"FNL")="D EXIT^IVMLSU"
.S ^SD(409.61,VALM,"HDR")="D HDR^IVMLSU1"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^IVMLSU1"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIVM20P22 1204 printed Nov 22, 2024@17:10:53 Page 2
IVM20P22 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
+1 ;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
+2 WRITE !,"'IVM SSN UPDATE' List Template..."
+3 SET DA=$ORDER(^SD(409.61,"B","IVM SSN UPDATE",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="IVM SSN UPDATE"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="IVM SSN UPDATE^1^^80^5^18^1^1^Patient^IVMLS SSN UPLOAD^IVM SSN UPDATE^1^^"
+7 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+8 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMLST"",$J)"
+9 SET ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
+10 SET ^SD(409.61,VALM,"COL",1,0)="PAT NAME^6^15^Patient Name"
+11 SET ^SD(409.61,VALM,"COL",2,0)="PAT DHCP SSN^22^10^DHCP/SSN"
+12 SET ^SD(409.61,VALM,"COL",3,0)="PAT SSA SSN^33^9^SSA/SSN^"
+13 SET ^SD(409.61,VALM,"COL",4,0)="SPOUSE NAME^44^15^Spouse's Name"
+14 SET ^SD(409.61,VALM,"COL",5,0)="SPOUSE DHCP SSN^60^9^DHCP/SSN"
+15 SET ^SD(409.61,VALM,"COL",6,0)="SPOUSE SSA SSN^71^9^SSA/SSN^"
+16 SET ^SD(409.61,VALM,"FNL")="D EXIT^IVMLSU"
+17 SET ^SD(409.61,VALM,"HDR")="D HDR^IVMLSU1"
+18 SET ^SD(409.61,VALM,"HLP")=""
+19 SET ^SD(409.61,VALM,"INIT")="D INIT^IVMLSU1"
+20 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+21 WRITE "Filed."
End DoDot:1
+22 ;
+23 KILL DIC,DIK,VALM,X,DA
QUIT