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