1 | IBCF2TP ;ALB/RLW - HCFA 1500 12-90 TEST PATTERN ; 1-JAN-92
|
---|
2 | ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
|
---|
3 | ;;Per VHA Directive 10-93-142, this routine should not be modified.
|
---|
4 | ZIS ;
|
---|
5 | ;***
|
---|
6 | ;S XRTL=$ZU(0),XRTN="IBCF2TP-1" D T0^%ZOSV ;start rt clock
|
---|
7 | ;S DGPGM="PRINT^IBCF2TP",DGVAR="^" D ZIS^DGUTQ I POP G Q
|
---|
8 | S %ZIS="QM" D ^%ZIS G:POP Q
|
---|
9 | I $D(IO("Q")) K IO("Q") S ZTRTN="PRINT^IBCF2TP",ZTDESC="IB - TEST HCFA 1500 PRINT" D ^%ZTLOAD K ZTSK D HOME^%ZIS G Q
|
---|
10 | U IO
|
---|
11 | D PRINT
|
---|
12 | Q K DGPGM,DGVAR,POP,IBADDM
|
---|
13 | ;***
|
---|
14 | ;I $D(XRT0) S:'$D(XRTN) XRTN="IBCF2TP" D T1^%ZOSV ;stop rt clock
|
---|
15 | Q
|
---|
16 | PRINT ; print test pattern
|
---|
17 | ;***
|
---|
18 | ;I $D(XRT0) S:'$D(XRTN) XRTN="IBCF2TP" D T1^%ZOSV ;stop rt clock
|
---|
19 | ;S XRTL=$ZU(0),XRTN="IBCF2TP-2" D T0^%ZOSV ;start rt clock
|
---|
20 | N X S X=""
|
---|
21 | CARRIER ;
|
---|
22 | S IBADDM=+$P($G(^IBE(350.9,1,1)),U,27)
|
---|
23 | W:$E(IOST,1,2)["C-" @IOF W !,?IBADDM,"INSURANCE CARRIER NAME",!?IBADDM,"CARRIER ADDRESS LINE 1",!?IBADDM,"CARRIER ADDRESS LINE 2",!?IBADDM,"CARRIER ADDRESS LINE 3",!?IBADDM,"CARRIER CITY, STATE ZIP"
|
---|
24 | LINE2 W !!!,X,?7,X,?14,X,?23,X,?30,X,?38,X,?44,X,?49,"SUBSCRIBER ID#"
|
---|
25 | LINE4 W !!,"PATIENT NAME",?30,"MM DD YY",?41,X,?46,X,?49,"INSURED'S NAME"
|
---|
26 | LINE6 W !!,"PATIENT ADDRESS STREET",?32,X,?37,X,?41,X,?46,X,?49,"INSURED'S ADDRESS STREET"
|
---|
27 | LINE8 W !!,"PATIENT ADDRESS CITY",?25,"ST",?34,X,?40,X,?46,X,?49,"INSURED'S ADDRESS CITY",?73,"ST"
|
---|
28 | LINE10 W !!,"PT ZIP CODE",?14,"999",?18,"999-9999",?34,X,?40,X,?46,X,?49,"INS ZIP CODE",?64,"999",?68,"999-9999"
|
---|
29 | LINE12 W !!,"OTHER INSURED'S NAME",?49,"INSURED'S POLICY GROUP"
|
---|
30 | LINE14 W !!,"OTHER POLICY NUMBER",?34,X,?40,X,?53,"MM DD YY",?67,X,?74,X
|
---|
31 | LINE16 W !!,?1,"MM DD YY",?17,X,?23,X,?34,X,?40,X,?44,"ST",?49,"INSURED'S EMPLOYER"
|
---|
32 | LINE18 W !!,"OTHER'S EMPLOYER",?34,X,?40,X,?49,"INSURANCE PLAN NAME"
|
---|
33 | LINE20 W !!,"OTHER'S INSURANCE PLAN",?51,X,?56,X
|
---|
34 | LINE26 W !!!!!!,?1,"MM DD YY",?36,"MM DD YY",?53,"MM DD YY",?67,"MM DD YY"
|
---|
35 | LINE28 W !!,"REFERRING PHYSICIAN",?27,"PHYSICIAN ID",?53,"MM DD YY",?67,"MM DD YY"
|
---|
36 | LINE30 W !!,?51,X,?56,X,?61,"9999.99",?70,"9999.99"
|
---|
37 | LINE32 W !!,?2,"X99.99",?29,"X99.99"
|
---|
38 | LINE34 W !!,?2,"X99.99",?29,"X99.99"
|
---|
39 | LINE38 ;lines 38,40,42,44,46,48 all the same
|
---|
40 | W !!
|
---|
41 | F I=1:1:6 W !!,"MM DD YY",?9,"MM DD YY",?18,X,?21,X,?25,"CPT",?32,"MODIF",?41,"DIAG",?50,"9999.99",?58,X,?61,X,?64,X,?67,X,?70,"BC/BS#"
|
---|
42 | LINE50 W !!,"FEDERAL TAX ID",?18,X,?22,"PAT ACCT#",?37,X,?42,X,?52,"9999.99",?62,"9999.99",?71,"9999.99"
|
---|
43 | LINE52 W !!,?22,"VAMC",?49,"AGENT CASHIER (999) 999-9999"
|
---|
44 | LINE53 W !,?22,"STREET ADDRESS",?49,"STREET ADDRESS"
|
---|
45 | LINE54 W !,?22,"CITY, STATE ZIP",?49,"CITY, STATE ZIP"
|
---|
46 | I $D(ZTQUEUED) S ZTREQ="@" Q
|
---|
47 | D ^%ZISC
|
---|
48 | ;***
|
---|
49 | ;I $D(XRT0) S:'$D(XRTN) XRTN="IBCF2TP" D T1^%ZOSV ;stop rt clock
|
---|
50 | Q
|
---|