Merge branch 'master' into rules_develop
[openemr.git] / library / globals.inc.php
blobf16d4c7cd1795fcc2a930154535f67ba29b7acdf
1 <?php
2 // Copyright (C) 2010 Rod Roark <rod@sunsetsystems.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 // $GLOBALS['print_command'] is the
10 // Print command for spooling to printers, used by statements.inc.php
11 // This is the command to be used for printing (without the filename).
12 // The word following "-P" should be the name of your printer. This
13 // example is designed for 8.5x11-inch paper with 1-inch margins,
14 // 10 CPI, 6 LPI, 65 columns, 54 lines per page.
16 // IF lpr services are installed on Windows this setting will be similar
17 // Otherwise configure it as needed (print /d:PRN) might be an option for Windows parallel printers
19 // Current supported languages: // Allow capture of term for translation:
20 // Amharic // xl('Amharic')
21 // Arabic // xl('Arabic')
22 // Armenian // xl('Armenian')
23 // Bahasa Indonesia // xl('Bahasa Indonesia')
24 // Chinese (Simplified) // xl('Chinese (Simplified)')
25 // Chinese (Traditional) // xl('Chinese (Traditional)')
26 // Danish // xl('Danish')
27 // Dutch // xl('Dutch')
28 // English (Indian) // xl('English (Indian)')
29 // English (Standard) // xl('English (Standard)')
30 // French // xl('French')
31 // German // xl('German')
32 // Greek // xl('Greek')
33 // Hebrew // xl('Hebrew')
34 // Italian // xl('Italian')
35 // Norwegian // xl('Norwegian')
36 // Polish // xl('Polish')
37 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
38 // Portuguese (European) // xl('Portuguese (European)')
39 // Russian // xl('Russian')
40 // Slovak // xl('Slovak')
41 // Spanish // xl('Spanish')
42 // Swedish // xl('Swedish')
43 // Turkish // xl('Turkish')
45 // OS-dependent stuff.
46 if (stristr(PHP_OS, 'WIN')) {
47 // MS Windows
48 $mysql_bin_dir = 'C:/xampp/mysql/bin';
49 $perl_bin_dir = 'C:/xampp/perl/bin';
50 $temporary_files_dir = 'C:/windows/temp';
51 $backup_log_dir = 'C:/windows/temp';
53 else {
54 // Everything else
55 $mysql_bin_dir = '/usr/bin';
56 $perl_bin_dir = '/usr/bin';
57 $temporary_files_dir = '/tmp';
58 $backup_log_dir = '/tmp';
61 // Language constant declarations:
62 // xl('Appearance')
63 // xl('Locale')
64 // xl('Features')
65 // xl('Calendar')
66 // xl('Security')
67 // xl('Notifications')
68 // xl('Miscellaneous')
70 // List of user specific tabs and globals
71 $USER_SPECIFIC_TABS = array('Appearance',
72 'Locale',
73 'Calendar');
74 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
75 'concurrent_layout',
76 'css_header',
77 'units_of_measurement',
78 'date_display_format',
79 'time_display_format',
80 'event_color');
82 $GLOBALS_METADATA = array(
84 // Appearance Tab
86 'Appearance' => array(
88 'default_top_pane' => array(
89 xl('Main Top Pane Screen'), // descriptive name
90 array(
91 'main_info.php' => xl('Calendar Screen'),
92 '../new/new.php' => xl('Patient Search/Add Screen'),
94 'main_info.php', // default = calendar
95 xl('Type of screen layout')
98 'concurrent_layout' => array(
99 xl('Layout Style'), // descriptive name
100 array(
101 '0' => xl('Old style layout with no left menu'),
102 '1' => xl('Navigation menu consists of pairs of radio buttons'),
103 '2' => xl('Navigation menu is a tree view'),
104 '3' => xl('Navigation uses a sliding menu'),
106 '3', // default = tree menu
107 xl('Type of screen layout')
110 'css_header' => array(
111 xl('Theme'),
112 'css',
113 'style_oemr.css',
114 xl('Pick a CSS theme.')
117 'gbl_nav_area_width' => array(
118 xl('Navigation Area Width'),
119 'num',
120 '150',
121 xl('Width in pixels of the left navigation frame.')
124 'openemr_name' => array(
125 xl('Application Title'),
126 'text',
127 'OpenEMR',
128 xl('Application name for login page and main window title.')
131 'full_new_patient_form' => array(
132 xl('New Patient Form'),
133 array(
134 '0' => xl('Old-style static form without search or duplication check'),
135 '1' => xl('All demographics fields, with search and duplication check'),
136 '2' => xl('Mandatory or specified fields only, search and dup check'),
137 '3' => xl('Mandatory or specified fields only, dup check, no search'),
139 '1', // default
140 xl('Style of form used for adding new patients')
143 'patient_search_results_style' => array(
144 xl('Patient Search Results Style'),
145 array(
146 '0' => xl('Encounter statistics'),
147 '1' => xl('Mandatory and specified fields'),
149 '0', // default
150 xl('Type of columns displayed for patient search results')
153 'gbl_tall_nav_area' => array(
154 xl('Tall Navigation Area'),
155 'bool', // data type
156 '0', // default = false
157 xl('Navigation area uses full height of frameset')
160 'gbl_nav_visit_forms' => array(
161 xl('Navigation Area Visit Forms'),
162 'bool', // data type
163 '1', // default = true
164 xl('Navigation area includes encounter forms')
167 'simplified_demographics' => array(
168 xl('Simplified Demographics'),
169 'bool', // data type
170 '0', // default = false
171 xl('Omit insurance and some other things from the demographics form')
174 'simplified_prescriptions' => array(
175 xl('Simplified Prescriptions'),
176 'bool', // data type
177 '0', // default = false
178 xl('Omit form, route and interval which then become part of dosage')
181 'simplified_copay' => array(
182 xl('Simplified Co-Pay'),
183 'bool', // data type
184 '0', // default = false
185 xl('Omit method of payment from the co-pay panel')
188 'use_charges_panel' => array(
189 xl('Use Charges Panel'),
190 'bool', // data type
191 '0', // default = false
192 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
195 'online_support_link' => array(
196 xl('Online Support Link'),
197 'text', // data type
198 'http://sourceforge.net/projects/openemr/support',
199 xl('URL for OpenEMR support.')
204 // Locale Tab
206 'Locale' => array(
208 'language_default' => array(
209 xl('Default Language'),
210 'lang', // data type
211 'English (Standard)', // default = english
212 xl('Default language if no other is allowed or chosen.')
215 'language_menu_showall' => array(
216 xl('All Languages Allowed'),
217 'bool', // data type
218 '1', // default = true
219 xl('Allow all available languages as choices on menu at login.')
222 'language_menu_other' => array(
223 xl('Allowed Languages'),
224 'm_lang', // data type
225 '', // default = none
226 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
229 'allow_debug_language' => array(
230 xl('Allow Debugging Language'),
231 'bool', // data type
232 '1', // default = true during development and false for production releases
233 xl('This will allow selection of the debugging (\'dummy\') language.')
236 'translate_layout' => array(
237 xl('Translate Layouts'),
238 'bool', // data type
239 '1', // default = true
240 xl('Is text from form layouts to be translated?')
243 'translate_lists' => array(
244 xl('Translate Lists'),
245 'bool', // data type
246 '1', // default = true
247 xl('Is text from lists to be translated?')
250 'translate_gacl_groups' => array(
251 xl('Translate Access Control Groups'),
252 'bool', // data type
253 '1', // default = true
254 xl('Are access control group names to be translated?')
257 'translate_form_titles' => array(
258 xl('Translate Patient Note Titles'),
259 'bool', // data type
260 '1', // default = true
261 xl('Are patient note titles to be translated?')
264 'translate_document_categories' => array(
265 xl('Translate Document Categories'),
266 'bool', // data type
267 '1', // default = true
268 xl('Are document category names to be translated?')
271 'translate_appt_categories' => array(
272 xl('Translate Appointment Categories'),
273 'bool', // data type
274 '1', // default = true
275 xl('Are appointment category names to be translated?')
278 'units_of_measurement' => array(
279 xl('Units for Visit Forms'),
280 array(
281 '1' => xl('Show both US and metric (main unit is US)'),
282 '2' => xl('Show both US and metric (main unit is metric)'),
283 '3' => xl('Show US only'),
284 '4' => xl('Show metric only'),
286 '1', // default = Both/US
287 xl('Applies to the Vitals form and Growth Chart')
290 'disable_deprecated_metrics_form' => array(
291 xl('Disable Old Metric Vitals Form'),
292 'bool', // data type
293 '1', // default = true
294 xl('This was the older metric-only Vitals form, now deprecated.')
297 'phone_country_code' => array(
298 xl('Telephone Country Code'),
299 'num',
300 '1', // default = North America
301 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
304 'date_display_format' => array(
305 xl('Date Display Format'),
306 array(
307 '0' => xl('YYYY-MM-DD'),
308 '1' => xl('MM/DD/YYYY'),
309 '2' => xl('DD/MM/YYYY'),
311 '0',
312 xl('Format used to display most dates.')
315 'time_display_format' => array(
316 xl('Time Display Format'),
317 array(
318 '0' => xl('24 hr'),
319 '1' => xl('12 hr'),
321 '0',
322 xl('Format used to display most times.')
325 'currency_decimals' => array(
326 xl('Currency Decimal Places'),
327 array(
328 '0' => xl('0'),
329 '1' => xl('1'),
330 '2' => xl('2'),
332 '2',
333 xl('Number of digits after decimal point for currency, usually 0 or 2.')
336 'currency_dec_point' => array(
337 xl('Currency Decimal Point Symbol'),
338 array(
339 '.' => xl('Period'),
340 ',' => xl('Comma'),
342 '.',
343 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
346 'currency_thousands_sep' => array(
347 xl('Currency Thousands Separator'),
348 array(
349 ',' => xl('Comma'),
350 '.' => xl('Period'),
351 ' ' => xl('Space'),
352 '' => xl('None'),
354 ',',
355 xl('Symbol used to separate thousands for currency.')
358 'gbl_currency_symbol' => array(
359 xl('Currency Designator'),
360 'text', // data type
361 '$', // default
362 xl('Code or symbol to indicate currency')
367 // Features Tab
369 'Features' => array(
371 'specific_application' => array(
372 xl('Specific Application'),
373 array(
374 '0' => xl('None'),
375 '1' => xl('Athletic team'),
376 '2' => xl('IPPF'),
377 '3' => xl('Weight loss clinic'),
379 '0', // default
380 xl('Indicator for specialized usage')
383 'inhouse_pharmacy' => array(
384 xl('Drugs and Products'),
385 array(
386 '0' => xl('Do not inventory and sell any products'),
387 '1' => xl('Inventory and sell drugs only'),
388 '2' => xl('Inventory and sell both drugs and non-drug products'),
389 '3' => xl('Products but no prescription drugs and no templates'),
391 '0', // default
392 xl('Option to support inventory and sales of products')
395 'disable_chart_tracker' => array(
396 xl('Disable Chart Tracker'),
397 'bool', // data type
398 '0', // default = false
399 xl('Removes the Chart Tracker feature')
402 'disable_phpmyadmin_link' => array(
403 xl('Disable phpMyAdmin'),
404 'bool', // data type
405 '0', // default = false
406 xl('Removes support for phpMyAdmin')
409 'disable_immunizations' => array(
410 xl('Disable Immunizations'),
411 'bool', // data type
412 '0', // default = false
413 xl('Removes support for immunizations')
416 'disable_prescriptions' => array(
417 xl('Disable Prescriptions'),
418 'bool', // data type
419 '0', // default = false
420 xl('Removes support for prescriptions')
423 'omit_employers' => array(
424 xl('Omit Employers'),
425 'bool', // data type
426 '0', // default = false
427 xl('Omit employer information in patient demographics')
430 'select_multi_providers' => array(
431 xl('Support Multi-Provider Events'),
432 'bool', // data type
433 '0', // default = false
434 xl('Support calendar events that apply to multiple providers')
437 'disable_non_default_groups' => array(
438 xl('Disable User Groups'),
439 'bool', // data type
440 '1', // default = true
441 xl('Normally this should be checked. Not related to access control.')
444 'ignore_pnotes_authorization' => array(
445 xl('Skip Authorization of Patient Notes'),
446 'bool', // data type
447 '1', // default = true
448 xl('Do not require patient notes to be authorized')
451 'support_encounter_claims' => array(
452 xl('Allow Encounter Claims'),
453 'bool', // data type
454 '0', // default = false
455 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
458 'advance_directives_warning' => array(
459 xl('Advance Directives Warning'),
460 'bool', // data type
461 '0', // default = false
462 xl('Display advance directives in the demographics page.')
465 'configuration_import_export' => array(
466 xl('Configuration Export/Import'),
467 'bool', // data type
468 '0', // default = false
469 xl('Support export/import of configuration data via the Backup page.')
472 'restrict_user_facility' => array(
473 xl('Restrict Users to Facilities'),
474 'bool', // data type
475 '0', // default
476 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
479 'set_facility_cookie' => array(
480 xl('Remember Selected Facility'),
481 'bool', // data type
482 '0', // default
483 xl('Set a facility cookie to remember the selected facility between logins.')
486 'discount_by_money' => array(
487 xl('Discounts as Monetary Amounts'),
488 'bool', // data type
489 '1', // default = true
490 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
493 'gbl_visit_referral_source' => array(
494 xl('Referral Source for Encounters'),
495 'bool', // data type
496 '0', // default = false
497 xl('A referral source may be specified for each visit.')
500 'gbl_mask_patient_id' => array(
501 xl('Mask for Patient IDs'),
502 'text', // data type
503 '', // default
504 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
507 'gbl_mask_invoice_number' => array(
508 xl('Mask for Invoice Numbers'),
509 'text', // data type
510 '', // default
511 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
514 'gbl_mask_product_id' => array(
515 xl('Mask for Product IDs'),
516 'text', // data type
517 '', // default
518 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
521 'force_billing_widget_open' => array(
522 xl('Force Billing Widget Open'),
523 'bool', // data type
524 '0', // default = false
525 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
528 'activate_ccr_ccd_report' => array(
529 xl('Activate CCR/CCD Reporting'),
530 'bool', // data type
531 '0', // default = false
532 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
535 'hide_document_encryption' => array(
536 xl('Hide Encryption/Decryption Options In Document Management'),
537 'bool', // data type
538 '1', // default = true
539 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
544 // Calendar Tab
546 'Calendar' => array(
548 'disable_calendar' => array(
549 xl('Disable Calendar'),
550 'bool', // data type
551 '0', // default
552 xl('Do not display the calendar.')
555 'schedule_start' => array(
556 xl('Calendar Starting Hour'),
557 'hour',
558 '8', // default
559 xl('Beginning hour of day for calendar events.')
562 'schedule_end' => array(
563 xl('Calendar Ending Hour'),
564 'hour',
565 '17', // default
566 xl('Ending hour of day for calendar events.')
569 'calendar_interval' => array(
570 xl('Calendar Interval'),
571 array(
572 '5' => '5',
573 '10' => '10',
574 '15' => '15',
575 '20' => '20',
576 '30' => '30',
577 '60' => '60',
579 '15', // default
580 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
583 'calendar_appt_style' => array(
584 xl('Appointment Display Style'),
585 array(
586 '1' => 'Last name',
587 '2' => 'Last name, first name',
588 '3' => 'Last name, first name (title)',
589 '4' => 'Last name, first name (title: description)',
591 '2', // default
592 xl('This determines how appointments display on the calendar.')
595 'docs_see_entire_calendar' => array(
596 xl('Providers See Entire Calendar'),
597 'bool', // data type
598 '0', // default
599 xl('Check this if you want providers to see all appointments by default and not just their own.')
602 'auto_create_new_encounters' => array(
603 xl('Auto-Create New Encounters'),
604 'bool', // data type
605 '1', // default
606 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
609 'event_color' => array(
610 xl('Appointment/Event Color'),
611 array(
612 '1' => 'Category Color Schema',
613 '2' => 'Facility Color Schema',
614 ), // data type
615 '1', // default
616 xl('This determines which color schema used for appointment')
621 // Security Tab
623 'Security' => array(
625 'timeout' => array(
626 xl('Idle Session Timeout Seconds'),
627 'num', // data type
628 '7200', // default
629 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
632 'secure_password' => array(
633 xl('Require Strong Passwords'),
634 'bool', // data type
635 '0', // default
636 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
639 'password_history' => array(
640 xl('Require Unique Passwords'),
641 'bool', // data type
642 '0', // default
643 xl('Means none of last three passwords are allowed when changing a password.')
646 'password_expiration_days' => array(
647 xl('Default Password Expiration Days'),
648 'num', // data type
649 '0', // default
650 xl('Default password expiration period in days. 0 means this feature is disabled.')
653 'password_grace_time' => array(
654 xl('Password Expiration Grace Period'),
655 'num', // data type
656 '0', // default
657 xl('Period in days where a user may login with an expired password.')
660 'is_client_ssl_enabled' => array(
661 xl('Enable Client SSL'),
662 'bool', // data type
663 '0', // default
664 xl('Enable client SSL certificate authentication.')
667 'certificate_authority_crt' => array(
668 xl('Path to CA Certificate File'),
669 'text', // data type
670 '', // default
671 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
674 'certificate_authority_key' => array(
675 xl('Path to CA Key File'),
676 'text', // data type
677 '', // default
678 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
681 'client_certificate_valid_in_days' => array(
682 xl('Client Certificate Expiration Days'),
683 'num', // data type
684 '365', // default
685 xl('Number of days that the client certificate is valid.')
688 'Emergency_Login_email_id' => array(
689 xl('Emergency Login Email Address'),
690 'text', // data type
691 '', // default
692 xl('Email address, if any, to receive emergency login user activation messages.')
697 // Notifications Tab
699 'Notifications' => array(
701 'patient_reminder_sender_name' => array(
702 xl('Patient Reminder Sender Name'),
703 'text', // data type
704 '', // default
705 xl('Name of the sender for patient reminders.')
708 'patient_reminder_sender_email' => array(
709 xl('Patient Reminder Sender Email'),
710 'text', // data type
711 '', // default
712 xl('Email address of the sender for patient reminders. Replies to patient reminders will be directed to this address. It is important to use an address from your clinic\'s domain to avoid help prevent patient reminders from going to junk mail folders.')
715 'practice_return_email_path' => array(
716 xl('Notification Email Address'),
717 'text', // data type
718 '', // default
719 xl('Email address, if any, to receive administrative notifications.')
722 'EMAIL_METHOD' => array(
723 xl('Email Transport Method'),
724 array(
725 'PHPMAIL' => 'PHPMAIL',
726 'SENDMAIL' => 'SENDMAIL',
727 'SMTP' => 'SMTP',
729 'SMTP', // default
730 xl('Method for sending outgoing email.')
733 'SMTP_HOST' => array(
734 xl('SMTP Server Hostname'),
735 'text', // data type
736 'localhost', // default
737 xl('If SMTP is used, the server`s hostname or IP address.')
740 'SMTP_PORT' => array(
741 xl('SMTP Server Port Number'),
742 'num', // data type
743 '25', // default
744 xl('If SMTP is used, the server`s TCP port number (usually 25).')
747 'SMTP_USER' => array(
748 xl('SMTP User for Authentication'),
749 'text', // data type
750 '', // default
751 xl('Must be empty if SMTP authentication is not used.')
754 'SMTP_PASS' => array(
755 xl('SMTP Password for Authentication'),
756 'text', // data type
757 '', // default
758 xl('Must be empty if SMTP authentication is not used.')
761 'EMAIL_NOTIFICATION_HOUR' => array(
762 xl('Email Notification Hours'),
763 'num', // data type
764 '50', // default
765 xl('Number of hours in advance to send email notifications.')
768 'SMS_NOTIFICATION_HOUR' => array(
769 xl('SMS Notification Hours'),
770 'num', // data type
771 '50', // default
772 xl('Number of hours in advance to send SMS notifications.')
775 'SMS_GATEWAY_USENAME' => array(
776 xl('SMS Gateway Username'),
777 'text', // data type
778 '', // default
779 xl('Username for SMS Gateway.')
782 'SMS_GATEWAY_PASSWORD' => array(
783 xl('SMS Gateway Password'),
784 'text', // data type
785 '', // default
786 xl('Password for SMS Gateway.')
789 'SMS_GATEWAY_APIKEY' => array(
790 xl('SMS Gateway API Key'),
791 'text', // data type
792 '', // default
793 xl('API key for SMS Gateway.')
796 'phone_notification_hour' => array(
797 xl('Phone Notification Hour'),
798 'num', // data type
799 '50', // default
800 xl('Number of hours in advance to send Phone notification.')
803 'phone_gateway_username' => array(
804 xl('Phone Gateway Username'),
805 'text', // data type
806 '', // default
807 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
810 'phone_gateway_password' => array(
811 xl('Phone Gateway Password'),
812 'text', // data type
813 '', // default
814 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
817 'phone_gateway_url' => array(
818 xl('Phone Gateway URL'),
819 'text', // data type
820 '', // default
821 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
826 // CDR (Clinical Decision Rules)
828 'CDR' => array(
830 'enable_cdr' => array(
831 xl('Enable Clinical Decisions Rules (CDR)'),
832 'bool', // data type
833 '1', // default
834 xl('Enable Clinical Decisions Rules (CDR)')
837 'enable_cdr_crw' => array(
838 xl('Enable Clinical Reminder Widget'),
839 'bool', // data type
840 '1', // default
841 xl('Enable Clinical Reminder Widget')
844 'enable_cdr_prw' => array(
845 xl('Enable Patient Reminder Widget'),
846 'bool', // data type
847 '1', // default
848 xl('Enable Patient Reminder Widget')
851 'pqri_registry_name' => array(
852 xl('PQRI Registry Name'),
853 'text', // data type
854 'Model Registry', // default
855 xl('PQRI Registry Name')
858 'pqri_registry_id' => array(
859 xl('PQRI Registry ID'),
860 'text', // data type
861 '125789123', // default
862 xl('PQRI Registry ID')
867 // Logging
869 'Logging' => array(
871 'enable_auditlog' => array(
872 xl('Enable Audit Logging'),
873 'bool', // data type
874 '1', // default
875 xl('Enable Audit Logging')
878 'audit_events_patient-record' => array(
879 xl('Audit Logging Patient Record'),
880 'bool', // data type
881 '1', // default
882 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
885 'audit_events_scheduling' => array(
886 xl('Audit Logging Scheduling'),
887 'bool', // data type
888 '1', // default
889 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
892 'audit_events_order' => array(
893 xl('Audit Logging Order'),
894 'bool', // data type
895 '1', // default
896 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
899 'audit_events_security-administration' => array(
900 xl('Audit Logging Security Administration'),
901 'bool', // data type
902 '1', // default
903 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
906 'audit_events_backup' => array(
907 xl('Audit Logging Backups'),
908 'bool', // data type
909 '1', // default
910 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
913 'audit_events_other' => array(
914 xl('Audit Logging Miscellaneous'),
915 'bool', // data type
916 '1', // default
917 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
920 'audit_events_query' => array(
921 xl('Audit Logging SELECT Query'),
922 'bool', // data type
923 '0', // default
924 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
927 'enable_atna_audit' => array(
928 xl('Enable ATNA Auditing'),
929 'bool', // data type
930 '0', // default
931 xl('Enable Audit Trail and Node Authentication (ATNA).')
934 'atna_audit_host' => array(
935 xl('ATNA audit host'),
936 'text', // data type
937 '', // default
938 xl('The hostname of the ATNA audit repository machine.')
941 'atna_audit_port' => array(
942 xl('ATNA audit port'),
943 'text', // data type
944 '6514', // default
945 xl('Listening port of the RFC 5425 TLS syslog server.')
948 'atna_audit_localcert' => array(
949 xl('ATNA audit local certificate'),
950 'text', // data type
951 '', // default
952 xl('Certificate to send to RFC 5425 TLS syslog server.')
955 'atna_audit_cacert' => array(
956 xl('ATNA audit CA certificate'),
957 'text', // data type
958 '', // default
959 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
964 // Miscellaneous Tab
966 'Miscellaneous' => array(
968 'mysql_bin_dir' => array(
969 xl('Path to MySQL Binaries'),
970 'text', // data type
971 $mysql_bin_dir, // default
972 xl('Full path to directory containing MySQL executables.')
975 'perl_bin_dir' => array(
976 xl('Path to Perl Binaries'),
977 'text', // data type
978 $perl_bin_dir, // default
979 xl('Full path to directory containing Perl executables.')
982 'temporary_files_dir' => array(
983 xl('Path to Temporary Files'),
984 'text', // data type
985 $temporary_files_dir, // default
986 xl('Full path to directory used for temporary files.')
989 'backup_log_dir' => array(
990 xl('Path for Event Log Backup'),
991 'text', // data type
992 $backup_log_dir, // default
993 xl('Full path to directory for event log backup.')
996 'state_data_type' => array(
997 xl('State Data Type'),
998 array(
999 '2' => xl('Text field'),
1000 '1' => xl('Single-selection list'),
1001 '26' => xl('Single-selection list with ability to add to the list'),
1003 '26', // default
1004 xl('Field type to use for employer or subscriber state in demographics.')
1007 'state_list' => array(
1008 xl('State list'),
1009 'text', // data type
1010 'state', // default
1011 xl('List used by above State Data Type option.')
1014 'state_custom_addlist_widget' => array(
1015 xl('State List Widget Custom Fields'),
1016 'bool', // data type
1017 '1', // default
1018 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1021 'country_data_type' => array(
1022 xl('Country Data Type'),
1023 array(
1024 '2' => xl('Text field'),
1025 '1' => xl('Single-selection list'),
1026 '26' => xl('Single-selection list with ability to add to the list'),
1028 '26', // default
1029 xl('Field type to use for employer or subscriber country in demographics.')
1032 'country_list' => array(
1033 xl('Country list'),
1034 'text', // data type
1035 'country', // default
1036 xl('List used by above Country Data Type option.')
1039 'print_command' => array(
1040 xl('Print Command'),
1041 'text', // data type
1042 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1043 xl('Shell command for printing from the server.')
1046 'default_chief_complaint' => array(
1047 xl('Default Reason for Visit'),
1048 'text', // data type
1050 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1053 'default_new_encounter_form' => array(
1054 xl('Default Encounter Form ID'),
1055 'text', // data type
1057 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1060 'patient_id_category_name' => array(
1061 xl('Patient ID Category Name'),
1062 'text', // data type
1063 'Patient ID card', // default
1064 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1067 'patient_photo_category_name' => array(
1068 xl('Patient Photo Category Name'),
1069 'text', // data type
1070 'Patient Photograph', // default
1071 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1074 'MedicareReferrerIsRenderer' => array(
1075 xl('Medicare Referrer Is Renderer'),
1076 'bool', // data type
1077 '0', // default = true
1078 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1081 'post_to_date_benchmark' => array(
1082 xl('Financial Close Date (yyyy-mm-dd)'),
1083 'text', // data type
1084 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1085 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1088 'enable_hylafax' => array(
1089 xl('Enable Hylafax Support'),
1090 'bool', // data type
1091 '0', // default
1092 xl('Enable Hylafax Support')
1095 'hylafax_server' => array(
1096 xl('Hylafax Server'),
1097 'text', // data type
1098 'localhost', // default
1099 xl('Hylafax server hostname.')
1102 'hylafax_basedir' => array(
1103 xl('Hylafax Directory'),
1104 'text', // data type
1105 '/var/spool/fax', // default
1106 xl('Location where Hylafax stores faxes.')
1109 'hylafax_enscript' => array(
1110 xl('Hylafax Enscript Command'),
1111 'text', // data type
1112 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1113 xl('Enscript command used by Hylafax.')
1116 'enable_scanner' => array(
1117 xl('Enable Scanner Support'),
1118 'bool', // data type
1119 '0', // default
1120 xl('Enable Scanner Support')
1123 'scanner_output_directory' => array(
1124 xl('Scanner Directory'),
1125 'text', // data type
1126 '/mnt/scan_docs', // default
1127 xl('Location where scans are stored.')
1132 // Connectors Tab
1134 'Connectors' => array(
1136 'lab_exchange_enable' => array(
1137 xl('Enable Lab Exchange'),
1138 'bool', // data type
1139 '0',
1140 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1143 'lab_exchange_siteid' => array(
1144 xl('Lab Exchange Site ID'),
1145 'text', // data type
1146 '3',
1147 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1150 'lab_exchange_token' => array(
1151 xl('Lab Exchange Token ID'),
1152 'text', // data type
1153 '12345',
1154 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1157 'lab_exchange_endpoint' => array(
1158 xl('Lab Exchange Site Address'),
1159 'text', // data type
1160 'https://openemrsupport.com:29443/len/api',
1161 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')