added support for justification and copays to fee sheet
[openemr.git] / includes / config.php
blob9e60657b80cc017c3c95ddb4117bedaf9076f32e
1 <?php
2 /* $Id$ */
3 // ------------------------------------------------------------------------ //
4 // OpenEMR Electronic Medical Records System //
5 // Copyright (c) 2005 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 $GLOBALS['oer_config']['freeb']['claim_file_dir'] = "/usr/share/freeb/public/";
29 //currently can be pdf or txt
30 $GLOBALS['oer_config']['freeb']['default_format'] = "pdf";
31 $GLOBALS['oer_config']['freeb']['username'] = "freeb";
32 $GLOBALS['oer_config']['freeb']['password'] = "12345";
33 $GLOBALS['oer_config']['freeb']['print_command'] = "/usr/bin/lpr";
34 $GLOBALS['oer_config']['freeb']['printer_name'] = "HP_LaserJet4L";
35 // This does not seem useful for PDF HCFAs, see freeb/targetbin/ascii2pdf instead:
36 $GLOBALS['oer_config']['freeb']['printer_extras'] = "-o PageSize=Letter -o portrait";
37 // Set this to make an additional copy of HCFA PDFs in the specified directory,
38 // e.g. for an external billing service. You must end this path with a slash:
39 $GLOBALS['oer_config']['freeb']['copy_pdfs_to'] = '';
41 //used differently by different applications, intuit programs only like numbers
42 $GLOBALS['oer_config']['ofx']['bankid'] = "123456789";
44 //you can use this to match to an existing account in you accounting application
45 $GLOBALS['oer_config']['ofx']['acctid'] = "123456789";
47 //use FL for FLORIDA compatible format, leave blank for default
48 $GLOBALS['oer_config']['prescriptions']['format'] = "";
50 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
51 //you must include a trailing slash in either case
52 $GLOBALS['oer_config']['documents']['repopath'] = "documents/";
53 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
55 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
56 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
58 // Name of signature graphic in interface/pic/ directory without preceding
59 // slash. Normally 3 inches wide. This filename may include the string
60 // "{userid}" to indicate the numeric ID of the user, so that prescriptions
61 // can print with the correct provider's signature if you have multiple
62 // providers. Also signature images are used only for faxed prescriptions,
63 // not printed prescriptions.
64 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
65 //Option to used signature graphic or not
66 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
68 // To print the prescription medication area on a grey background:
69 $GLOBALS['oer_config']['prescriptions']['shading'] = false;
71 // only works with hylafax sendfax client, and sendfax must be in PATH
72 // assign 'sendfax' to turn fax sending on
73 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
75 // asign a value here if there is any prefix needed to get dialing tone
76 // you can also append a comma to add a one second delay
77 // i.e. 9, will dial 9 for external tone, and wait a second.
78 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
80 // select paper size for prescription printing
81 // see library/classes/class.ezpdf.php for complete list of paper sizes
82 // ex. "LETTER", "A4", "LEGAL" ...
83 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
85 // change page margins for prescription printing
86 // note, values are in pixels (72 dots per inch)
87 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
88 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
89 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
90 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
91 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
93 // Similarly for bottle labels if you are dispensing drugs. Note that paper
94 // size here or for prescriptions may be an array (0, 0, width, height).
95 // As above, these measurements are in points.
96 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
97 $GLOBALS['oer_config']['druglabels']['left'] = 18;
98 $GLOBALS['oer_config']['druglabels']['right'] = 18;
99 $GLOBALS['oer_config']['druglabels']['top'] = 18;
100 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
101 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
102 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
103 'Caution: Federal law prohibits dispensing without a prescription. ' .
104 'Use only as directed.';
106 //accounting system web services integration
107 //whether to use the system
108 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
109 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
110 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
111 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
112 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
113 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
114 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
115 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
116 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
118 //don't alter below this line unless you are an advanced user and know what you are doing
120 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
121 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
122 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
123 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
124 $GLOBALS['oer_config']['prescriptions']['signature'] = '';
126 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
127 "/../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
129 $GLOBALS['oer_config']['documents']['repository'] = $GLOBALS['oer_config']['documents']['repopath'];
130 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
131 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";