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
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIVM20P21 3954 printed Nov 22, 2024@17:10:52 Page 2
IVM20P21 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
+1 ;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
+2 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="IB MT REVIEW INDIV CHARGES"
DO FILE^DICN
SET VALM=+Y
+3 IF VALM>0
Begin DoDot:1
+4 SET ^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^"
+5 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+6 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IBAMTV31"",$J)"
+7 SET ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
+8 SET ^SD(409.61,VALM,"COL",1,0)="CHG#^1^3^^^0"
+9 SET ^SD(409.61,VALM,"COL",2,0)="FDATE^4^9^Bill From^^0"
+10 SET ^SD(409.61,VALM,"COL",3,0)="TDATE^16^8^Bill To^^0"
+11 SET ^SD(409.61,VALM,"COL",4,0)="TYPE^28^23^Charge Type^^0"
+12 SET ^SD(409.61,VALM,"COL",5,0)="AMOUNT^56^9^Charge^^0"
+13 SET ^SD(409.61,VALM,"COL",6,0)="CREATED^68^8^Created^^0"
+14 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+15 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+16 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+17 SET ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
+18 SET ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
+19 SET ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
+20 SET ^SD(409.61,VALM,"FNL")="D EXIT^IBAMTV31"
+21 SET ^SD(409.61,VALM,"HDR")="D HDR^IBAMTV31"
+22 SET ^SD(409.61,VALM,"HLP")="D HELP^IBAMTV31"
+23 SET ^SD(409.61,VALM,"INIT")="D INIT^IBAMTV31"
+24 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+25 WRITE "Filed."
End DoDot:1
+26 ;
+27 WRITE !,"'IB MT REVIEW PATIENT' List Template..."
+28 SET DA=$ORDER(^SD(409.61,"B","IB MT REVIEW PATIENT",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+29 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="IB MT REVIEW PATIENT"
DO FILE^DICN
SET VALM=+Y
+30 IF VALM>0
Begin DoDot:1
+31 SET ^SD(409.61,VALM,0)="IB MT REVIEW PATIENT^1^^80^5^14^1^1^Patient^IBAMTV REV PATIENT^Patient List^1^32^"
+32 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+33 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IBAMTV3"",$J)"
+34 SET ^SD(409.61,VALM,"COL",0)="^409.621^6^6"
+35 SET ^SD(409.61,VALM,"COL",1,0)="PAT#^1^3^^^0"
+36 SET ^SD(409.61,VALM,"COL",2,0)="PATIENT^5^30^Patient Name^^0"
+37 SET ^SD(409.61,VALM,"COL",3,0)="PID^37^5^Pt ID^^0"
+38 SET ^SD(409.61,VALM,"COL",4,0)="MT DATE^46^8^Ver. MT^^0"
+39 SET ^SD(409.61,VALM,"COL",5,0)="MT CAT^58^12^MT Cat.^^0"
+40 SET ^SD(409.61,VALM,"COL",6,0)="INS^73^4^Ins?^^0"
+41 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+42 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+43 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+44 SET ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
+45 SET ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
+46 SET ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
+47 SET ^SD(409.61,VALM,"FNL")="D EXIT^IBAMTV3"
+48 SET ^SD(409.61,VALM,"HDR")="D HDR^IBAMTV3"
+49 SET ^SD(409.61,VALM,"HLP")="D HELP^IBAMTV3"
+50 SET ^SD(409.61,VALM,"INIT")="D INIT^IBAMTV3"
+51 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+52 WRITE "Filed."
End DoDot:1
+53 ;
+54 WRITE !,"'IVM INSURANCE UPLOAD' List Template..."
+55 SET DA=$ORDER(^SD(409.61,"B","IVM INSURANCE UPLOAD",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+56 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="IVM INSURANCE UPLOAD"
DO FILE^DICN
SET VALM=+Y
+57 IF VALM>0
Begin DoDot:1
+58 SET ^SD(409.61,VALM,0)="IVM INSURANCE UPLOAD^1^^80^5^18^1^1^Patient^IVMLI INSURANCE UPLOAD^IVM INSURANCE UPLOAD^1^^1"
+59 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+60 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMLST"",$J)"
+61 SET ^SD(409.61,VALM,"COL",0)="^409.621^7^5"
+62 SET ^SD(409.61,VALM,"COL",1,0)="PAT NAME^6^15^Patient Name^^0"
+63 SET ^SD(409.61,VALM,"COL",4,0)="INS^36^3^Ins^^0"
+64 SET ^SD(409.61,VALM,"COL",5,0)="INS CAR^41^17^Insurance Carrier^^0"
+65 SET ^SD(409.61,VALM,"COL",6,0)="SUB ID^67^14^Subscriber ID^^0"
+66 SET ^SD(409.61,VALM,"COL",7,0)="SSN^23^3^SSN^^0"
+67 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+68 SET ^SD(409.61,VALM,"COL","AIDENT",0,4)=""
+69 SET ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
+70 SET ^SD(409.61,VALM,"COL","AIDENT",0,6)=""
+71 SET ^SD(409.61,VALM,"COL","AIDENT",0,7)=""
+72 SET ^SD(409.61,VALM,"EXP")=""
+73 SET ^SD(409.61,VALM,"FNL")="D EXIT^IVMLINS"
+74 SET ^SD(409.61,VALM,"HDR")="D HDR^IVMLINS"
+75 SET ^SD(409.61,VALM,"HLP")=""
+76 SET ^SD(409.61,VALM,"INIT")="D INIT^IVMLINS"
+77 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+78 WRITE "Filed."
End DoDot:1
+79 ;
+80 GOTO ^IVM20P22