fix for billing notes
[openemr.git] / includes / config.php
blob88df2935b3760551d9e4d36081b12c5f1881f8f5
1 <?php
2 /* $Id$ */
3 // ------------------------------------------------------------------------ //
4 // OpenEMR Electronic Medical Records System //
5 // Copyright (c) 2005-2008 oemr.org //
6 // <http://www.oemr.org/> //
7 // ------------------------------------------------------------------------ //
8 // This program is free software; you can redistribute it and/or modify //
9 // it under the terms of the GNU General Public License as published by //
10 // the Free Software Foundation; either version 2 of the License, or //
11 // (at your option) any later version. //
12 // //
13 // You may not change or alter any portion of this comment or credits //
14 // of supporting developers from this source code or any supporting //
15 // source code which is considered copyrighted (c) material of the //
16 // original comment or credit authors. //
17 // //
18 // This program is distributed in the hope that it will be useful, //
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
21 // GNU General Public License for more details. //
22 // //
23 // You should have received a copy of the GNU General Public License //
24 // along with this program; if not, write to the Free Software //
25 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
26 // ------------------------------------------------------------------------ //
28 // To use RelayHealth, Call 888-PHYAURA (749-2872) and press 1 to Sign-up
29 // for the service and receive your Client ID. Then you may uncomment
30 // and alter the following as appropriate.
32 // $GLOBALS['ssi']['rh']['ApplicationName'] = 'PhyauraSSI';
33 // $GLOBALS['ssi']['rh']['PartnerName'] = 'Phyaura';
34 // $GLOBALS['ssi']['rh']['location'] = 'https://api.integration.relayhealth.com/SSI/SingleSignIn.svc';
35 // $GLOBALS['ssi']['rh']['wsdl'] = 'https://api.integration.relayhealth.com/SSI/SingleSignIn.svc?wsdl';
37 $GLOBALS['oer_config']['freeb']['claim_file_dir'] = "/usr/share/freeb/public/";
38 //currently can be pdf or txt
39 $GLOBALS['oer_config']['freeb']['default_format'] = "pdf";
40 $GLOBALS['oer_config']['freeb']['username'] = "freeb";
41 $GLOBALS['oer_config']['freeb']['password'] = "12345";
42 $GLOBALS['oer_config']['freeb']['print_command'] = "/usr/bin/lpr";
43 $GLOBALS['oer_config']['freeb']['printer_name'] = "HP_LaserJet4L";
44 // This does not seem useful for PDF HCFAs, see freeb/targetbin/ascii2pdf instead:
45 $GLOBALS['oer_config']['freeb']['printer_extras'] = "-o PageSize=Letter -o portrait";
46 // Set this to make an additional copy of HCFA PDFs in the specified directory,
47 // e.g. for an external billing service. You must end this path with a slash:
48 $GLOBALS['oer_config']['freeb']['copy_pdfs_to'] = '';
50 //used differently by different applications, intuit programs only like numbers
51 $GLOBALS['oer_config']['ofx']['bankid'] = "123456789";
53 //you can use this to match to an existing account in you accounting application
54 $GLOBALS['oer_config']['ofx']['acctid'] = "123456789";
56 //use FL for FLORIDA compatible format, leave blank for default
57 $GLOBALS['oer_config']['prescriptions']['format'] = "";
59 // Set this to true if you want the drug DEA number printed on prescriptions by default
60 $GLOBALS['oer_config']['prescriptions']['show_DEA'] = false;
62 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
63 //you must include a trailing slash in either case
64 $GLOBALS['oer_config']['documents']['repopath'] = "documents/";
65 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
67 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
68 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
70 // Name of signature graphic in interface/pic/ directory without preceding
71 // slash. Normally 3 inches wide. This filename may include the string
72 // "{userid}" to indicate the numeric ID of the user, so that prescriptions
73 // can print with the correct provider's signature if you have multiple
74 // providers. Also signature images are used only for faxed prescriptions,
75 // not printed prescriptions.
76 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
77 //Option to used signature graphic or not
78 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
80 // To print the prescription medication area on a grey background:
81 $GLOBALS['oer_config']['prescriptions']['shading'] = false;
83 // only works with hylafax sendfax client, and sendfax must be in PATH
84 // assign 'sendfax' to turn fax sending on
85 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
87 // asign a value here if there is any prefix needed to get dialing tone
88 // you can also append a comma to add a one second delay
89 // i.e. 9, will dial 9 for external tone, and wait a second.
90 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
92 // select paper size for prescription printing
93 // see library/classes/class.ezpdf.php for complete list of paper sizes
94 // ex. "LETTER", "A4", "LEGAL" ...
95 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
97 // change page margins for prescription printing
98 // note, values are in pixels (72 dots per inch)
99 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
100 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
101 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
102 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
103 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
105 // Similarly for bottle labels if you are dispensing drugs. Note that paper
106 // size here or for prescriptions may be an array (0, 0, width, height).
107 // As above, these measurements are in points.
108 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
109 $GLOBALS['oer_config']['druglabels']['left'] = 18;
110 $GLOBALS['oer_config']['druglabels']['right'] = 18;
111 $GLOBALS['oer_config']['druglabels']['top'] = 18;
112 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
113 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
114 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
115 'Caution: Federal law prohibits dispensing without a prescription. ' .
116 'Use only as directed.';
118 // Accounts Receivable support. Use one of the following numeric values:
119 // 0 = None
120 // 1 = Using SQL-Ledger
121 // 2 = A/R internal to OpenEMR (recommended)
123 $GLOBALS['oer_config']['ws_accounting']['enabled'] = 2;
125 // If 1 is chosen above, then the following must be set correctly:
127 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
128 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
129 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
130 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
131 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
132 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
133 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
134 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
136 //don't alter below this line unless you are an advanced user and know what you are doing
138 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
139 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
140 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
141 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
142 // $GLOBALS['oer_config']['prescriptions']['signature'] = ''; // What was this for???
144 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
145 "/../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
147 $GLOBALS['oer_config']['documents']['repository'] = $GLOBALS['oer_config']['documents']['repopath'];
148 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
149 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";