Added support for 'submit selection' where a user can submit only what they have...
[openemr.git] / includes / config.php
blob0f25f1010bb464a4bd2119676060887c619a156a
1 <?php
2 $GLOBALS['oer_config']['freeb']['claim_file_dir'] = "/usr/share/freeb/public/";
3 //currently can be pdf or txt
4 $GLOBALS['oer_config']['freeb']['default_format'] = "pdf";
5 $GLOBALS['oer_config']['freeb']['username'] = "freeb";
6 $GLOBALS['oer_config']['freeb']['password'] = "12345";
7 $GLOBALS['oer_config']['freeb']['print_command'] = "/usr/bin/lpr";
8 $GLOBALS['oer_config']['freeb']['printer_name'] = "HP_LaserJet4L";
9 $GLOBALS['oer_config']['freeb']['printer_extras'] = "-o PageSize=Letter -o portrait";
11 //used differently by different applications, intuit programs only like numbers
12 $GLOBALS['oer_config']['ofx']['bankid'] = "123456789";
14 //you can use this to match to an existing account in you accounting application
15 $GLOBALS['oer_config']['ofx']['acctid'] = "123456789";
17 //use FL for FLORIDA compatible format, leave blank for default
18 $GLOBALS['oer_config']['prescriptions']['format'] = "";
20 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
21 //you must include a trailing slash in either case
22 $GLOBALS['oer_config']['documents']['repository'] = "documents/";
23 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
25 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
26 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
28 //Name of signature graphic in interface/pic/ directory without preceding slash. Normally 3 inches wide.
29 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
30 //Option to used signature graphic or not
31 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
33 // only works with hylafax sendfax client, and sendfax must be in PATH
34 // assign 'sendfax' to turn fax sending on
35 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
37 // asign a value here if there is any prefix needed to get dialing tone
38 // you can also append a comma to add a one second delay
39 // i.e. 9, will dial 9 for external tone, and wait a second.
40 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
42 // select paper size for prescription printing
43 // see library/classes/class.ezpdf.php for complete list of paper sizes
44 // ex. "LETTER", "A4", "LEGAL" ...
45 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
47 // change page margins for prescription printing
48 // note, values are in pixels (72 dots per inch)
49 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
50 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
51 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
52 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
53 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
55 // Similarly for bottle labels if you are dispensing drugs. Note that paper
56 // size here or for prescriptions may be an array (0, 0, width, height).
57 // As above, these measurements are in points.
58 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
59 $GLOBALS['oer_config']['druglabels']['left'] = 18;
60 $GLOBALS['oer_config']['druglabels']['right'] = 18;
61 $GLOBALS['oer_config']['druglabels']['top'] = 18;
62 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
63 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
64 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
65 'Caution: Federal law prohibits dispensing without a prescription. ' .
66 'Use only as directed.';
68 //accounting system web services integration
69 //whether to use the system
70 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
71 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
72 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
73 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
74 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
75 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
76 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
77 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
78 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
80 //don't alter below this line unless you are an advanced user and know what you are doing
82 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
83 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
84 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
85 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
86 $GLOBALS['oer_config']['prescriptions']['signature'] = '';
88 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
89 "/../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
91 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
92 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";