2 //While creating new encounter this code is used to change the "Billing Facility:".
3 //This happens on change of the "Facility:" field.
5 // +-----------------------------------------------------------------------------+
6 // Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
9 // This program is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU General Public License
11 // as published by the Free Software Foundation; either version 2
12 // of the License, or (at your option) any later version.
15 // This program is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
21 // A copy of the GNU General Public License is included along with this program:
22 // openemr/interface/login/GnuGPL.html
23 // For more information write to the Free Software
24 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 // Author: Eldho Chacko <eldho@zhservices.com>
27 // Jacob T.Paul <jacob@zhservices.com>
29 // +------------------------------------------------------------------------------+
31 <script type
="text/javascript">
32 function ajax_bill_loc(pid
,date
,facility
){
36 url
: "../../../library/ajax/facility_ajax_code.php",
43 success
: function(thedata
){//alert(thedata)
44 $
("#ajaxdiv").html(thedata
);