2 <script language=
"javascript">
3 function submit_insurancecompany() {
4 if(document
.insurancecompany
.name
.value
.length
>0) {
6 document
.insurancecompany
.submit();
7 //Z&H Removed redirection
9 document
.insurancecompany
.name
.style
.backgroundColor
="red";
10 document
.insurancecompany
.name
.focus();
14 function jsWaitForDelay(delay
) {
15 var startTime
= new Date();
19 } while ((endTime
- startTime
) < delay
);
23 <form name=
"insurancecompany" method=
"post" action=
"{$FORM_ACTION}">
24 <!-- it is important that the hidden form_id field be listed first, when it is called it populates any old information attached with the id, this allows for partial edits
25 if it were called last, the settings from the form would be overwritten with the old information-->
26 <input type=
"hidden" name=
"form_id" value=
"{$insurancecompany->id}" />
27 <table style=
"font-size:9pt;" width=
"500px" CELLSPACING=
"0" CELLPADDING=
"3">
29 <td width=
"220px" VALIGN=
"MIDDLE" >{xl t='Name'}
</td>
31 <input type=
"text" size=
"40" name=
"name" value=
"{$insurancecompany->get_name()}" onKeyDown=
"PreventIt(event)" /> ({xl t='Required'})
35 <td VALIGN=
"MIDDLE" >{xl t='Attn'}
</td>
37 <input type=
"text" size=
"40" name=
"attn" value=
"{$insurancecompany->get_attn()}" onKeyDown=
"PreventIt(event)" />
42 <td VALIGN=
"MIDDLE" >{xl t='Address'}
</td>
44 <input type=
"text" size=
"40" name=
"address_line1" value=
"{$insurancecompany->address->line1}" onKeyDown=
"PreventIt(event)" />
48 <td VALIGN=
"MIDDLE" >{xl t='Address'}
</td>
50 <input type=
"text" size=
"40" name=
"address_line2" value=
"{$insurancecompany->address->line2}" onKeyDown=
"PreventIt(event)" />
54 <td VALIGN=
"MIDDLE" >{xl t='City, State Zip'}
</td>
56 <input type=
"text" size=
"25" name=
"city" value=
"{$insurancecompany->address->city}" onKeyDown=
"PreventIt(event)" /> ,
<input type=
"text" size=
"2" maxlength=
"2" name=
"state" value=
"{$insurancecompany->address->state}" onKeyDown=
"PreventIt(event)" /> <input type=
"text" size=
"5" name=
"zip" value=
"{$insurancecompany->address->zip}" onKeyDown=
"PreventIt(event)" />
60 <td VALIGN=
"MIDDLE" >{xl t='Phone'}
</td>
62 <input TYPE=
"TEXT" NAME=
"phone" SIZE=
"12" VALUE=
"{$insurancecompany->get_phone()}" onKeyDown=
"PreventIt(event)" />
66 <td VALIGN=
"MIDDLE" >{xl t='CMS ID'}
</td>
68 <input type=
"text" size=
"15" name=
"cms_id" value=
"{$insurancecompany->get_cms_id()}" onKeyDown=
"PreventIt(event)" />
69 {php} if ($GLOBALS['support_encounter_claims']) { {/php}
70 {xl t='For Encounter Claims'}:
71 <input type=
"text" size=
"15" name=
"alt_cms_id" value=
"{$insurancecompany->get_alt_cms_id()}" onKeyDown=
"PreventIt(event)" />
76 <td VALIGN=
"MIDDLE">{xl t='Payer Type'}
</td>
78 {html_options
name=
"freeb_type" options=$insurancecompany-
>freeb_type_array selected=$insurancecompany-
>get_freeb_type()}
82 This is now deprecated use the newer x12 partner code instead
84 <td COLSPAN="1" ALIGN="LEFT" VALIGN="MIDDLE">X12 Receiver ID</td>
85 <td COLSPAN="2" ALIGN="LEFT" VALIGN="MIDDLE">
86 <input type="text" name="x12_receiver_id" value="{$insurancecompany->get_x12_receiver_id()}" >
90 <td VALIGN=
"MIDDLE">{xl t='Default X12 Partner'}
</td>
92 {html_options
name=
"x12_default_partner_id" options=$x12_partners selected=$insurancecompany-
>get_x12_default_partner_id()}
95 <tr height=
"25"><td colspan=
2> </td></tr>
97 <td colspan=
"2"><a href=
"javascript:submit_insurancecompany();" class=
"css_button"><span>{xl t='Save'}
</span></a><a href=
"controller.php?practice_settings&insurance_company&action=list" {php} if (!$GLOBALS['concurrent_layout']) echo
"target='Main'"; {/php}
class=
"css_button" onclick=
"top.restoreSession()">
98 <span>{xl t='Cancel'}
</span></a></td>
101 <input type=
"hidden" name=
"id" value=
"{$insurancecompany->id}" />
102 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />