VistA-FOIAVistA/r/INCOME_VERIFICATION_MATCH-IVM/IVM20P22.m

25 lines
1.2 KiB
Mathematica

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