CDR Module: Added CDR global options and secured the patient summary widgets with...
[openemr.git] / library / globals.inc.php
blobd10e8c81b4dc5c441a27fdd39b7de876ceba3056
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 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
74 'concurrent_layout',
75 'css_header',
76 'units_of_measurement',
77 'date_display_format',
78 'time_display_format');
80 $GLOBALS_METADATA = array(
82 // Appearance Tab
84 'Appearance' => array(
86 'default_top_pane' => array(
87 xl('Main Top Pane Screen'), // descriptive name
88 array(
89 'main_info.php' => xl('Calendar Screen'),
90 '../new/new.php' => xl('Patient Search/Add Screen'),
92 'main_info.php', // default = calendar
93 xl('Type of screen layout')
96 'concurrent_layout' => array(
97 xl('Layout Style'), // descriptive name
98 array(
99 '0' => xl('Old style layout with no left menu'),
100 '1' => xl('Navigation menu consists of pairs of radio buttons'),
101 '2' => xl('Navigation menu is a tree view'),
102 '3' => xl('Navigation uses a sliding menu'),
104 '3', // default = tree menu
105 xl('Type of screen layout')
108 'css_header' => array(
109 xl('Theme'),
110 'css',
111 'style_oemr.css',
112 xl('Pick a CSS theme.')
115 'gbl_nav_area_width' => array(
116 xl('Navigation Area Width'),
117 'num',
118 '150',
119 xl('Width in pixels of the left navigation frame.')
122 'openemr_name' => array(
123 xl('Application Title'),
124 'text',
125 'OpenEMR',
126 xl('Application name for login page and main window title.')
129 'full_new_patient_form' => array(
130 xl('New Patient Form'),
131 array(
132 '0' => xl('Old-style static form without search or duplication check'),
133 '1' => xl('All demographics fields, with search and duplication check'),
134 '2' => xl('Mandatory or specified fields only, search and dup check'),
135 '3' => xl('Mandatory or specified fields only, dup check, no search'),
137 '1', // default
138 xl('Style of form used for adding new patients')
141 'patient_search_results_style' => array(
142 xl('Patient Search Results Style'),
143 array(
144 '0' => xl('Encounter statistics'),
145 '1' => xl('Mandatory and specified fields'),
147 '0', // default
148 xl('Type of columns displayed for patient search results')
151 'simplified_demographics' => array(
152 xl('Simplified Demographics'),
153 'bool', // data type
154 '0', // default = false
155 xl('Omit insurance and some other things from the demographics form')
158 'simplified_prescriptions' => array(
159 xl('Simplified Prescriptions'),
160 'bool', // data type
161 '0', // default = false
162 xl('Omit form, route and interval which then become part of dosage')
165 'simplified_copay' => array(
166 xl('Simplified Co-Pay'),
167 'bool', // data type
168 '0', // default = false
169 xl('Omit method of payment from the co-pay panel')
172 'use_charges_panel' => array(
173 xl('Use Charges Panel'),
174 'bool', // data type
175 '0', // default = false
176 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
179 'online_support_link' => array(
180 xl('Online Support Link'),
181 'text', // data type
182 'http://sourceforge.net/projects/openemr/support',
183 xl('URL for OpenEMR support.')
188 // Locale Tab
190 'Locale' => array(
192 'language_default' => array(
193 xl('Default Language'),
194 'lang', // data type
195 'English (Standard)', // default = english
196 xl('Default language if no other is allowed or chosen.')
199 'language_menu_showall' => array(
200 xl('All Languages Allowed'),
201 'bool', // data type
202 '1', // default = true
203 xl('Allow all available languages as choices on menu at login.')
206 'language_menu_other' => array(
207 xl('Allowed Languages'),
208 'm_lang', // data type
209 '', // default = none
210 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
213 'allow_debug_language' => array(
214 xl('Allow Debugging Language'),
215 'bool', // data type
216 '1', // default = true during development and false for production releases
217 xl('This will allow selection of the debugging (\'dummy\') language.')
220 'translate_layout' => array(
221 xl('Translate Layouts'),
222 'bool', // data type
223 '1', // default = true
224 xl('Is text from form layouts to be translated?')
227 'translate_lists' => array(
228 xl('Translate Lists'),
229 'bool', // data type
230 '1', // default = true
231 xl('Is text from lists to be translated?')
234 'translate_gacl_groups' => array(
235 xl('Translate Access Control Groups'),
236 'bool', // data type
237 '1', // default = true
238 xl('Are access control group names to be translated?')
241 'translate_form_titles' => array(
242 xl('Translate Patient Note Titles'),
243 'bool', // data type
244 '1', // default = true
245 xl('Are patient note titles to be translated?')
248 'translate_document_categories' => array(
249 xl('Translate Document Categories'),
250 'bool', // data type
251 '1', // default = true
252 xl('Are document category names to be translated?')
255 'translate_appt_categories' => array(
256 xl('Translate Appointment Categories'),
257 'bool', // data type
258 '1', // default = true
259 xl('Are appointment category names to be translated?')
262 'units_of_measurement' => array(
263 xl('Units for Visit Forms'),
264 array(
265 '1' => xl('Show both US and metric (main unit is US)'),
266 '2' => xl('Show both US and metric (main unit is metric)'),
267 '3' => xl('Show US only'),
268 '4' => xl('Show metric only'),
270 '1', // default = Both/US
271 xl('Applies to the Vitals form and Growth Chart')
274 'disable_deprecated_metrics_form' => array(
275 xl('Disable Old Metric Vitals Form'),
276 'bool', // data type
277 '1', // default = true
278 xl('This was the older metric-only Vitals form, now deprecated.')
281 'phone_country_code' => array(
282 xl('Telephone Country Code'),
283 'num',
284 '1', // default = North America
285 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
288 'date_display_format' => array(
289 xl('Date Display Format'),
290 array(
291 '0' => xl('YYYY-MM-DD'),
292 '1' => xl('MM/DD/YYYY'),
293 '2' => xl('DD/MM/YYYY'),
295 '0',
296 xl('Format used to display most dates.')
299 'time_display_format' => array(
300 xl('Time Display Format'),
301 array(
302 '0' => xl('24 hr'),
303 '1' => xl('12 hr'),
305 '0',
306 xl('Format used to display most times.')
309 'currency_decimals' => array(
310 xl('Currency Decimal Places'),
311 array(
312 '0' => xl('0'),
313 '1' => xl('1'),
314 '2' => xl('2'),
316 '2',
317 xl('Number of digits after decimal point for currency, usually 0 or 2.')
320 'currency_dec_point' => array(
321 xl('Currency Decimal Point Symbol'),
322 array(
323 '.' => xl('Period'),
324 ',' => xl('Comma'),
326 '.',
327 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
330 'currency_thousands_sep' => array(
331 xl('Currency Thousands Separator'),
332 array(
333 ',' => xl('Comma'),
334 '.' => xl('Period'),
335 ' ' => xl('Space'),
336 '' => xl('None'),
338 ',',
339 xl('Symbol used to separate thousands for currency.')
342 'gbl_currency_symbol' => array(
343 xl('Currency Designator'),
344 'text', // data type
345 '$', // default
346 xl('Code or symbol to indicate currency')
351 // Features Tab
353 'Features' => array(
355 'specific_application' => array(
356 xl('Specific Application'),
357 array(
358 '0' => xl('None'),
359 '1' => xl('Athletic team'),
360 '2' => xl('IPPF'),
361 '3' => xl('Weight loss clinic'),
363 '0', // default
364 xl('Indicator for specialized usage')
367 'inhouse_pharmacy' => array(
368 xl('Drugs and Products'),
369 array(
370 '0' => xl('Do not inventory and sell any products'),
371 '1' => xl('Inventory and sell drugs only'),
372 '2' => xl('Inventory and sell both drugs and non-drug products'),
373 '3' => xl('Products but no prescription drugs and no templates'),
375 '0', // default
376 xl('Option to support inventory and sales of products')
379 'disable_chart_tracker' => array(
380 xl('Disable Chart Tracker'),
381 'bool', // data type
382 '0', // default = false
383 xl('Removes the Chart Tracker feature')
386 'disable_phpmyadmin_link' => array(
387 xl('Disable phpMyAdmin'),
388 'bool', // data type
389 '0', // default = false
390 xl('Removes support for phpMyAdmin')
393 'disable_immunizations' => array(
394 xl('Disable Immunizations'),
395 'bool', // data type
396 '0', // default = false
397 xl('Removes support for immunizations')
400 'disable_prescriptions' => array(
401 xl('Disable Prescriptions'),
402 'bool', // data type
403 '0', // default = false
404 xl('Removes support for prescriptions')
407 'omit_employers' => array(
408 xl('Omit Employers'),
409 'bool', // data type
410 '0', // default = false
411 xl('Omit employer information in patient demographics')
414 'select_multi_providers' => array(
415 xl('Support Multi-Provider Events'),
416 'bool', // data type
417 '0', // default = false
418 xl('Support calendar events that apply to multiple providers')
421 'disable_non_default_groups' => array(
422 xl('Disable User Groups'),
423 'bool', // data type
424 '1', // default = true
425 xl('Normally this should be checked. Not related to access control.')
428 'ignore_pnotes_authorization' => array(
429 xl('Skip Authorization of Patient Notes'),
430 'bool', // data type
431 '1', // default = true
432 xl('Do not require patient notes to be authorized')
435 'support_encounter_claims' => array(
436 xl('Allow Encounter Claims'),
437 'bool', // data type
438 '0', // default = false
439 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
442 'advance_directives_warning' => array(
443 xl('Advance Directives Warning'),
444 'bool', // data type
445 '0', // default = false
446 xl('Display advance directives in the demographics page.')
449 'configuration_import_export' => array(
450 xl('Configuration Export/Import'),
451 'bool', // data type
452 '0', // default = false
453 xl('Support export/import of configuration data via the Backup page.')
456 'restrict_user_facility' => array(
457 xl('Restrict Users to Facilities'),
458 'bool', // data type
459 '0', // default
460 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
463 'set_facility_cookie' => array(
464 xl('Remember Selected Facility'),
465 'bool', // data type
466 '0', // default
467 xl('Set a facility cookie to remember the selected facility between logins.')
470 'discount_by_money' => array(
471 xl('Discounts as Monetary Amounts'),
472 'bool', // data type
473 '1', // default = true
474 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
477 'gbl_visit_referral_source' => array(
478 xl('Referral Source for Encounters'),
479 'bool', // data type
480 '0', // default = false
481 xl('A referral source may be specified for each visit.')
484 'gbl_mask_patient_id' => array(
485 xl('Mask for Patient IDs'),
486 'text', // data type
487 '', // default
488 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
491 'gbl_mask_invoice_number' => array(
492 xl('Mask for Invoice Numbers'),
493 'text', // data type
494 '', // default
495 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
498 'gbl_mask_product_id' => array(
499 xl('Mask for Product IDs'),
500 'text', // data type
501 '', // default
502 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
505 'force_billing_widget_open' => array(
506 xl('Force Billing Widget Open'),
507 'bool', // data type
508 '0', // default = false
509 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
512 'activate_ccr_ccd_report' => array(
513 xl('Activate CCR/CCD Reporting'),
514 'bool', // data type
515 '0', // default = false
516 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
519 'hide_document_encryption' => array(
520 xl('Hide Encryption/Decryption Options In Document Management'),
521 'bool', // data type
522 '1', // default = true
523 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
528 // Calendar Tab
530 'Calendar' => array(
532 'disable_calendar' => array(
533 xl('Disable Calendar'),
534 'bool', // data type
535 '0', // default
536 xl('Do not display the calendar.')
539 'schedule_start' => array(
540 xl('Calendar Starting Hour'),
541 'hour',
542 '8', // default
543 xl('Beginning hour of day for calendar events.')
546 'schedule_end' => array(
547 xl('Calendar Ending Hour'),
548 'hour',
549 '17', // default
550 xl('Ending hour of day for calendar events.')
553 'calendar_interval' => array(
554 xl('Calendar Interval'),
555 array(
556 '5' => '5',
557 '10' => '10',
558 '15' => '15',
559 '20' => '20',
560 '30' => '30',
561 '60' => '60',
563 '15', // default
564 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
567 'calendar_appt_style' => array(
568 xl('Appointment Display Style'),
569 array(
570 '1' => 'Last name',
571 '2' => 'Last name, first name',
572 '3' => 'Last name, first name (title)',
573 '4' => 'Last name, first name (title: description)',
575 '2', // default
576 xl('This determines how appointments display on the calendar.')
579 'docs_see_entire_calendar' => array(
580 xl('Providers See Entire Calendar'),
581 'bool', // data type
582 '0', // default
583 xl('Check this if you want providers to see all appointments by default and not just their own.')
586 'auto_create_new_encounters' => array(
587 xl('Auto-Create New Encounters'),
588 'bool', // data type
589 '1', // default
590 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
595 // Security Tab
597 'Security' => array(
599 'timeout' => array(
600 xl('Idle Session Timeout Seconds'),
601 'num', // data type
602 '7200', // default
603 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
606 'secure_password' => array(
607 xl('Require Strong Passwords'),
608 'bool', // data type
609 '0', // default
610 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
613 'password_history' => array(
614 xl('Require Unique Passwords'),
615 'bool', // data type
616 '0', // default
617 xl('Means none of last three passwords are allowed when changing a password.')
620 'password_expiration_days' => array(
621 xl('Default Password Expiration Days'),
622 'num', // data type
623 '0', // default
624 xl('Default password expiration period in days. 0 means this feature is disabled.')
627 'password_grace_time' => array(
628 xl('Password Expiration Grace Period'),
629 'num', // data type
630 '0', // default
631 xl('Period in days where a user may login with an expired password.')
634 'is_client_ssl_enabled' => array(
635 xl('Enable Client SSL'),
636 'bool', // data type
637 '0', // default
638 xl('Enable client SSL certificate authentication.')
641 'certificate_authority_crt' => array(
642 xl('Path to CA Certificate File'),
643 'text', // data type
644 '', // default
645 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
648 'certificate_authority_key' => array(
649 xl('Path to CA Key File'),
650 'text', // data type
651 '', // default
652 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
655 'client_certificate_valid_in_days' => array(
656 xl('Client Certificate Expiration Days'),
657 'num', // data type
658 '365', // default
659 xl('Number of days that the client certificate is valid.')
662 'Emergency_Login_email_id' => array(
663 xl('Emergency Login Email Address'),
664 'text', // data type
665 '', // default
666 xl('Email address, if any, to receive emergency login user activation messages.')
671 // Notifications Tab
673 'Notifications' => array(
675 'patient_reminder_sender_name' => array(
676 xl('Patient Reminder Sender Name'),
677 'text', // data type
678 '', // default
679 xl('Name of the sender for patient reminders.')
682 'patient_reminder_sender_email' => array(
683 xl('Patient Reminder Sender Email'),
684 'text', // data type
685 '', // default
686 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.')
689 'practice_return_email_path' => array(
690 xl('Notification Email Address'),
691 'text', // data type
692 '', // default
693 xl('Email address, if any, to receive administrative notifications.')
696 'EMAIL_METHOD' => array(
697 xl('Email Transport Method'),
698 array(
699 'PHPMAIL' => 'PHPMAIL',
700 'SENDMAIL' => 'SENDMAIL',
701 'SMTP' => 'SMTP',
703 'SMTP', // default
704 xl('Method for sending outgoing email.')
707 'SMTP_HOST' => array(
708 xl('SMTP Server Hostname'),
709 'text', // data type
710 'localhost', // default
711 xl('If SMTP is used, the server`s hostname or IP address.')
714 'SMTP_PORT' => array(
715 xl('SMTP Server Port Number'),
716 'num', // data type
717 '25', // default
718 xl('If SMTP is used, the server`s TCP port number (usually 25).')
721 'SMTP_USER' => array(
722 xl('SMTP User for Authentication'),
723 'text', // data type
724 '', // default
725 xl('Must be empty if SMTP authentication is not used.')
728 'SMTP_PASS' => array(
729 xl('SMTP Password for Authentication'),
730 'text', // data type
731 '', // default
732 xl('Must be empty if SMTP authentication is not used.')
735 'EMAIL_NOTIFICATION_HOUR' => array(
736 xl('Email Notification Hours'),
737 'num', // data type
738 '50', // default
739 xl('Number of hours in advance to send email notifications.')
742 'SMS_NOTIFICATION_HOUR' => array(
743 xl('SMS Notification Hours'),
744 'num', // data type
745 '50', // default
746 xl('Number of hours in advance to send SMS notifications.')
749 'SMS_GATEWAY_USENAME' => array(
750 xl('SMS Gateway Username'),
751 'text', // data type
752 '', // default
753 xl('Username for SMS Gateway.')
756 'SMS_GATEWAY_PASSWORD' => array(
757 xl('SMS Gateway Password'),
758 'text', // data type
759 '', // default
760 xl('Password for SMS Gateway.')
763 'SMS_GATEWAY_APIKEY' => array(
764 xl('SMS Gateway API Key'),
765 'text', // data type
766 '', // default
767 xl('API key for SMS Gateway.')
770 'phone_notification_hour' => array(
771 xl('Phone Notification Hour'),
772 'num', // data type
773 '50', // default
774 xl('Number of hours in advance to send Phone notification.')
777 'phone_gateway_username' => array(
778 xl('Phone Gateway Username'),
779 'text', // data type
780 '', // default
781 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
784 'phone_gateway_password' => array(
785 xl('Phone Gateway Password'),
786 'text', // data type
787 '', // default
788 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
791 'phone_gateway_url' => array(
792 xl('Phone Gateway URL'),
793 'text', // data type
794 '', // default
795 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
800 // CDR (Clinical Decision Rules)
802 'CDR' => array(
804 'enable_cdr' => array(
805 xl('Enable Clinical Decisions Rules (CDR)'),
806 'bool', // data type
807 '1', // default
808 xl('Enable Clinical Decisions Rules (CDR)')
811 'enable_cdr_crw' => array(
812 xl('Enable Clinical Reminder Widget'),
813 'bool', // data type
814 '1', // default
815 xl('Enable Clinical Reminder Widget')
818 'enable_cdr_prw' => array(
819 xl('Enable Patient Reminder Widget'),
820 'bool', // data type
821 '1', // default
822 xl('Enable Patient Reminder Widget')
825 'pqri_registry_name' => array(
826 xl('PQRI Registry Name'),
827 'text', // data type
828 'Model Registry', // default
829 xl('PQRI Registry Name')
832 'pqri_registry_id' => array(
833 xl('PQRI Registry ID'),
834 'text', // data type
835 '125789123', // default
836 xl('PQRI Registry ID')
841 // Logging
843 'Logging' => array(
845 'enable_auditlog' => array(
846 xl('Enable Audit Logging'),
847 'bool', // data type
848 '1', // default
849 xl('Enable Audit Logging')
852 'audit_events_patient-record' => array(
853 xl('Audit Logging Patient Record'),
854 'bool', // data type
855 '1', // default
856 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
859 'audit_events_scheduling' => array(
860 xl('Audit Logging Scheduling'),
861 'bool', // data type
862 '1', // default
863 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
866 'audit_events_order' => array(
867 xl('Audit Logging Order'),
868 'bool', // data type
869 '1', // default
870 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
873 'audit_events_security-administration' => array(
874 xl('Audit Logging Security Administration'),
875 'bool', // data type
876 '1', // default
877 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
880 'audit_events_backup' => array(
881 xl('Audit Logging Backups'),
882 'bool', // data type
883 '1', // default
884 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
887 'audit_events_other' => array(
888 xl('Audit Logging Miscellaneous'),
889 'bool', // data type
890 '1', // default
891 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
894 'audit_events_query' => array(
895 xl('Audit Logging SELECT Query'),
896 'bool', // data type
897 '0', // default
898 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
901 'enable_atna_audit' => array(
902 xl('Enable ATNA Auditing'),
903 'bool', // data type
904 '0', // default
905 xl('Enable Audit Trail and Node Authentication (ATNA).')
908 'atna_audit_host' => array(
909 xl('ATNA audit host'),
910 'text', // data type
911 '', // default
912 xl('The hostname of the ATNA audit repository machine.')
915 'atna_audit_port' => array(
916 xl('ATNA audit port'),
917 'text', // data type
918 '6514', // default
919 xl('Listening port of the RFC 5425 TLS syslog server.')
922 'atna_audit_localcert' => array(
923 xl('ATNA audit local certificate'),
924 'text', // data type
925 '', // default
926 xl('Certificate to send to RFC 5425 TLS syslog server.')
929 'atna_audit_cacert' => array(
930 xl('ATNA audit CA certificate'),
931 'text', // data type
932 '', // default
933 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
938 // Miscellaneous Tab
940 'Miscellaneous' => array(
942 'mysql_bin_dir' => array(
943 xl('Path to MySQL Binaries'),
944 'text', // data type
945 $mysql_bin_dir, // default
946 xl('Full path to directory containing MySQL executables.')
949 'perl_bin_dir' => array(
950 xl('Path to Perl Binaries'),
951 'text', // data type
952 $perl_bin_dir, // default
953 xl('Full path to directory containing Perl executables.')
956 'temporary_files_dir' => array(
957 xl('Path to Temporary Files'),
958 'text', // data type
959 $temporary_files_dir, // default
960 xl('Full path to directory used for temporary files.')
963 'backup_log_dir' => array(
964 xl('Path for Event Log Backup'),
965 'text', // data type
966 $backup_log_dir, // default
967 xl('Full path to directory for event log backup.')
970 'state_data_type' => array(
971 xl('State Data Type'),
972 array(
973 '2' => xl('Text field'),
974 '1' => xl('Single-selection list'),
975 '26' => xl('Single-selection list with ability to add to the list'),
977 '26', // default
978 xl('Field type to use for employer or subscriber state in demographics.')
981 'state_list' => array(
982 xl('State list'),
983 'text', // data type
984 'state', // default
985 xl('List used by above State Data Type option.')
988 'state_custom_addlist_widget' => array(
989 xl('State List Widget Custom Fields'),
990 'bool', // data type
991 '1', // default
992 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
995 'country_data_type' => array(
996 xl('Country Data Type'),
997 array(
998 '2' => xl('Text field'),
999 '1' => xl('Single-selection list'),
1000 '26' => xl('Single-selection list with ability to add to the list'),
1002 '26', // default
1003 xl('Field type to use for employer or subscriber country in demographics.')
1006 'country_list' => array(
1007 xl('Country list'),
1008 'text', // data type
1009 'country', // default
1010 xl('List used by above Country Data Type option.')
1013 'print_command' => array(
1014 xl('Print Command'),
1015 'text', // data type
1016 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1017 xl('Shell command for printing from the server.')
1020 'default_chief_complaint' => array(
1021 xl('Default Reason for Visit'),
1022 'text', // data type
1024 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1027 'default_new_encounter_form' => array(
1028 xl('Default Encounter Form ID'),
1029 'text', // data type
1031 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1034 'patient_id_category_name' => array(
1035 xl('Patient ID Category Name'),
1036 'text', // data type
1037 'Patient ID card', // default
1038 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1041 'patient_photo_category_name' => array(
1042 xl('Patient Photo Category Name'),
1043 'text', // data type
1044 'Patient Photograph', // default
1045 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1048 'MedicareReferrerIsRenderer' => array(
1049 xl('Medicare Referrer Is Renderer'),
1050 'bool', // data type
1051 '0', // default = true
1052 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1055 'post_to_date_benchmark' => array(
1056 xl('Financial Close Date (yyyy-mm-dd)'),
1057 'text', // data type
1058 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1059 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1062 'enable_hylafax' => array(
1063 xl('Enable Hylafax Support'),
1064 'bool', // data type
1065 '0', // default
1066 xl('Enable Hylafax Support')
1069 'hylafax_server' => array(
1070 xl('Hylafax Server'),
1071 'text', // data type
1072 'localhost', // default
1073 xl('Hylafax server hostname.')
1076 'hylafax_basedir' => array(
1077 xl('Hylafax Directory'),
1078 'text', // data type
1079 '/var/spool/fax', // default
1080 xl('Location where Hylafax stores faxes.')
1083 'hylafax_enscript' => array(
1084 xl('Hylafax Enscript Command'),
1085 'text', // data type
1086 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1087 xl('Enscript command used by Hylafax.')
1090 'enable_scanner' => array(
1091 xl('Enable Scanner Support'),
1092 'bool', // data type
1093 '0', // default
1094 xl('Enable Scanner Support')
1097 'scanner_output_directory' => array(
1098 xl('Scanner Directory'),
1099 'text', // data type
1100 '/mnt/scan_docs', // default
1101 xl('Location where scans are stored.')
1106 // Connectors Tab
1108 'Connectors' => array(
1110 'lab_exchange_enable' => array(
1111 xl('Enable Lab Exchange'),
1112 'bool', // data type
1113 '0',
1114 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1117 'lab_exchange_siteid' => array(
1118 xl('Lab Exchange Site ID'),
1119 'text', // data type
1120 '3',
1121 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1124 'lab_exchange_token' => array(
1125 xl('Lab Exchange Token ID'),
1126 'text', // data type
1127 '12345',
1128 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1131 'lab_exchange_endpoint' => array(
1132 xl('Lab Exchange Site Address'),
1133 'text', // data type
1134 'https://openemrsupport.com:29443/len/api',
1135 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')