Added Estonian language
[openemr.git] / library / globals.inc.php
blob40c6a97241c7f4b0ba7013652efecbaba623cfd6
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 // Albanian // xl('Albanian')
21 // Amharic // xl('Amharic')
22 // Arabic // xl('Arabic')
23 // Armenian // xl('Armenian')
24 // Bahasa Indonesia // xl('Bahasa Indonesia')
25 // Bengali // xl('Bengali')
26 // Chinese (Simplified) // xl('Chinese (Simplified)')
27 // Chinese (Traditional) // xl('Chinese (Traditional)')
28 // Czech // xl('Czech')
29 // Danish // xl('Danish')
30 // Dutch // xl('Dutch')
31 // English (Indian) // xl('English (Indian)')
32 // English (Standard) // xl('English (Standard)')
33 // Estonian // xl('Estonian')
34 // French // xl('French (Standard)')
35 // French // xl('French (Canadian)')
36 // German // xl('German')
37 // Greek // xl('Greek')
38 // Hebrew // xl('Hebrew')
39 // Hindi // xl('Hindi')
40 // Hungarian // xl('Hungarian')
41 // Italian // xl('Italian')
42 // Norwegian // xl('Norwegian')
43 // Polish // xl('Polish')
44 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
45 // Portuguese (European) // xl('Portuguese (European)')
46 // Romanian // xl('Romanian')
47 // Russian // xl('Russian')
48 // Slovak // xl('Slovak')
49 // Spanish (Latin American) // xl('Spanish (Latin American)')
50 // Spanish (Spain) // xl('Spanish (Spain)')
51 // Swedish // xl('Swedish')
52 // Turkish // xl('Turkish')
53 // Ukrainian // xl('Ukrainian')
54 // Vietnamese // xl('Vietnamese')
56 // OS-dependent stuff.
57 if (stristr(PHP_OS, 'WIN')) {
58 // MS Windows
59 $mysql_bin_dir = 'C:/xampp/mysql/bin';
60 $perl_bin_dir = 'C:/xampp/perl/bin';
61 $temporary_files_dir = 'C:/windows/temp';
62 $backup_log_dir = 'C:/windows/temp';
64 else {
65 // Everything else
66 $mysql_bin_dir = '/usr/bin';
67 $perl_bin_dir = '/usr/bin';
68 $temporary_files_dir = '/tmp';
69 $backup_log_dir = '/tmp';
72 // Language constant declarations:
73 // xl('Appearance')
74 // xl('Locale')
75 // xl('Features')
76 // xl('Calendar')
77 // xl('Security')
78 // xl('Notifications')
79 // xl('Miscellaneous')
81 // List of user specific tabs and globals
82 $USER_SPECIFIC_TABS = array('Appearance',
83 'Locale',
84 'Calendar',
85 'Connectors');
86 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
87 'concurrent_layout',
88 'css_header',
89 'gbl_pt_list_page_size',
90 'gbl_pt_list_new_window',
91 'units_of_measurement',
92 'date_display_format',
93 'time_display_format',
94 'event_color',
95 'erx_import_status_message');
97 $GLOBALS_METADATA = array(
99 // Appearance Tab
101 'Appearance' => array(
103 'default_top_pane' => array(
104 xl('Main Top Pane Screen'), // descriptive name
105 array(
106 'main_info.php' => xl('Calendar Screen'),
107 '../new/new.php' => xl('Patient Search/Add Screen'),
109 'main_info.php', // default = calendar
110 xl('Type of screen layout')
113 'concurrent_layout' => array(
114 xl('Layout Style'), // descriptive name
115 array(
116 '0' => xl('Old style layout with no left menu'),
117 '1' => xl('Navigation menu consists of pairs of radio buttons'),
118 '2' => xl('Navigation menu is a tree view'),
119 '3' => xl('Navigation uses a sliding menu'),
121 '3', // default = tree menu
122 xl('Type of screen layout')
125 'css_header' => array(
126 xl('Theme'),
127 'css',
128 'style_oemr.css',
129 xl('Pick a CSS theme.')
132 'gbl_nav_area_width' => array(
133 xl('Navigation Area Width'),
134 'num',
135 '150',
136 xl('Width in pixels of the left navigation frame.')
139 'openemr_name' => array(
140 xl('Application Title'),
141 'text',
142 'OpenEMR',
143 xl('Application name for login page and main window title.')
146 'full_new_patient_form' => array(
147 xl('New Patient Form'),
148 array(
149 '0' => xl('Old-style static form without search or duplication check'),
150 '1' => xl('All demographics fields, with search and duplication check'),
151 '2' => xl('Mandatory or specified fields only, search and dup check'),
152 '3' => xl('Mandatory or specified fields only, dup check, no search'),
154 '1', // default
155 xl('Style of form used for adding new patients')
158 'patient_search_results_style' => array(
159 xl('Patient Search Results Style'),
160 array(
161 '0' => xl('Encounter statistics'),
162 '1' => xl('Mandatory and specified fields'),
164 '0', // default
165 xl('Type of columns displayed for patient search results')
168 'gbl_tall_nav_area' => array(
169 xl('Tall Navigation Area'),
170 'bool', // data type
171 '0', // default = false
172 xl('Navigation area uses full height of frameset')
175 'gbl_nav_visit_forms' => array(
176 xl('Navigation Area Visit Forms'),
177 'bool', // data type
178 '1', // default = true
179 xl('Navigation area includes encounter forms')
182 'simplified_demographics' => array(
183 xl('Simplified Demographics'),
184 'bool', // data type
185 '0', // default = false
186 xl('Omit insurance and some other things from the demographics form')
189 'simplified_prescriptions' => array(
190 xl('Simplified Prescriptions'),
191 'bool', // data type
192 '0', // default = false
193 xl('Omit form, route and interval which then become part of dosage')
196 'simplified_copay' => array(
197 xl('Simplified Co-Pay'),
198 'bool', // data type
199 '0', // default = false
200 xl('Omit method of payment from the co-pay panel')
203 'use_charges_panel' => array(
204 xl('Use Charges Panel'),
205 'bool', // data type
206 '0', // default = false
207 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
210 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
211 'enable_fees_in_left_menu' => array(
212 xl('Enable Fees In Left Menu'),
213 'bool', // data type
214 '1', // default = true
215 xl('Enable Fees In Left Menu')
217 // EDI history 2012-09-13
218 'enable_edihistory_in_left_menu' => array(
219 xl('Enable EDI History In Left Menu'),
220 'bool', // data type
221 '1', // default = true
222 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
225 'online_support_link' => array(
226 xl('Online Support Link'),
227 'text', // data type
228 'http://open-emr.org/',
229 xl('URL for OpenEMR support.')
232 'encounter_page_size' => array(
233 xl('Encounter Page Size'),
234 array(
235 '0' => xl('Show All'),
236 '5' => '5',
237 '10' => '10',
238 '15' => '15',
239 '20' => '20',
240 '25' => '25',
241 '50' => '50',
243 '20',
244 xl('Number of encounters to display per page.')
247 'gbl_pt_list_page_size' => array(
248 xl('Patient List Page Size'),
249 array(
250 '10' => '10',
251 '25' => '25',
252 '50' => '50',
253 '100' => '100',
255 '10',
256 xl('Number of patients to display per page in the patient list.')
259 'gbl_pt_list_new_window' => array(
260 xl('Patient List New Window'),
261 'bool', // data type
262 '0', // default = false
263 xl('Default state of New Window checkbox in the patient list.')
268 // Locale Tab
270 'Locale' => array(
272 'language_default' => array(
273 xl('Default Language'),
274 'lang', // data type
275 'English (Standard)', // default = english
276 xl('Default language if no other is allowed or chosen.')
279 'language_menu_showall' => array(
280 xl('All Languages Allowed'),
281 'bool', // data type
282 '1', // default = true
283 xl('Allow all available languages as choices on menu at login.')
286 'language_menu_other' => array(
287 xl('Allowed Languages'),
288 'm_lang', // data type
289 '', // default = none
290 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
293 'allow_debug_language' => array(
294 xl('Allow Debugging Language'),
295 'bool', // data type
296 '1', // default = true during development and false for production releases
297 xl('This will allow selection of the debugging (\'dummy\') language.')
300 'translate_layout' => array(
301 xl('Translate Layouts'),
302 'bool', // data type
303 '1', // default = true
304 xl('Is text from form layouts to be translated?')
307 'translate_lists' => array(
308 xl('Translate Lists'),
309 'bool', // data type
310 '1', // default = true
311 xl('Is text from lists to be translated?')
314 'translate_gacl_groups' => array(
315 xl('Translate Access Control Groups'),
316 'bool', // data type
317 '1', // default = true
318 xl('Are access control group names to be translated?')
321 'translate_form_titles' => array(
322 xl('Translate Patient Note Titles'),
323 'bool', // data type
324 '1', // default = true
325 xl('Are patient note titles to be translated?')
328 'translate_document_categories' => array(
329 xl('Translate Document Categories'),
330 'bool', // data type
331 '1', // default = true
332 xl('Are document category names to be translated?')
335 'translate_appt_categories' => array(
336 xl('Translate Appointment Categories'),
337 'bool', // data type
338 '1', // default = true
339 xl('Are appointment category names to be translated?')
342 'units_of_measurement' => array(
343 xl('Units for Visit Forms'),
344 array(
345 '1' => xl('Show both US and metric (main unit is US)'),
346 '2' => xl('Show both US and metric (main unit is metric)'),
347 '3' => xl('Show US only'),
348 '4' => xl('Show metric only'),
350 '1', // default = Both/US
351 xl('Applies to the Vitals form and Growth Chart')
354 'disable_deprecated_metrics_form' => array(
355 xl('Disable Old Metric Vitals Form'),
356 'bool', // data type
357 '1', // default = true
358 xl('This was the older metric-only Vitals form, now deprecated.')
361 'phone_country_code' => array(
362 xl('Telephone Country Code'),
363 'num',
364 '1', // default = North America
365 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
368 'date_display_format' => array(
369 xl('Date Display Format'),
370 array(
371 '0' => xl('YYYY-MM-DD'),
372 '1' => xl('MM/DD/YYYY'),
373 '2' => xl('DD/MM/YYYY'),
375 '0',
376 xl('Format used to display most dates.')
379 'time_display_format' => array(
380 xl('Time Display Format'),
381 array(
382 '0' => xl('24 hr'),
383 '1' => xl('12 hr'),
385 '0',
386 xl('Format used to display most times.')
389 'currency_decimals' => array(
390 xl('Currency Decimal Places'),
391 array(
392 '0' => xl('0'),
393 '1' => xl('1'),
394 '2' => xl('2'),
396 '2',
397 xl('Number of digits after decimal point for currency, usually 0 or 2.')
400 'currency_dec_point' => array(
401 xl('Currency Decimal Point Symbol'),
402 array(
403 '.' => xl('Period'),
404 ',' => xl('Comma'),
406 '.',
407 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
410 'currency_thousands_sep' => array(
411 xl('Currency Thousands Separator'),
412 array(
413 ',' => xl('Comma'),
414 '.' => xl('Period'),
415 ' ' => xl('Space'),
416 '' => xl('None'),
418 ',',
419 xl('Symbol used to separate thousands for currency.')
422 'gbl_currency_symbol' => array(
423 xl('Currency Designator'),
424 'text', // data type
425 '$', // default
426 xl('Code or symbol to indicate currency')
431 // Features Tab
433 'Features' => array(
435 'specific_application' => array(
436 xl('Specific Application'),
437 array(
438 '0' => xl('None'),
439 '1' => xl('Athletic team'),
440 '2' => xl('IPPF'),
441 '3' => xl('Weight loss clinic'),
443 '0', // default
444 xl('Indicator for specialized usage')
447 'inhouse_pharmacy' => array(
448 xl('Drugs and Products'),
449 array(
450 '0' => xl('Do not inventory and sell any products'),
451 '1' => xl('Inventory and sell drugs only'),
452 '2' => xl('Inventory and sell both drugs and non-drug products'),
453 '3' => xl('Products but no prescription drugs and no templates'),
455 '0', // default
456 xl('Option to support inventory and sales of products')
459 'disable_chart_tracker' => array(
460 xl('Disable Chart Tracker'),
461 'bool', // data type
462 '0', // default = false
463 xl('Removes the Chart Tracker feature')
466 'disable_phpmyadmin_link' => array(
467 xl('Disable phpMyAdmin'),
468 'bool', // data type
469 '0', // default = false
470 xl('Removes support for phpMyAdmin')
473 'disable_immunizations' => array(
474 xl('Disable Immunizations'),
475 'bool', // data type
476 '0', // default = false
477 xl('Removes support for immunizations')
480 'disable_prescriptions' => array(
481 xl('Disable Prescriptions'),
482 'bool', // data type
483 '0', // default = false
484 xl('Removes support for prescriptions')
487 'omit_employers' => array(
488 xl('Omit Employers'),
489 'bool', // data type
490 '0', // default = false
491 xl('Omit employer information in patient demographics')
494 'select_multi_providers' => array(
495 xl('Support Multi-Provider Events'),
496 'bool', // data type
497 '0', // default = false
498 xl('Support calendar events that apply to multiple providers')
501 'disable_non_default_groups' => array(
502 xl('Disable User Groups'),
503 'bool', // data type
504 '1', // default = true
505 xl('Normally this should be checked. Not related to access control.')
508 'ignore_pnotes_authorization' => array(
509 xl('Skip Authorization of Patient Notes'),
510 'bool', // data type
511 '1', // default = true
512 xl('Do not require patient notes to be authorized')
515 'support_encounter_claims' => array(
516 xl('Allow Encounter Claims'),
517 'bool', // data type
518 '0', // default = false
519 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
522 'advance_directives_warning' => array(
523 xl('Advance Directives Warning'),
524 'bool', // data type
525 '0', // default = false
526 xl('Display advance directives in the demographics page.')
529 'configuration_import_export' => array(
530 xl('Configuration Export/Import'),
531 'bool', // data type
532 '0', // default = false
533 xl('Support export/import of configuration data via the Backup page.')
536 'restrict_user_facility' => array(
537 xl('Restrict Users to Facilities'),
538 'bool', // data type
539 '0', // default
540 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
543 'set_facility_cookie' => array(
544 xl('Remember Selected Facility'),
545 'bool', // data type
546 '0', // default
547 xl('Set a facility cookie to remember the selected facility between logins.')
550 'receipts_by_provider' => array(
551 xl('Print Receipts by Provider'),
552 'bool',
553 '0', // default
554 xl('Causes Receipts to Print Encounter/Primary Provider Info')
557 'discount_by_money' => array(
558 xl('Discounts as Monetary Amounts'),
559 'bool', // data type
560 '1', // default = true
561 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
564 'gbl_visit_referral_source' => array(
565 xl('Referral Source for Encounters'),
566 'bool', // data type
567 '0', // default = false
568 xl('A referral source may be specified for each visit.')
571 'gbl_mask_patient_id' => array(
572 xl('Mask for Patient IDs'),
573 'text', // data type
574 '', // default
575 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
578 'gbl_mask_invoice_number' => array(
579 xl('Mask for Invoice Numbers'),
580 'text', // data type
581 '', // default
582 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
585 'gbl_mask_product_id' => array(
586 xl('Mask for Product IDs'),
587 'text', // data type
588 '', // default
589 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
592 'force_billing_widget_open' => array(
593 xl('Force Billing Widget Open'),
594 'bool', // data type
595 '0', // default = false
596 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
599 'activate_ccr_ccd_report' => array(
600 xl('Activate CCR/CCD Reporting'),
601 'bool', // data type
602 '1', // default = true
603 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
606 'hide_document_encryption' => array(
607 xl('Hide Encryption/Decryption Options In Document Management'),
608 'bool', // data type
609 '1', // default = true
610 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
613 'use_custom_immun_list' => array(
614 xl('Use Custom Immunization List'),
615 'bool', // data type
616 '0', // default = true
617 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
622 //Documents Tab
623 'Documents' => array(
624 'document_storage_method' => array(
625 xl('Document Storage Method'),
626 array(
627 '0' => xl('Hard Disk'),
628 '1' => xl('CouchDB')
630 '0', // default
631 xl('Option to save method of document storage.')
633 'couchdb_host' => array(
634 xl('CouchDB HostName'),
635 'text',
636 'localhost',
637 xl('CouchDB host'),
639 'couchdb_user' => array(
640 xl('CouchDB UserName'),
641 'text',
643 xl('Username to connect to CouchDB'),
645 'couchdb_pass' => array(
646 xl('CouchDB Password'),
647 'text',
649 xl('Password to connect to CouchDB'),
651 'couchdb_port' => array(
652 xl('CouchDB Port'),
653 'text',
654 '5984',
655 xl('CouchDB port'),
657 'couchdb_dbase' => array(
658 xl('CouchDB Database'),
659 'text',
661 xl('CouchDB database name'),
663 'couchdb_log' => array(
664 xl('CouchDB Log Enable'),
665 'bool',
666 '0',
667 xl('Enable log for document uploads/downloads to CouchDB'),
671 // Calendar Tab
673 'Calendar' => array(
675 'disable_calendar' => array(
676 xl('Disable Calendar'),
677 'bool', // data type
678 '0', // default
679 xl('Do not display the calendar.')
682 'schedule_start' => array(
683 xl('Calendar Starting Hour'),
684 'hour',
685 '8', // default
686 xl('Beginning hour of day for calendar events.')
689 'schedule_end' => array(
690 xl('Calendar Ending Hour'),
691 'hour',
692 '17', // default
693 xl('Ending hour of day for calendar events.')
696 'calendar_interval' => array(
697 xl('Calendar Interval'),
698 array(
699 '5' => '5',
700 '10' => '10',
701 '15' => '15',
702 '20' => '20',
703 '30' => '30',
704 '60' => '60',
706 '15', // default
707 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
710 'calendar_appt_style' => array(
711 xl('Appointment Display Style'),
712 array(
713 '1' => 'Last name',
714 '2' => 'Last name, first name',
715 '3' => 'Last name, first name (title)',
716 '4' => 'Last name, first name (title: description)',
718 '2', // default
719 xl('This determines how appointments display on the calendar.')
722 'docs_see_entire_calendar' => array(
723 xl('Providers See Entire Calendar'),
724 'bool', // data type
725 '0', // default
726 xl('Check this if you want providers to see all appointments by default and not just their own.')
729 'auto_create_new_encounters' => array(
730 xl('Auto-Create New Encounters'),
731 'bool', // data type
732 '1', // default
733 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
736 'event_color' => array(
737 xl('Appointment/Event Color'),
738 array(
739 '1' => 'Category Color Schema',
740 '2' => 'Facility Color Schema',
741 ), // data type
742 '1', // default
743 xl('This determines which color schema used for appointment')
748 // Security Tab
750 'Security' => array(
752 'timeout' => array(
753 xl('Idle Session Timeout Seconds'),
754 'num', // data type
755 '7200', // default
756 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
759 'secure_password' => array(
760 xl('Require Strong Passwords'),
761 'bool', // data type
762 '0', // default
763 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
766 'password_history' => array(
767 xl('Require Unique Passwords'),
768 'bool', // data type
769 '0', // default
770 xl('Means none of last three passwords are allowed when changing a password.')
773 'password_expiration_days' => array(
774 xl('Default Password Expiration Days'),
775 'num', // data type
776 '0', // default
777 xl('Default password expiration period in days. 0 means this feature is disabled.')
780 'password_grace_time' => array(
781 xl('Password Expiration Grace Period'),
782 'num', // data type
783 '0', // default
784 xl('Period in days where a user may login with an expired password.')
787 'is_client_ssl_enabled' => array(
788 xl('Enable Client SSL'),
789 'bool', // data type
790 '0', // default
791 xl('Enable client SSL certificate authentication.')
794 'certificate_authority_crt' => array(
795 xl('Path to CA Certificate File'),
796 'text', // data type
797 '', // default
798 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
801 'certificate_authority_key' => array(
802 xl('Path to CA Key File'),
803 'text', // data type
804 '', // default
805 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
808 'client_certificate_valid_in_days' => array(
809 xl('Client Certificate Expiration Days'),
810 'num', // data type
811 '365', // default
812 xl('Number of days that the client certificate is valid.')
815 'Emergency_Login_email_id' => array(
816 xl('Emergency Login Email Address'),
817 'text', // data type
818 '', // default
819 xl('Email address, if any, to receive emergency login user activation messages.')
824 // Notifications Tab
826 'Notifications' => array(
828 'patient_reminder_sender_name' => array(
829 xl('Patient Reminder Sender Name'),
830 'text', // data type
831 '', // default
832 xl('Name of the sender for patient reminders.')
835 'patient_reminder_sender_email' => array(
836 xl('Patient Reminder Sender Email'),
837 'text', // data type
838 '', // default
839 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.')
842 'practice_return_email_path' => array(
843 xl('Notification Email Address'),
844 'text', // data type
845 '', // default
846 xl('Email address, if any, to receive administrative notifications.')
849 'EMAIL_METHOD' => array(
850 xl('Email Transport Method'),
851 array(
852 'PHPMAIL' => 'PHPMAIL',
853 'SENDMAIL' => 'SENDMAIL',
854 'SMTP' => 'SMTP',
856 'SMTP', // default
857 xl('Method for sending outgoing email.')
860 'SMTP_HOST' => array(
861 xl('SMTP Server Hostname'),
862 'text', // data type
863 'localhost', // default
864 xl('If SMTP is used, the server`s hostname or IP address.')
867 'SMTP_PORT' => array(
868 xl('SMTP Server Port Number'),
869 'num', // data type
870 '25', // default
871 xl('If SMTP is used, the server`s TCP port number (usually 25).')
874 'SMTP_USER' => array(
875 xl('SMTP User for Authentication'),
876 'text', // data type
877 '', // default
878 xl('Must be empty if SMTP authentication is not used.')
881 'SMTP_PASS' => array(
882 xl('SMTP Password for Authentication'),
883 'text', // data type
884 '', // default
885 xl('Must be empty if SMTP authentication is not used.')
888 'EMAIL_NOTIFICATION_HOUR' => array(
889 xl('Email Notification Hours'),
890 'num', // data type
891 '50', // default
892 xl('Number of hours in advance to send email notifications.')
895 'SMS_NOTIFICATION_HOUR' => array(
896 xl('SMS Notification Hours'),
897 'num', // data type
898 '50', // default
899 xl('Number of hours in advance to send SMS notifications.')
902 'SMS_GATEWAY_USENAME' => array(
903 xl('SMS Gateway Username'),
904 'text', // data type
905 '', // default
906 xl('Username for SMS Gateway.')
909 'SMS_GATEWAY_PASSWORD' => array(
910 xl('SMS Gateway Password'),
911 'text', // data type
912 '', // default
913 xl('Password for SMS Gateway.')
916 'SMS_GATEWAY_APIKEY' => array(
917 xl('SMS Gateway API Key'),
918 'text', // data type
919 '', // default
920 xl('API key for SMS Gateway.')
923 'phone_notification_hour' => array(
924 xl('Phone Notification Hour'),
925 'num', // data type
926 '50', // default
927 xl('Number of hours in advance to send Phone notification.')
930 'phone_gateway_username' => array(
931 xl('Phone Gateway Username'),
932 'text', // data type
933 '', // default
934 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
937 'phone_gateway_password' => array(
938 xl('Phone Gateway Password'),
939 'text', // data type
940 '', // default
941 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
944 'phone_gateway_url' => array(
945 xl('Phone Gateway URL'),
946 'text', // data type
947 '', // default
948 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
953 // CDR (Clinical Decision Rules)
955 'CDR' => array(
957 'enable_cdr' => array(
958 xl('Enable Clinical Decisions Rules (CDR)'),
959 'bool', // data type
960 '1', // default
961 xl('Enable Clinical Decisions Rules (CDR)')
964 'enable_cdr_crw' => array(
965 xl('Enable Clinical Reminder Widget'),
966 'bool', // data type
967 '1', // default
968 xl('Enable Clinical Reminder Widget')
971 'enable_cdr_crp' => array(
972 xl('Enable Clinical Reminder Popup'),
973 'bool', // data type
974 '1', // default
975 xl('Enable Clinical Reminder Popup')
978 'enable_cdr_prw' => array(
979 xl('Enable Patient Reminder Widget'),
980 'bool', // data type
981 '1', // default
982 xl('Enable Patient Reminder Widget')
985 'enable_cqm' => array(
986 xl('Enable CQM Reporting'),
987 'bool', // data type
988 '1', // default
989 xl('Enable Clinical Quality Measure (CQM) Reporting')
992 'pqri_registry_name' => array(
993 xl('PQRI Registry Name'),
994 'text', // data type
995 'Model Registry', // default
996 xl('PQRI Registry Name')
999 'pqri_registry_id' => array(
1000 xl('PQRI Registry ID'),
1001 'text', // data type
1002 '125789123', // default
1003 xl('PQRI Registry ID')
1006 'enable_amc' => array(
1007 xl('Enable AMC Reporting'),
1008 'bool', // data type
1009 '1', // default
1010 xl('Enable Automated Measure Calculations (AMC) Reporting')
1013 'enable_amc_prompting' => array(
1014 xl('Enable AMC Prompting'),
1015 'bool', // data type
1016 '1', // default
1017 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1020 'enable_amc_tracking' => array(
1021 xl('Enable AMC Tracking'),
1022 'bool', // data type
1023 '1', // default
1024 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1027 'cdr_report_nice' => array(
1028 xl('CDR Reports Processing Priority'),
1029 array(
1030 '' => xl('Default Priority'),
1031 '5' => xl('Moderate Priority'),
1032 '10' => xl('Moderate/Low Priority'),
1033 '15' => xl('Low Priority'),
1034 '20' => xl('Lowest Priority')
1036 '', // default
1037 xl('Set processing priority for CDR engine based reports.')
1040 'pat_rem_clin_nice' => array(
1041 xl('Patient Reminder Creation Processing Priority'),
1042 array(
1043 '' => xl('Default Priority'),
1044 '5' => xl('Moderate Priority'),
1045 '10' => xl('Moderate/Low Priority'),
1046 '15' => xl('Low Priority'),
1047 '20' => xl('Lowest Priority')
1049 '', // default
1050 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1055 // Logging
1057 'Logging' => array(
1059 'enable_auditlog' => array(
1060 xl('Enable Audit Logging'),
1061 'bool', // data type
1062 '1', // default
1063 xl('Enable Audit Logging')
1066 'audit_events_patient-record' => array(
1067 xl('Audit Logging Patient Record'),
1068 'bool', // data type
1069 '1', // default
1070 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1073 'audit_events_scheduling' => array(
1074 xl('Audit Logging Scheduling'),
1075 'bool', // data type
1076 '1', // default
1077 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1080 'audit_events_order' => array(
1081 xl('Audit Logging Order'),
1082 'bool', // data type
1083 '1', // default
1084 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1087 'audit_events_security-administration' => array(
1088 xl('Audit Logging Security Administration'),
1089 'bool', // data type
1090 '1', // default
1091 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1094 'audit_events_backup' => array(
1095 xl('Audit Logging Backups'),
1096 'bool', // data type
1097 '1', // default
1098 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1101 'audit_events_other' => array(
1102 xl('Audit Logging Miscellaneous'),
1103 'bool', // data type
1104 '1', // default
1105 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1108 'audit_events_query' => array(
1109 xl('Audit Logging SELECT Query'),
1110 'bool', // data type
1111 '0', // default
1112 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1115 'audit_events_cdr' => array(
1116 xl('Audit CDR Engine Queries'),
1117 'bool', // data type
1118 '0', // default
1119 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1122 'enable_atna_audit' => array(
1123 xl('Enable ATNA Auditing'),
1124 'bool', // data type
1125 '0', // default
1126 xl('Enable Audit Trail and Node Authentication (ATNA).')
1129 'atna_audit_host' => array(
1130 xl('ATNA audit host'),
1131 'text', // data type
1132 '', // default
1133 xl('The hostname of the ATNA audit repository machine.')
1136 'atna_audit_port' => array(
1137 xl('ATNA audit port'),
1138 'text', // data type
1139 '6514', // default
1140 xl('Listening port of the RFC 5425 TLS syslog server.')
1143 'atna_audit_localcert' => array(
1144 xl('ATNA audit local certificate'),
1145 'text', // data type
1146 '', // default
1147 xl('Certificate to send to RFC 5425 TLS syslog server.')
1150 'atna_audit_cacert' => array(
1151 xl('ATNA audit CA certificate'),
1152 'text', // data type
1153 '', // default
1154 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1159 // Miscellaneous Tab
1161 'Miscellaneous' => array(
1163 'mysql_bin_dir' => array(
1164 xl('Path to MySQL Binaries'),
1165 'text', // data type
1166 $mysql_bin_dir, // default
1167 xl('Full path to directory containing MySQL executables.')
1170 'perl_bin_dir' => array(
1171 xl('Path to Perl Binaries'),
1172 'text', // data type
1173 $perl_bin_dir, // default
1174 xl('Full path to directory containing Perl executables.')
1177 'temporary_files_dir' => array(
1178 xl('Path to Temporary Files'),
1179 'text', // data type
1180 $temporary_files_dir, // default
1181 xl('Full path to directory used for temporary files.')
1184 'backup_log_dir' => array(
1185 xl('Path for Event Log Backup'),
1186 'text', // data type
1187 $backup_log_dir, // default
1188 xl('Full path to directory for event log backup.')
1191 'state_data_type' => array(
1192 xl('State Data Type'),
1193 array(
1194 '2' => xl('Text field'),
1195 '1' => xl('Single-selection list'),
1196 '26' => xl('Single-selection list with ability to add to the list'),
1198 '26', // default
1199 xl('Field type to use for employer or subscriber state in demographics.')
1202 'state_list' => array(
1203 xl('State list'),
1204 'text', // data type
1205 'state', // default
1206 xl('List used by above State Data Type option.')
1209 'state_custom_addlist_widget' => array(
1210 xl('State List Widget Custom Fields'),
1211 'bool', // data type
1212 '1', // default
1213 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1216 'country_data_type' => array(
1217 xl('Country Data Type'),
1218 array(
1219 '2' => xl('Text field'),
1220 '1' => xl('Single-selection list'),
1221 '26' => xl('Single-selection list with ability to add to the list'),
1223 '26', // default
1224 xl('Field type to use for employer or subscriber country in demographics.')
1227 'country_list' => array(
1228 xl('Country list'),
1229 'text', // data type
1230 'country', // default
1231 xl('List used by above Country Data Type option.')
1234 'print_command' => array(
1235 xl('Print Command'),
1236 'text', // data type
1237 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1238 xl('Shell command for printing from the server.')
1241 'default_chief_complaint' => array(
1242 xl('Default Reason for Visit'),
1243 'text', // data type
1245 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1248 'default_new_encounter_form' => array(
1249 xl('Default Encounter Form ID'),
1250 'text', // data type
1252 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1255 'patient_id_category_name' => array(
1256 xl('Patient ID Category Name'),
1257 'text', // data type
1258 'Patient ID card', // default
1259 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1262 'patient_photo_category_name' => array(
1263 xl('Patient Photo Category Name'),
1264 'text', // data type
1265 'Patient Photograph', // default
1266 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1269 'MedicareReferrerIsRenderer' => array(
1270 xl('Medicare Referrer Is Renderer'),
1271 'bool', // data type
1272 '0', // default = true
1273 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1276 'post_to_date_benchmark' => array(
1277 xl('Financial Close Date (yyyy-mm-dd)'),
1278 'text', // data type
1279 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1280 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1283 'enable_hylafax' => array(
1284 xl('Enable Hylafax Support'),
1285 'bool', // data type
1286 '0', // default
1287 xl('Enable Hylafax Support')
1290 'hylafax_server' => array(
1291 xl('Hylafax Server'),
1292 'text', // data type
1293 'localhost', // default
1294 xl('Hylafax server hostname.')
1297 'hylafax_basedir' => array(
1298 xl('Hylafax Directory'),
1299 'text', // data type
1300 '/var/spool/fax', // default
1301 xl('Location where Hylafax stores faxes.')
1304 'hylafax_enscript' => array(
1305 xl('Hylafax Enscript Command'),
1306 'text', // data type
1307 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1308 xl('Enscript command used by Hylafax.')
1311 'enable_scanner' => array(
1312 xl('Enable Scanner Support'),
1313 'bool', // data type
1314 '0', // default
1315 xl('Enable Scanner Support')
1318 'scanner_output_directory' => array(
1319 xl('Scanner Directory'),
1320 'text', // data type
1321 '/mnt/scan_docs', // default
1322 xl('Location where scans are stored.')
1327 // Portal Tab
1329 'Portal' => array(
1331 'portal_onsite_enable' => array(
1332 xl('Enable Onsite Patient Portal'),
1333 'bool', // data type
1334 '0',
1335 xl('Enable Onsite Patient Portal.')
1338 'portal_onsite_address' => array(
1339 xl('Onsite Patient Portal Site Address'),
1340 'text', // data type
1341 'https://your_web_site.com/openemr/patients',
1342 xl('Website link for the Onsite Patient Portal.')
1345 'portal_offsite_enable' => array(
1346 xl('Enable Offsite Patient Portal'),
1347 'bool', // data type
1348 '0',
1349 xl('Enable Offsite Patient Portal.')
1352 'portal_offsite_username' => array(
1353 xl('Offsite Patient Portal Username'),
1354 'text', // data type
1356 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1359 'portal_offsite_password' => array(
1360 xl('Offsite Patient Portal Password'),
1361 'pwd', // data type
1363 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1366 'portal_offsite_address' => array(
1367 xl('Offsite Patient Portal Site Address'),
1368 'text', // data type
1369 'https://mydocsportal.com/provider.php',
1370 xl('Offsite Https link for the Patient Portal.')
1372 'portal_offsite_address_patient_link' => array(
1373 xl('Offsite Patient Portal Site Address (Patient Link)'),
1374 'text', // data type
1375 'https://mydocsportal.com',
1376 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1381 // Connectors Tab
1383 'Connectors' => array(
1385 'lab_exchange_enable' => array(
1386 xl('Enable Lab Exchange'),
1387 'bool', // data type
1388 '0',
1389 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1392 'lab_exchange_siteid' => array(
1393 xl('Lab Exchange Site ID'),
1394 'text', // data type
1395 '3',
1396 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1399 'lab_exchange_token' => array(
1400 xl('Lab Exchange Token ID'),
1401 'text', // data type
1402 '12345',
1403 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1406 'lab_exchange_endpoint' => array(
1407 xl('Lab Exchange Site Address'),
1408 'text', // data type
1409 'https://openemrsupport.com:29443/len/api',
1410 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1413 'erx_enable' => array(
1414 xl('Enable NewCrop eRx Service'),
1415 'bool', // data type
1416 '0',
1417 xl('Enable ZMG, LLC eRx service')
1420 'erx_path_production' => array(
1421 xl('NewCrop eRx Site Address'),
1422 'text', // data type
1423 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1424 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1427 'erx_path_soap_production' => array(
1428 xl('NewCrop eRx Web Service Address'),
1429 'text', // data type
1430 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1431 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1434 'partner_name_production' => array(
1435 xl('NewCrop eRx Partner Name'),
1436 'text', // data type
1438 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1441 'erx_name_production' => array(
1442 xl('NewCrop eRx Name'),
1443 'text', // data type
1445 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1448 'erx_password_production' => array(
1449 xl('NewCrop eRx Password'),
1450 'pass', // data type
1452 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1455 'erx_upload_active' => array(
1456 xl('Only upload active prescriptions'),
1457 'bool', // data type
1458 '0',
1459 xl('Only upload active prescriptions')
1462 'erx_import_status_message' => array(
1463 xl('Enable import status message for NewCrop erx'),
1464 'bool', // data type
1465 '0',
1466 xl('Enable import status message for NewCrop erx')
1469 'erx_medication_display' => array(
1470 xl('Do not display Medications uploaded to NewCrop'),
1471 'bool', // data type
1472 '0',
1473 xl('Do not display Medications uploaded to NewCrop')
1476 'erx_allergy_display' => array(
1477 xl('Do not display Allergy uploaded to NewCrop'),
1478 'bool', // data type
1479 '0',
1480 xl('Do not display Allergy uploaded to NewCrop')
1483 'erx_default_patient_country' => array(
1484 xl('Default Patient Country'),
1485 array(
1486 '' => '',
1487 'US' => 'USA',
1488 'CA' => 'Canada',
1489 'MX' => 'Mexico'
1492 xl('Default Patient Country'),
1496 'Rx' => array(
1497 'rx_enable_DEA' => array(
1498 xl('Rx Enable DEA #'),
1499 'bool', // data type
1500 '1',
1501 xl('Rx Enable DEA #')
1503 'rx_show_DEA' => array(
1504 xl('Rx Show DEA #'),
1505 'bool', // data type
1506 '0',
1507 xl('Rx Show DEA #')
1509 'rx_enable_NPI' => array(
1510 xl('Rx Enable NPI'),
1511 'bool', // data type
1512 '0',
1513 xl('Rx Enable NPI')
1515 'rx_show_NPI' => array(
1516 xl('Rx Show NPI'),
1517 'bool', // data type
1518 '0',
1519 xl('Rx Show NPI')
1521 'rx_enable_SLN' => array(
1522 xl('Rx Enable State Lic. #'),
1523 'bool', // data type
1524 '0',
1525 xl('Rx Enable State Lic. #')
1527 'rx_show_SLN' => array(
1528 xl('Rx Show State Lic. #'),
1529 'bool', // data type
1530 '0',
1531 xl('Rx Show State Lic. #')
1533 'rx_paper_size' => array(
1534 xl('Rx Paper Size'), // descriptive name
1535 array(
1536 'LETTER' => xl('Letter Paper Size'),
1537 'LEGAL' => xl('Legal Paper Size'),
1538 'FOLIO' => xl('Folio Paper Size'),
1539 'EXECUTIVE' => xl('Executive Paper Size'),
1540 '4A0' => ('4A0' . " " . xl('Paper Size')),
1541 '2A0' => ('2A0' . " " . xl('Paper Size')),
1542 'A0' => ('A0' . " " . xl('Paper Size')),
1543 'A1' => ('A1' . " " . xl('Paper Size')),
1544 'A2' => ('A2' . " " . xl('Paper Size')),
1545 'A3' => ('A3' . " " . xl('Paper Size')),
1546 'A4' => ('A4' . " " . xl('Paper Size')),
1547 'A5' => ('A5' . " " . xl('Paper Size')),
1548 'A6' => ('A6' . " " . xl('Paper Size')),
1549 'A7' => ('A7' . " " . xl('Paper Size')),
1550 'A8' => ('A8' . " " . xl('Paper Size')),
1551 'A9' => ('A9' . " " . xl('Paper Size')),
1552 'A10' => ('A10' . " " . xl('Paper Size')),
1553 'B0' => ('B0' . " " . xl('Paper Size')),
1554 'B1' => ('B1' . " " . xl('Paper Size')),
1555 'B2' => ('B2' . " " . xl('Paper Size')),
1556 'B3' => ('B3' . " " . xl('Paper Size')),
1557 'B4' => ('B4' . " " . xl('Paper Size')),
1558 'B5' => ('B5' . " " . xl('Paper Size')),
1559 'B6' => ('B6' . " " . xl('Paper Size')),
1560 'B7' => ('B7' . " " . xl('Paper Size')),
1561 'B8' => ('B8' . " " . xl('Paper Size')),
1562 'B9' => ('B9' . " " . xl('Paper Size')),
1563 'B10' => ('B10' . " " . xl('Paper Size')),
1564 'C0' => ('C0' . " " . xl('Paper Size')),
1565 'C1' => ('C1' . " " . xl('Paper Size')),
1566 'C2' => ('C2' . " " . xl('Paper Size')),
1567 'C3' => ('C3' . " " . xl('Paper Size')),
1568 'C4' => ('C4' . " " . xl('Paper Size')),
1569 'C5' => ('C5' . " " . xl('Paper Size')),
1570 'C6' => ('C6' . " " . xl('Paper Size')),
1571 'C7' => ('C7' . " " . xl('Paper Size')),
1572 'C8' => ('C8' . " " . xl('Paper Size')),
1573 'C9' => ('C9' . " " . xl('Paper Size')),
1574 'C10' => ('C10' . " " . xl('Paper Size')),
1575 'RA0' => ('RA0' . " " . xl('Paper Size')),
1576 'RA1' => ('RA1' . " " . xl('Paper Size')),
1577 'RA2' => ('RA2' . " " . xl('Paper Size')),
1578 'RA3' => ('RA3' . " " . xl('Paper Size')),
1579 'RA4' => ('RA4' . " " . xl('Paper Size')),
1580 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1581 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1582 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1583 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1584 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1586 'LETTER', // default = tree menu
1587 xl('Rx Paper Size')
1589 'rx_left_margin' => array(
1590 xl('Rx Left Margin (px)'),
1591 'num',
1592 '30',
1593 xl('Rx Left Margin (px)')
1595 'rx_right_margin' => array(
1596 xl('Rx Right Margin (px)'),
1597 'num',
1598 '30',
1599 xl('Rx Right Margin (px)')
1601 'rx_top_margin' => array(
1602 xl('Rx Top Margin (px)'),
1603 'num',
1604 '72',
1605 xl('Rx Top Margin (px)')
1607 'rx_bottom_margin' => array(
1608 xl('Rx Bottom Margin (px)'),
1609 'num',
1610 '30',
1611 xl('Rx Bottom Margin (px)')