added ending dates of service
[openemr.git] / includes / config.php
blobb712f99fbef96fc3bf805ee9f2c9fb5ae28905d6
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 // Set this to true if you want the drug DEA number printed on prescriptions by default
51 $GLOBALS['oer_config']['prescriptions']['show_DEA'] = false;
53 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
54 //you must include a trailing slash in either case
55 $GLOBALS['oer_config']['documents']['repopath'] = "documents/";
56 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
58 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
59 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
61 // Name of signature graphic in interface/pic/ directory without preceding
62 // slash. Normally 3 inches wide. This filename may include the string
63 // "{userid}" to indicate the numeric ID of the user, so that prescriptions
64 // can print with the correct provider's signature if you have multiple
65 // providers. Also signature images are used only for faxed prescriptions,
66 // not printed prescriptions.
67 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
68 //Option to used signature graphic or not
69 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
71 // To print the prescription medication area on a grey background:
72 $GLOBALS['oer_config']['prescriptions']['shading'] = false;
74 // only works with hylafax sendfax client, and sendfax must be in PATH
75 // assign 'sendfax' to turn fax sending on
76 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
78 // asign a value here if there is any prefix needed to get dialing tone
79 // you can also append a comma to add a one second delay
80 // i.e. 9, will dial 9 for external tone, and wait a second.
81 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
83 // select paper size for prescription printing
84 // see library/classes/class.ezpdf.php for complete list of paper sizes
85 // ex. "LETTER", "A4", "LEGAL" ...
86 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
88 // change page margins for prescription printing
89 // note, values are in pixels (72 dots per inch)
90 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
91 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
92 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
93 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
94 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
96 // Similarly for bottle labels if you are dispensing drugs. Note that paper
97 // size here or for prescriptions may be an array (0, 0, width, height).
98 // As above, these measurements are in points.
99 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
100 $GLOBALS['oer_config']['druglabels']['left'] = 18;
101 $GLOBALS['oer_config']['druglabels']['right'] = 18;
102 $GLOBALS['oer_config']['druglabels']['top'] = 18;
103 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
104 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
105 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
106 'Caution: Federal law prohibits dispensing without a prescription. ' .
107 'Use only as directed.';
109 //accounting system web services integration
110 //whether to use the system
111 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
112 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
113 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
114 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
115 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
116 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
117 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
118 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
119 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
121 //don't alter below this line unless you are an advanced user and know what you are doing
123 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
124 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
125 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
126 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
127 // $GLOBALS['oer_config']['prescriptions']['signature'] = ''; // What was this for???
129 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
130 "/../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
132 $GLOBALS['oer_config']['documents']['repository'] = $GLOBALS['oer_config']['documents']['repopath'];
133 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
134 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";