Internationalization Project: added Amharic language.
[openemr.git] / library / globals.inc.php
blob5e8d20f0246106e718457786a065ba846120de09
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 // Norwegian // xl('Norwegian')
35 // Polish // xl('Polish')
36 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
37 // Portuguese (European) // xl('Portuguese (European)')
38 // Russian // xl('Russian')
39 // Slovak // xl('Slovak')
40 // Spanish // xl('Spanish')
41 // Swedish // xl('Swedish')
42 // Turkish // xl('Turkish')
44 // OS-dependent stuff.
45 if (stristr(PHP_OS, 'WIN')) {
46 // MS Windows
47 $mysql_bin_dir = 'C:/xampp/mysql/bin';
48 $perl_bin_dir = 'C:/xampp/perl/bin';
49 $temporary_files_dir = 'C:/windows/temp';
50 $backup_log_dir = 'C:/windows/temp';
52 else {
53 // Everything else
54 $mysql_bin_dir = '/usr/bin';
55 $perl_bin_dir = '/usr/bin';
56 $temporary_files_dir = '/tmp';
57 $backup_log_dir = '/tmp';
60 // Language constant declarations:
61 // xl('Appearance')
62 // xl('Locale')
63 // xl('Features')
64 // xl('Calendar')
65 // xl('Security')
66 // xl('Notifications')
67 // xl('Miscellaneous')
69 // List of user specific tabs and globals
70 $USER_SPECIFIC_TABS = array('Appearance',
71 'Locale');
72 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
73 'concurrent_layout',
74 'css_header',
75 'units_of_measurement',
76 'date_display_format',
77 'time_display_format');
79 $GLOBALS_METADATA = array(
81 // Appearance Tab
83 'Appearance' => array(
85 'default_top_pane' => array(
86 xl('Main Top Pane Screen'), // descriptive name
87 array(
88 'main_info.php' => xl('Calendar Screen'),
89 '../new/new.php' => xl('Patient Search/Add Screen'),
91 'main_info.php', // default = calendar
92 xl('Type of screen layout')
95 'concurrent_layout' => array(
96 xl('Layout Style'), // descriptive name
97 array(
98 '0' => xl('Old style layout with no left menu'),
99 '1' => xl('Navigation menu consists of pairs of radio buttons'),
100 '2' => xl('Navigation menu is a tree view'),
101 '3' => xl('Navigation uses a sliding menu'),
103 '2', // default = tree menu
104 xl('Type of screen layout')
107 'css_header' => array(
108 xl('Theme'),
109 'css',
110 'style_default.css',
111 xl('Pick a CSS theme.')
114 'gbl_nav_area_width' => array(
115 xl('Navigation Area Width'),
116 'num',
117 '130',
118 xl('Width in pixels of the left navigation frame.')
121 'openemr_name' => array(
122 xl('Application Title'),
123 'text',
124 'OpenEMR',
125 xl('Application name for login page and main window title.')
128 'full_new_patient_form' => array(
129 xl('New Patient Form'),
130 array(
131 '0' => xl('Old-style static form without search or duplication check'),
132 '1' => xl('All demographics fields, with search and duplication check'),
133 '2' => xl('Mandatory or specified fields only, search and dup check'),
134 '3' => xl('Mandatory or specified fields only, dup check, no search'),
136 '1', // default
137 xl('Style of form used for adding new patients')
140 'patient_search_results_style' => array(
141 xl('Patient Search Results Style'),
142 array(
143 '0' => xl('Encounter statistics'),
144 '1' => xl('Mandatory and specified fields'),
146 '0', // default
147 xl('Type of columns displayed for patient search results')
150 'simplified_demographics' => array(
151 xl('Simplified Demographics'),
152 'bool', // data type
153 '0', // default = false
154 xl('Omit insurance and some other things from the demographics form')
157 'simplified_prescriptions' => array(
158 xl('Simplified Prescriptions'),
159 'bool', // data type
160 '0', // default = false
161 xl('Omit form, route and interval which then become part of dosage')
164 'simplified_copay' => array(
165 xl('Simplified Co-Pay'),
166 'bool', // data type
167 '0', // default = false
168 xl('Omit method of payment from the co-pay panel')
171 'use_charges_panel' => array(
172 xl('Use Charges Panel'),
173 'bool', // data type
174 '0', // default = false
175 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
178 'online_support_link' => array(
179 xl('Online Support Link'),
180 'text', // data type
181 'http://sourceforge.net/projects/openemr/support',
182 xl('URL for OpenEMR support.')
187 // Locale Tab
189 'Locale' => array(
191 'language_default' => array(
192 xl('Default Language'),
193 'lang', // data type
194 'English (Standard)', // default = english
195 xl('Default language if no other is allowed or chosen.')
198 'language_menu_showall' => array(
199 xl('All Languages Allowed'),
200 'bool', // data type
201 '1', // default = true
202 xl('Allow all available languages as choices on menu at login.')
205 'language_menu_other' => array(
206 xl('Allowed Languages'),
207 'm_lang', // data type
208 '', // default = none
209 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
212 'translate_layout' => array(
213 xl('Translate Layouts'),
214 'bool', // data type
215 '1', // default = true
216 xl('Is text from form layouts to be translated?')
219 'translate_lists' => array(
220 xl('Translate Lists'),
221 'bool', // data type
222 '1', // default = true
223 xl('Is text from lists to be translated?')
226 'translate_gacl_groups' => array(
227 xl('Translate Access Control Groups'),
228 'bool', // data type
229 '1', // default = true
230 xl('Are access control group names to be translated?')
233 'translate_form_titles' => array(
234 xl('Translate Patient Note Titles'),
235 'bool', // data type
236 '1', // default = true
237 xl('Are patient note titles to be translated?')
240 'translate_document_categories' => array(
241 xl('Translate Document Categories'),
242 'bool', // data type
243 '1', // default = true
244 xl('Are document category names to be translated?')
247 'translate_appt_categories' => array(
248 xl('Translate Appointment Categories'),
249 'bool', // data type
250 '1', // default = true
251 xl('Are appointment category names to be translated?')
254 'units_of_measurement' => array(
255 xl('Units for Visit Forms'),
256 array(
257 '1' => xl('Show both US and metric (main unit is US)'),
258 '2' => xl('Show both US and metric (main unit is metric)'),
259 '3' => xl('Show US only'),
260 '4' => xl('Show metric only'),
262 '1', // default = Both/US
263 xl('Applies to the Vitals form and Growth Chart')
266 'disable_deprecated_metrics_form' => array(
267 xl('Disable Old Metric Vitals Form'),
268 'bool', // data type
269 '1', // default = true
270 xl('This was the older metric-only Vitals form, now deprecated.')
273 'phone_country_code' => array(
274 xl('Telephone Country Code'),
275 'num',
276 '1', // default = North America
277 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
280 'date_display_format' => array(
281 xl('Date Display Format'),
282 array(
283 '0' => xl('YYYY-MM-DD'),
284 '1' => xl('MM/DD/YYYY'),
285 '2' => xl('DD/MM/YYYY'),
287 '0',
288 xl('Format used to display most dates.')
291 'time_display_format' => array(
292 xl('Time Display Format'),
293 array(
294 '0' => xl('24 hr'),
295 '1' => xl('12 hr'),
297 '0',
298 xl('Format used to display most times.')
301 'currency_decimals' => array(
302 xl('Currency Decimal Places'),
303 array(
304 '0' => xl('0'),
305 '1' => xl('1'),
306 '2' => xl('2'),
308 '2',
309 xl('Number of digits after decimal point for currency, usually 0 or 2.')
312 'currency_dec_point' => array(
313 xl('Currency Decimal Point Symbol'),
314 array(
315 '.' => xl('Period'),
316 ',' => xl('Comma'),
318 '.',
319 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
322 'currency_thousands_sep' => array(
323 xl('Currency Thousands Separator'),
324 array(
325 ',' => xl('Comma'),
326 '.' => xl('Period'),
327 ' ' => xl('Space'),
328 '' => xl('None'),
330 ',',
331 xl('Symbol used to separate thousands for currency.')
334 'gbl_currency_symbol' => array(
335 xl('Currency Designator'),
336 'text', // data type
337 '$', // default
338 xl('Code or symbol to indicate currency')
343 // Features Tab
345 'Features' => array(
347 'specific_application' => array(
348 xl('Specific Application'),
349 array(
350 '0' => xl('None'),
351 '1' => xl('Athletic team'),
352 '2' => xl('IPPF'),
353 '3' => xl('Weight loss clinic'),
355 '0', // default
356 xl('Indicator for specialized usage')
359 'inhouse_pharmacy' => array(
360 xl('Drugs and Products'),
361 array(
362 '0' => xl('Do not inventory and sell any products'),
363 '1' => xl('Inventory and sell drugs only'),
364 '2' => xl('Inventory and sell both drugs and non-drug products'),
365 '3' => xl('Products but no prescription drugs and no templates'),
367 '0', // default
368 xl('Option to support inventory and sales of products')
371 'disable_chart_tracker' => array(
372 xl('Disable Chart Tracker'),
373 'bool', // data type
374 '0', // default = false
375 xl('Removes the Chart Tracker feature')
378 'disable_phpmyadmin_link' => array(
379 xl('Disable phpMyAdmin'),
380 'bool', // data type
381 '0', // default = false
382 xl('Removes support for phpMyAdmin')
385 'disable_immunizations' => array(
386 xl('Disable Immunizations'),
387 'bool', // data type
388 '0', // default = false
389 xl('Removes support for immunizations')
392 'disable_prescriptions' => array(
393 xl('Disable Prescriptions'),
394 'bool', // data type
395 '0', // default = false
396 xl('Removes support for prescriptions')
399 'omit_employers' => array(
400 xl('Omit Employers'),
401 'bool', // data type
402 '0', // default = false
403 xl('Omit employer information in patient demographics')
406 'select_multi_providers' => array(
407 xl('Support Multi-Provider Events'),
408 'bool', // data type
409 '0', // default = false
410 xl('Support calendar events that apply to multiple providers')
413 'disable_non_default_groups' => array(
414 xl('Disable User Groups'),
415 'bool', // data type
416 '1', // default = true
417 xl('Normally this should be checked. Not related to access control.')
420 'ignore_pnotes_authorization' => array(
421 xl('Skip Authorization of Patient Notes'),
422 'bool', // data type
423 '1', // default = true
424 xl('Do not require patient notes to be authorized')
427 'support_encounter_claims' => array(
428 xl('Allow Encounter Claims'),
429 'bool', // data type
430 '0', // default = false
431 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
434 'advance_directives_warning' => array(
435 xl('Advance Directives Warning'),
436 'bool', // data type
437 '0', // default = false
438 xl('Display advance directives in the demographics page.')
441 'configuration_import_export' => array(
442 xl('Configuration Export/Import'),
443 'bool', // data type
444 '0', // default = false
445 xl('Support export/import of configuration data via the Backup page.')
448 'restrict_user_facility' => array(
449 xl('Restrict Users to Facilities'),
450 'bool', // data type
451 '0', // default
452 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
455 'set_facility_cookie' => array(
456 xl('Remember Selected Facility'),
457 'bool', // data type
458 '0', // default
459 xl('Set a facility cookie to remember the selected facility between logins.')
462 'discount_by_money' => array(
463 xl('Discounts as Monetary Amounts'),
464 'bool', // data type
465 '1', // default = true
466 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
469 'gbl_visit_referral_source' => array(
470 xl('Referral Source for Encounters'),
471 'bool', // data type
472 '0', // default = false
473 xl('A referral source may be specified for each visit.')
476 'gbl_mask_patient_id' => array(
477 xl('Mask for Patient IDs'),
478 'text', // data type
479 '', // default
480 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
483 'gbl_mask_invoice_number' => array(
484 xl('Mask for Invoice Numbers'),
485 'text', // data type
486 '', // default
487 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
490 'gbl_mask_product_id' => array(
491 xl('Mask for Product IDs'),
492 'text', // data type
493 '', // default
494 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
497 'force_billing_widget_open' => array(
498 xl('Force Billing Widget Open'),
499 'bool', // data type
500 '0', // default = false
501 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
504 'activate_ccr_ccd_report' => array(
505 xl('Activate CCR/CCD Reporting'),
506 'bool', // data type
507 '0', // default = false
508 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
513 // Calendar Tab
515 'Calendar' => array(
517 'disable_calendar' => array(
518 xl('Disable Calendar'),
519 'bool', // data type
520 '0', // default
521 xl('Do not display the calendar.')
524 'schedule_start' => array(
525 xl('Calendar Starting Hour'),
526 'hour',
527 '8', // default
528 xl('Beginning hour of day for calendar events.')
531 'schedule_end' => array(
532 xl('Calendar Ending Hour'),
533 'hour',
534 '17', // default
535 xl('Ending hour of day for calendar events.')
538 'calendar_interval' => array(
539 xl('Calendar Interval'),
540 array(
541 '5' => '5',
542 '10' => '10',
543 '15' => '15',
544 '20' => '20',
545 '30' => '30',
546 '60' => '60',
548 '15', // default
549 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
552 'calendar_appt_style' => array(
553 xl('Appointment Display Style'),
554 array(
555 '1' => 'Last name',
556 '2' => 'Last name, first name',
557 '3' => 'Last name, first name (title)',
558 '4' => 'Last name, first name (title: description)',
560 '2', // default
561 xl('This determines how appointments display on the calendar.')
564 'docs_see_entire_calendar' => array(
565 xl('Providers See Entire Calendar'),
566 'bool', // data type
567 '0', // default
568 xl('Check this if you want providers to see all appointments by default and not just their own.')
571 'auto_create_new_encounters' => array(
572 xl('Auto-Create New Encounters'),
573 'bool', // data type
574 '1', // default
575 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
580 // Security Tab
582 'Security' => array(
584 'timeout' => array(
585 xl('Idle Session Timeout Seconds'),
586 'num', // data type
587 '7200', // default
588 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
591 'secure_password' => array(
592 xl('Require Strong Passwords'),
593 'bool', // data type
594 '0', // default
595 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
598 'password_history' => array(
599 xl('Require Unique Passwords'),
600 'bool', // data type
601 '0', // default
602 xl('Means none of last three passwords are allowed when changing a password.')
605 'password_expiration_days' => array(
606 xl('Default Password Expiration Days'),
607 'num', // data type
608 '0', // default
609 xl('Default password expiration period in days. 0 means this feature is disabled.')
612 'password_grace_time' => array(
613 xl('Password Expiration Grace Period'),
614 'num', // data type
615 '0', // default
616 xl('Period in days where a user may login with an expired password.')
619 'is_client_ssl_enabled' => array(
620 xl('Enable Client SSL'),
621 'bool', // data type
622 '0', // default
623 xl('Enable client SSL certificate authentication.')
626 'certificate_authority_crt' => array(
627 xl('Path to CA Certificate File'),
628 'text', // data type
629 '', // default
630 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
633 'certificate_authority_key' => array(
634 xl('Path to CA Key File'),
635 'text', // data type
636 '', // default
637 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
640 'client_certificate_valid_in_days' => array(
641 xl('Client Certificate Expiration Days'),
642 'num', // data type
643 '365', // default
644 xl('Number of days that the client certificate is valid.')
647 'Emergency_Login_email_id' => array(
648 xl('Emergency Login Email Address'),
649 'text', // data type
650 '', // default
651 xl('Email address, if any, to receive emergency login user activation messages.')
656 // Notifications Tab
658 'Notifications' => array(
660 'practice_return_email_path' => array(
661 xl('Notification Email Address'),
662 'text', // data type
663 '', // default
664 xl('Email address, if any, to receive administrative notifications.')
667 'EMAIL_METHOD' => array(
668 xl('Email Transport Method'),
669 array(
670 'PHPMAIL' => 'PHPMAIL',
671 'SENDMAIL' => 'SENDMAIL',
672 'SMTP' => 'SMTP',
674 'SMTP', // default
675 xl('Method for sending outgoing email.')
678 'SMTP_HOST' => array(
679 xl('SMTP Server Hostname'),
680 'text', // data type
681 'localhost', // default
682 xl('If SMTP is used, the server`s hostname or IP address.')
685 'SMTP_PORT' => array(
686 xl('SMTP Server Port Number'),
687 'num', // data type
688 '25', // default
689 xl('If SMTP is used, the server`s TCP port number (usually 25).')
692 'SMTP_USER' => array(
693 xl('SMTP User for Authentication'),
694 'text', // data type
695 '', // default
696 xl('Must be empty if SMTP authentication is not used.')
699 'SMTP_PASS' => array(
700 xl('SMTP Password for Authentication'),
701 'text', // data type
702 '', // default
703 xl('Must be empty if SMTP authentication is not used.')
706 'EMAIL_NOTIFICATION_HOUR' => array(
707 xl('Email Notification Hours'),
708 'num', // data type
709 '50', // default
710 xl('Number of hours in advance to send email notifications.')
713 'SMS_NOTIFICATION_HOUR' => array(
714 xl('SMS Notification Hours'),
715 'num', // data type
716 '50', // default
717 xl('Number of hours in advance to send SMS notifications.')
720 'SMS_GATEWAY_USENAME' => array(
721 xl('SMS Gateway Username'),
722 'text', // data type
723 '', // default
724 xl('Username for SMS Gateway.')
727 'SMS_GATEWAY_PASSWORD' => array(
728 xl('SMS Gateway Password'),
729 'text', // data type
730 '', // default
731 xl('Password for SMS Gateway.')
734 'SMS_GATEWAY_APIKEY' => array(
735 xl('SMS Gateway API Key'),
736 'text', // data type
737 '', // default
738 xl('API key for SMS Gateway.')
743 // Logging
745 'Logging' => array(
747 'enable_auditlog' => array(
748 xl('Enable Audit Logging'),
749 'bool', // data type
750 '1', // default
751 xl('Enable Audit Logging.')
754 'audit_events_patient-record' => array(
755 xl('Audit Logging Patient Record'),
756 'bool', // data type
757 '1', // default
758 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
761 'audit_events_scheduling' => array(
762 xl('Audit Logging Scheduling'),
763 'bool', // data type
764 '1', // default
765 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
768 'audit_events_order' => array(
769 xl('Audit Logging Order'),
770 'bool', // data type
771 '1', // default
772 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
775 'audit_events_security-administration' => array(
776 xl('Audit Logging Security Administration'),
777 'bool', // data type
778 '1', // default
779 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
782 'audit_events_backup' => array(
783 xl('Audit Logging Backups'),
784 'bool', // data type
785 '1', // default
786 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
789 'audit_events_other' => array(
790 xl('Audit Logging Miscellaneous'),
791 'bool', // data type
792 '1', // default
793 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
796 'audit_events_query' => array(
797 xl('Audit Logging SELECT Query'),
798 'bool', // data type
799 '0', // default
800 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
803 'enable_atna_audit' => array(
804 xl('Enable ATNA Auditing'),
805 'bool', // data type
806 '0', // default
807 xl('Enable Audit Trail and Node Authentication (ATNA).')
810 'atna_audit_host' => array(
811 xl('ATNA audit host'),
812 'text', // data type
813 '', // default
814 xl('The hostname of the ATNA audit repository machine.')
817 'atna_audit_port' => array(
818 xl('ATNA audit port'),
819 'text', // data type
820 '6514', // default
821 xl('Listening port of the RFC 5425 TLS syslog server.')
824 'atna_audit_localcert' => array(
825 xl('ATNA audit local certificate'),
826 'text', // data type
827 '', // default
828 xl('Certificate to send to RFC 5425 TLS syslog server.')
831 'atna_audit_cacert' => array(
832 xl('ATNA audit CA certificate'),
833 'text', // data type
834 '', // default
835 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
840 // Miscellaneous Tab
842 'Miscellaneous' => array(
844 'mysql_bin_dir' => array(
845 xl('Path to MySQL Binaries'),
846 'text', // data type
847 $mysql_bin_dir, // default
848 xl('Full path to directory containing MySQL executables.')
851 'perl_bin_dir' => array(
852 xl('Path to Perl Binaries'),
853 'text', // data type
854 $perl_bin_dir, // default
855 xl('Full path to directory containing Perl executables.')
858 'temporary_files_dir' => array(
859 xl('Path to Temporary Files'),
860 'text', // data type
861 $temporary_files_dir, // default
862 xl('Full path to directory used for temporary files.')
865 'backup_log_dir' => array(
866 xl('Path for Event Log Backup'),
867 'text', // data type
868 $backup_log_dir, // default
869 xl('Full path to directory for event log backup.')
872 'state_data_type' => array(
873 xl('State Data Type'),
874 array(
875 '2' => xl('Text field'),
876 '1' => xl('Single-selection list'),
877 '26' => xl('Single-selection list with ability to add to the list'),
879 '26', // default
880 xl('Field type to use for employer or subscriber state in demographics.')
883 'state_list' => array(
884 xl('State list'),
885 'text', // data type
886 'state', // default
887 xl('List used by above State Data Type option.')
890 'state_custom_addlist_widget' => array(
891 xl('State List Widget Custom Fields'),
892 'bool', // data type
893 '1', // default
894 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
897 'country_data_type' => array(
898 xl('Country Data Type'),
899 array(
900 '2' => xl('Text field'),
901 '1' => xl('Single-selection list'),
902 '26' => xl('Single-selection list with ability to add to the list'),
904 '26', // default
905 xl('Field type to use for employer or subscriber country in demographics.')
908 'country_list' => array(
909 xl('Country list'),
910 'text', // data type
911 'country', // default
912 xl('List used by above Country Data Type option.')
915 'print_command' => array(
916 xl('Print Command'),
917 'text', // data type
918 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
919 xl('Shell command for printing from the server.')
922 'default_chief_complaint' => array(
923 xl('Default Reason for Visit'),
924 'text', // data type
926 xl('You may put text here as the default complaint in the New Patient Encounter form.')
929 'default_new_encounter_form' => array(
930 xl('Default Encounter Form ID'),
931 'text', // data type
933 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
936 'patient_id_category_name' => array(
937 xl('Patient ID Category Name'),
938 'text', // data type
939 'Patient ID card', // default
940 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
943 'patient_photo_category_name' => array(
944 xl('Patient Photo Category Name'),
945 'text', // data type
946 'Patient Photograph', // default
947 xl('Optional category name for photo images that can be viewed from the patient summary page.')
950 'MedicareReferrerIsRenderer' => array(
951 xl('Medicare Referrer Is Renderer'),
952 'bool', // data type
953 '0', // default = true
954 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
957 'post_to_date_benchmark' => array(
958 xl('Financial Close Date (yyyy-mm-dd)'),
959 'text', // data type
960 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
961 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
964 'enable_hylafax' => array(
965 xl('Enable Hylafax Support'),
966 'bool', // data type
967 '0', // default
968 xl('Enable Hylafax Support')
971 'hylafax_server' => array(
972 xl('Hylafax Server'),
973 'text', // data type
974 'localhost', // default
975 xl('Hylafax server hostname.')
978 'hylafax_basedir' => array(
979 xl('Hylafax Directory'),
980 'text', // data type
981 '/var/spool/fax', // default
982 xl('Location where Hylafax stores faxes.')
985 'hylafax_enscript' => array(
986 xl('Hylafax Enscript Command'),
987 'text', // data type
988 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
989 xl('Enscript command used by Hylafax.')
992 'enable_scanner' => array(
993 xl('Enable Scanner support'),
994 'bool', // data type
995 '0', // default
996 xl('Enable Scanner Support')
999 'scanner_output_directory' => array(
1000 xl('Scanner Directory'),
1001 'text', // data type
1002 '/mnt/scan_docs', // default
1003 xl('Location where scans are stored.')
1008 // Connectors Tab
1010 'Connectors' => array(
1012 'lab_exchange_enable' => array(
1013 xl('Enable Lab Exchange'),
1014 'bool', // data type
1015 '0',
1016 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1019 'lab_exchange_siteid' => array(
1020 xl('Lab Exchange Site ID'),
1021 'text', // data type
1022 '3',
1023 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1026 'lab_exchange_token' => array(
1027 xl('Lab Exchange Token ID'),
1028 'text', // data type
1029 '12345',
1030 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1033 'lab_exchange_endpoint' => array(
1034 xl('Lab Exchange Site Address'),
1035 'text', // data type
1036 'https://openemrsupport.com:29443/len/api',
1037 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')