incremented patch version 13
[openemr.git] / sites / default / config.php
blob7a9751b7e61da1819c0f8717c650c881f9dc3fa6
1 <?php
2 /* $Id$ */
3 // ------------------------------------------------------------------------ //
4 // OpenEMR Electronic Medical Records System //
5 // Copyright (c) 2005-2010 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. Must include a trailing slash.
63 $GLOBALS['oer_config']['documents']['repopath'] = $GLOBALS['OE_SITE_DIR'] . "/documents/";
64 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
66 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
67 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "Rx.png";
69 // Name of signature graphic in interface/pic/ directory without preceding
70 // slash. Normally 3 inches wide. This filename may include the string
71 // "{userid}" to indicate the numeric ID of the user, so that prescriptions
72 // can print with the correct provider's signature if you have multiple
73 // providers. Also signature images are used only for faxed prescriptions,
74 // not printed prescriptions.
75 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
76 //Option to used signature graphic or not
77 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
79 // To print the prescription medication area on a grey background:
80 $GLOBALS['oer_config']['prescriptions']['shading'] = false;
82 // only works with hylafax sendfax client, and sendfax must be in PATH
83 // assign 'sendfax' to turn fax sending on
84 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
86 // asign a value here if there is any prefix needed to get dialing tone
87 // you can also append a comma to add a one second delay
88 // i.e. 9, will dial 9 for external tone, and wait a second.
89 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
91 // select paper size for prescription printing
92 // see library/classes/class.ezpdf.php for complete list of paper sizes
93 // ex. "LETTER", "A4", "LEGAL" ...
94 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
96 // change page margins for prescription printing
97 // note, values are in pixels (72 dots per inch)
98 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
99 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
100 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
101 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
102 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
104 // Similarly for bottle labels if you are dispensing drugs. Note that paper
105 // size here or for prescriptions may be an array (0, 0, width, height).
106 // As above, these measurements are in points.
107 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
108 $GLOBALS['oer_config']['druglabels']['left'] = 18;
109 $GLOBALS['oer_config']['druglabels']['right'] = 18;
110 $GLOBALS['oer_config']['druglabels']['top'] = 18;
111 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
112 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
113 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
114 'Caution: Federal law prohibits dispensing without a prescription. ' .
115 'Use only as directed.';
117 // Accounts Receivable support. Use one of the following numeric values:
118 // 0 = None
119 // 1 = Using SQL-Ledger
120 // 2 = A/R internal to OpenEMR (recommended)
122 $GLOBALS['oer_config']['ws_accounting']['enabled'] = 2;
124 // If 1 is chosen above, then the following must be set correctly:
126 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
127 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
128 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
129 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
130 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
131 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
132 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
133 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
135 //don't alter below this line unless you are an advanced user and know what you are doing
137 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
138 "/../../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
139 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
140 "/../../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
142 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
143 "/../../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
145 $GLOBALS['oer_config']['documents']['repository'] = $GLOBALS['oer_config']['documents']['repopath'];