VistA-WorldVistAEHR/r/INCOME_VERIFICATION_MATCH-IVM/IVM20P21.m

82 lines
3.8 KiB
Mathematica

IVM20P21 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IB MT REVIEW INDIV CHARGES" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IB MT REVIEW INDIV CHARGES^1^^80^5^14^1^1^Charges^IBAMTV REV IND CHARGES^Held Charge List^1^32^"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IBAMTV31"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
.S ^SD(409.61,VALM,"COL",1,0)="CHG#^1^3^^^0"
.S ^SD(409.61,VALM,"COL",2,0)="FDATE^4^9^Bill From^^0"
.S ^SD(409.61,VALM,"COL",3,0)="TDATE^16^8^Bill To^^0"
.S ^SD(409.61,VALM,"COL",4,0)="TYPE^28^23^Charge Type^^0"
.S ^SD(409.61,VALM,"COL",5,0)="AMOUNT^56^9^Charge^^0"
.S ^SD(409.61,VALM,"COL",6,0)="CREATED^68^8^Created^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IBAMTV31"
.S ^SD(409.61,VALM,"HDR")="D HDR^IBAMTV31"
.S ^SD(409.61,VALM,"HLP")="D HELP^IBAMTV31"
.S ^SD(409.61,VALM,"INIT")="D INIT^IBAMTV31"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'IB MT REVIEW PATIENT' List Template..."
S DA=$O(^SD(409.61,"B","IB MT REVIEW PATIENT",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IB MT REVIEW PATIENT" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IB MT REVIEW PATIENT^1^^80^5^14^1^1^Patient^IBAMTV REV PATIENT^Patient List^1^32^"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IBAMTV3"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
.S ^SD(409.61,VALM,"COL",1,0)="PAT#^1^3^^^0"
.S ^SD(409.61,VALM,"COL",2,0)="PATIENT^5^30^Patient Name^^0"
.S ^SD(409.61,VALM,"COL",3,0)="PID^37^5^Pt ID^^0"
.S ^SD(409.61,VALM,"COL",4,0)="MT DATE^46^8^Ver. MT^^0"
.S ^SD(409.61,VALM,"COL",5,0)="MT CAT^58^12^MT Cat.^^0"
.S ^SD(409.61,VALM,"COL",6,0)="INS^73^4^Ins?^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IBAMTV3"
.S ^SD(409.61,VALM,"HDR")="D HDR^IBAMTV3"
.S ^SD(409.61,VALM,"HLP")="D HELP^IBAMTV3"
.S ^SD(409.61,VALM,"INIT")="D INIT^IBAMTV3"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'IVM INSURANCE UPLOAD' List Template..."
S DA=$O(^SD(409.61,"B","IVM INSURANCE UPLOAD",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IVM INSURANCE UPLOAD" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IVM INSURANCE UPLOAD^1^^80^5^18^1^1^Patient^IVMLI INSURANCE UPLOAD^IVM INSURANCE UPLOAD^1^^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^7^5"
.S ^SD(409.61,VALM,"COL",1,0)="PAT NAME^6^15^Patient Name^^0"
.S ^SD(409.61,VALM,"COL",4,0)="INS^36^3^Ins^^0"
.S ^SD(409.61,VALM,"COL",5,0)="INS CAR^41^17^Insurance Carrier^^0"
.S ^SD(409.61,VALM,"COL",6,0)="SUB ID^67^14^Subscriber ID^^0"
.S ^SD(409.61,VALM,"COL",7,0)="SSN^23^3^SSN^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,7)=""
.S ^SD(409.61,VALM,"EXP")=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IVMLINS"
.S ^SD(409.61,VALM,"HDR")="D HDR^IVMLINS"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^IVMLINS"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
G ^IVM20P22