Internationalization Project: Improving the translation pipeline.
[openemr.git] / library / globals.inc.php
blob4bdfe546a0952738fb14786239dd64d7d5d2317d
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 '3', // default = tree menu
104 xl('Type of screen layout')
107 'css_header' => array(
108 xl('Theme'),
109 'css',
110 'style_oemr.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 'allow_debug_language' => array(
213 xl('Allow Debugging Language'),
214 'bool', // data type
215 '1', // default = true during development and false for production releases
216 xl('This will allow selection of the debugging (\'dummy\') language.')
219 'translate_layout' => array(
220 xl('Translate Layouts'),
221 'bool', // data type
222 '1', // default = true
223 xl('Is text from form layouts to be translated?')
226 'translate_lists' => array(
227 xl('Translate Lists'),
228 'bool', // data type
229 '1', // default = true
230 xl('Is text from lists to be translated?')
233 'translate_gacl_groups' => array(
234 xl('Translate Access Control Groups'),
235 'bool', // data type
236 '1', // default = true
237 xl('Are access control group names to be translated?')
240 'translate_form_titles' => array(
241 xl('Translate Patient Note Titles'),
242 'bool', // data type
243 '1', // default = true
244 xl('Are patient note titles to be translated?')
247 'translate_document_categories' => array(
248 xl('Translate Document Categories'),
249 'bool', // data type
250 '1', // default = true
251 xl('Are document category names to be translated?')
254 'translate_appt_categories' => array(
255 xl('Translate Appointment Categories'),
256 'bool', // data type
257 '1', // default = true
258 xl('Are appointment category names to be translated?')
261 'units_of_measurement' => array(
262 xl('Units for Visit Forms'),
263 array(
264 '1' => xl('Show both US and metric (main unit is US)'),
265 '2' => xl('Show both US and metric (main unit is metric)'),
266 '3' => xl('Show US only'),
267 '4' => xl('Show metric only'),
269 '1', // default = Both/US
270 xl('Applies to the Vitals form and Growth Chart')
273 'disable_deprecated_metrics_form' => array(
274 xl('Disable Old Metric Vitals Form'),
275 'bool', // data type
276 '1', // default = true
277 xl('This was the older metric-only Vitals form, now deprecated.')
280 'phone_country_code' => array(
281 xl('Telephone Country Code'),
282 'num',
283 '1', // default = North America
284 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
287 'date_display_format' => array(
288 xl('Date Display Format'),
289 array(
290 '0' => xl('YYYY-MM-DD'),
291 '1' => xl('MM/DD/YYYY'),
292 '2' => xl('DD/MM/YYYY'),
294 '0',
295 xl('Format used to display most dates.')
298 'time_display_format' => array(
299 xl('Time Display Format'),
300 array(
301 '0' => xl('24 hr'),
302 '1' => xl('12 hr'),
304 '0',
305 xl('Format used to display most times.')
308 'currency_decimals' => array(
309 xl('Currency Decimal Places'),
310 array(
311 '0' => xl('0'),
312 '1' => xl('1'),
313 '2' => xl('2'),
315 '2',
316 xl('Number of digits after decimal point for currency, usually 0 or 2.')
319 'currency_dec_point' => array(
320 xl('Currency Decimal Point Symbol'),
321 array(
322 '.' => xl('Period'),
323 ',' => xl('Comma'),
325 '.',
326 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
329 'currency_thousands_sep' => array(
330 xl('Currency Thousands Separator'),
331 array(
332 ',' => xl('Comma'),
333 '.' => xl('Period'),
334 ' ' => xl('Space'),
335 '' => xl('None'),
337 ',',
338 xl('Symbol used to separate thousands for currency.')
341 'gbl_currency_symbol' => array(
342 xl('Currency Designator'),
343 'text', // data type
344 '$', // default
345 xl('Code or symbol to indicate currency')
350 // Features Tab
352 'Features' => array(
354 'specific_application' => array(
355 xl('Specific Application'),
356 array(
357 '0' => xl('None'),
358 '1' => xl('Athletic team'),
359 '2' => xl('IPPF'),
360 '3' => xl('Weight loss clinic'),
362 '0', // default
363 xl('Indicator for specialized usage')
366 'inhouse_pharmacy' => array(
367 xl('Drugs and Products'),
368 array(
369 '0' => xl('Do not inventory and sell any products'),
370 '1' => xl('Inventory and sell drugs only'),
371 '2' => xl('Inventory and sell both drugs and non-drug products'),
372 '3' => xl('Products but no prescription drugs and no templates'),
374 '0', // default
375 xl('Option to support inventory and sales of products')
378 'disable_chart_tracker' => array(
379 xl('Disable Chart Tracker'),
380 'bool', // data type
381 '0', // default = false
382 xl('Removes the Chart Tracker feature')
385 'disable_phpmyadmin_link' => array(
386 xl('Disable phpMyAdmin'),
387 'bool', // data type
388 '0', // default = false
389 xl('Removes support for phpMyAdmin')
392 'disable_immunizations' => array(
393 xl('Disable Immunizations'),
394 'bool', // data type
395 '0', // default = false
396 xl('Removes support for immunizations')
399 'disable_prescriptions' => array(
400 xl('Disable Prescriptions'),
401 'bool', // data type
402 '0', // default = false
403 xl('Removes support for prescriptions')
406 'omit_employers' => array(
407 xl('Omit Employers'),
408 'bool', // data type
409 '0', // default = false
410 xl('Omit employer information in patient demographics')
413 'select_multi_providers' => array(
414 xl('Support Multi-Provider Events'),
415 'bool', // data type
416 '0', // default = false
417 xl('Support calendar events that apply to multiple providers')
420 'disable_non_default_groups' => array(
421 xl('Disable User Groups'),
422 'bool', // data type
423 '1', // default = true
424 xl('Normally this should be checked. Not related to access control.')
427 'ignore_pnotes_authorization' => array(
428 xl('Skip Authorization of Patient Notes'),
429 'bool', // data type
430 '1', // default = true
431 xl('Do not require patient notes to be authorized')
434 'support_encounter_claims' => array(
435 xl('Allow Encounter Claims'),
436 'bool', // data type
437 '0', // default = false
438 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
441 'advance_directives_warning' => array(
442 xl('Advance Directives Warning'),
443 'bool', // data type
444 '0', // default = false
445 xl('Display advance directives in the demographics page.')
448 'configuration_import_export' => array(
449 xl('Configuration Export/Import'),
450 'bool', // data type
451 '0', // default = false
452 xl('Support export/import of configuration data via the Backup page.')
455 'restrict_user_facility' => array(
456 xl('Restrict Users to Facilities'),
457 'bool', // data type
458 '0', // default
459 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
462 'set_facility_cookie' => array(
463 xl('Remember Selected Facility'),
464 'bool', // data type
465 '0', // default
466 xl('Set a facility cookie to remember the selected facility between logins.')
469 'discount_by_money' => array(
470 xl('Discounts as Monetary Amounts'),
471 'bool', // data type
472 '1', // default = true
473 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
476 'gbl_visit_referral_source' => array(
477 xl('Referral Source for Encounters'),
478 'bool', // data type
479 '0', // default = false
480 xl('A referral source may be specified for each visit.')
483 'gbl_mask_patient_id' => array(
484 xl('Mask for Patient IDs'),
485 'text', // data type
486 '', // default
487 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
490 'gbl_mask_invoice_number' => array(
491 xl('Mask for Invoice Numbers'),
492 'text', // data type
493 '', // default
494 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
497 'gbl_mask_product_id' => array(
498 xl('Mask for Product IDs'),
499 'text', // data type
500 '', // default
501 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
504 'force_billing_widget_open' => array(
505 xl('Force Billing Widget Open'),
506 'bool', // data type
507 '0', // default = false
508 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
511 'activate_ccr_ccd_report' => array(
512 xl('Activate CCR/CCD Reporting'),
513 'bool', // data type
514 '0', // default = false
515 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
520 // Calendar Tab
522 'Calendar' => array(
524 'disable_calendar' => array(
525 xl('Disable Calendar'),
526 'bool', // data type
527 '0', // default
528 xl('Do not display the calendar.')
531 'schedule_start' => array(
532 xl('Calendar Starting Hour'),
533 'hour',
534 '8', // default
535 xl('Beginning hour of day for calendar events.')
538 'schedule_end' => array(
539 xl('Calendar Ending Hour'),
540 'hour',
541 '17', // default
542 xl('Ending hour of day for calendar events.')
545 'calendar_interval' => array(
546 xl('Calendar Interval'),
547 array(
548 '5' => '5',
549 '10' => '10',
550 '15' => '15',
551 '20' => '20',
552 '30' => '30',
553 '60' => '60',
555 '15', // default
556 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
559 'calendar_appt_style' => array(
560 xl('Appointment Display Style'),
561 array(
562 '1' => 'Last name',
563 '2' => 'Last name, first name',
564 '3' => 'Last name, first name (title)',
565 '4' => 'Last name, first name (title: description)',
567 '2', // default
568 xl('This determines how appointments display on the calendar.')
571 'docs_see_entire_calendar' => array(
572 xl('Providers See Entire Calendar'),
573 'bool', // data type
574 '0', // default
575 xl('Check this if you want providers to see all appointments by default and not just their own.')
578 'auto_create_new_encounters' => array(
579 xl('Auto-Create New Encounters'),
580 'bool', // data type
581 '1', // default
582 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
587 // Security Tab
589 'Security' => array(
591 'timeout' => array(
592 xl('Idle Session Timeout Seconds'),
593 'num', // data type
594 '7200', // default
595 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
598 'secure_password' => array(
599 xl('Require Strong Passwords'),
600 'bool', // data type
601 '0', // default
602 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
605 'password_history' => array(
606 xl('Require Unique Passwords'),
607 'bool', // data type
608 '0', // default
609 xl('Means none of last three passwords are allowed when changing a password.')
612 'password_expiration_days' => array(
613 xl('Default Password Expiration Days'),
614 'num', // data type
615 '0', // default
616 xl('Default password expiration period in days. 0 means this feature is disabled.')
619 'password_grace_time' => array(
620 xl('Password Expiration Grace Period'),
621 'num', // data type
622 '0', // default
623 xl('Period in days where a user may login with an expired password.')
626 'is_client_ssl_enabled' => array(
627 xl('Enable Client SSL'),
628 'bool', // data type
629 '0', // default
630 xl('Enable client SSL certificate authentication.')
633 'certificate_authority_crt' => array(
634 xl('Path to CA Certificate File'),
635 'text', // data type
636 '', // default
637 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
640 'certificate_authority_key' => array(
641 xl('Path to CA Key File'),
642 'text', // data type
643 '', // default
644 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
647 'client_certificate_valid_in_days' => array(
648 xl('Client Certificate Expiration Days'),
649 'num', // data type
650 '365', // default
651 xl('Number of days that the client certificate is valid.')
654 'Emergency_Login_email_id' => array(
655 xl('Emergency Login Email Address'),
656 'text', // data type
657 '', // default
658 xl('Email address, if any, to receive emergency login user activation messages.')
663 // Notifications Tab
665 'Notifications' => array(
667 'practice_return_email_path' => array(
668 xl('Notification Email Address'),
669 'text', // data type
670 '', // default
671 xl('Email address, if any, to receive administrative notifications.')
674 'EMAIL_METHOD' => array(
675 xl('Email Transport Method'),
676 array(
677 'PHPMAIL' => 'PHPMAIL',
678 'SENDMAIL' => 'SENDMAIL',
679 'SMTP' => 'SMTP',
681 'SMTP', // default
682 xl('Method for sending outgoing email.')
685 'SMTP_HOST' => array(
686 xl('SMTP Server Hostname'),
687 'text', // data type
688 'localhost', // default
689 xl('If SMTP is used, the server`s hostname or IP address.')
692 'SMTP_PORT' => array(
693 xl('SMTP Server Port Number'),
694 'num', // data type
695 '25', // default
696 xl('If SMTP is used, the server`s TCP port number (usually 25).')
699 'SMTP_USER' => array(
700 xl('SMTP User for Authentication'),
701 'text', // data type
702 '', // default
703 xl('Must be empty if SMTP authentication is not used.')
706 'SMTP_PASS' => array(
707 xl('SMTP Password for Authentication'),
708 'text', // data type
709 '', // default
710 xl('Must be empty if SMTP authentication is not used.')
713 'EMAIL_NOTIFICATION_HOUR' => array(
714 xl('Email Notification Hours'),
715 'num', // data type
716 '50', // default
717 xl('Number of hours in advance to send email notifications.')
720 'SMS_NOTIFICATION_HOUR' => array(
721 xl('SMS Notification Hours'),
722 'num', // data type
723 '50', // default
724 xl('Number of hours in advance to send SMS notifications.')
727 'SMS_GATEWAY_USENAME' => array(
728 xl('SMS Gateway Username'),
729 'text', // data type
730 '', // default
731 xl('Username for SMS Gateway.')
734 'SMS_GATEWAY_PASSWORD' => array(
735 xl('SMS Gateway Password'),
736 'text', // data type
737 '', // default
738 xl('Password for SMS Gateway.')
741 'SMS_GATEWAY_APIKEY' => array(
742 xl('SMS Gateway API Key'),
743 'text', // data type
744 '', // default
745 xl('API key for SMS Gateway.')
750 // Logging
752 'Logging' => array(
754 'enable_auditlog' => array(
755 xl('Enable Audit Logging'),
756 'bool', // data type
757 '1', // default
758 xl('Enable Audit Logging')
761 'audit_events_patient-record' => array(
762 xl('Audit Logging Patient Record'),
763 'bool', // data type
764 '1', // default
765 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
768 'audit_events_scheduling' => array(
769 xl('Audit Logging Scheduling'),
770 'bool', // data type
771 '1', // default
772 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
775 'audit_events_order' => array(
776 xl('Audit Logging Order'),
777 'bool', // data type
778 '1', // default
779 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
782 'audit_events_security-administration' => array(
783 xl('Audit Logging Security Administration'),
784 'bool', // data type
785 '1', // default
786 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
789 'audit_events_backup' => array(
790 xl('Audit Logging Backups'),
791 'bool', // data type
792 '1', // default
793 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
796 'audit_events_other' => array(
797 xl('Audit Logging Miscellaneous'),
798 'bool', // data type
799 '1', // default
800 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
803 'audit_events_query' => array(
804 xl('Audit Logging SELECT Query'),
805 'bool', // data type
806 '0', // default
807 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
810 'enable_atna_audit' => array(
811 xl('Enable ATNA Auditing'),
812 'bool', // data type
813 '0', // default
814 xl('Enable Audit Trail and Node Authentication (ATNA).')
817 'atna_audit_host' => array(
818 xl('ATNA audit host'),
819 'text', // data type
820 '', // default
821 xl('The hostname of the ATNA audit repository machine.')
824 'atna_audit_port' => array(
825 xl('ATNA audit port'),
826 'text', // data type
827 '6514', // default
828 xl('Listening port of the RFC 5425 TLS syslog server.')
831 'atna_audit_localcert' => array(
832 xl('ATNA audit local certificate'),
833 'text', // data type
834 '', // default
835 xl('Certificate to send to RFC 5425 TLS syslog server.')
838 'atna_audit_cacert' => array(
839 xl('ATNA audit CA certificate'),
840 'text', // data type
841 '', // default
842 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
847 // Miscellaneous Tab
849 'Miscellaneous' => array(
851 'mysql_bin_dir' => array(
852 xl('Path to MySQL Binaries'),
853 'text', // data type
854 $mysql_bin_dir, // default
855 xl('Full path to directory containing MySQL executables.')
858 'perl_bin_dir' => array(
859 xl('Path to Perl Binaries'),
860 'text', // data type
861 $perl_bin_dir, // default
862 xl('Full path to directory containing Perl executables.')
865 'temporary_files_dir' => array(
866 xl('Path to Temporary Files'),
867 'text', // data type
868 $temporary_files_dir, // default
869 xl('Full path to directory used for temporary files.')
872 'backup_log_dir' => array(
873 xl('Path for Event Log Backup'),
874 'text', // data type
875 $backup_log_dir, // default
876 xl('Full path to directory for event log backup.')
879 'state_data_type' => array(
880 xl('State Data Type'),
881 array(
882 '2' => xl('Text field'),
883 '1' => xl('Single-selection list'),
884 '26' => xl('Single-selection list with ability to add to the list'),
886 '26', // default
887 xl('Field type to use for employer or subscriber state in demographics.')
890 'state_list' => array(
891 xl('State list'),
892 'text', // data type
893 'state', // default
894 xl('List used by above State Data Type option.')
897 'state_custom_addlist_widget' => array(
898 xl('State List Widget Custom Fields'),
899 'bool', // data type
900 '1', // default
901 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
904 'country_data_type' => array(
905 xl('Country Data Type'),
906 array(
907 '2' => xl('Text field'),
908 '1' => xl('Single-selection list'),
909 '26' => xl('Single-selection list with ability to add to the list'),
911 '26', // default
912 xl('Field type to use for employer or subscriber country in demographics.')
915 'country_list' => array(
916 xl('Country list'),
917 'text', // data type
918 'country', // default
919 xl('List used by above Country Data Type option.')
922 'print_command' => array(
923 xl('Print Command'),
924 'text', // data type
925 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
926 xl('Shell command for printing from the server.')
929 'default_chief_complaint' => array(
930 xl('Default Reason for Visit'),
931 'text', // data type
933 xl('You may put text here as the default complaint in the New Patient Encounter form.')
936 'default_new_encounter_form' => array(
937 xl('Default Encounter Form ID'),
938 'text', // data type
940 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
943 'patient_id_category_name' => array(
944 xl('Patient ID Category Name'),
945 'text', // data type
946 'Patient ID card', // default
947 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
950 'patient_photo_category_name' => array(
951 xl('Patient Photo Category Name'),
952 'text', // data type
953 'Patient Photograph', // default
954 xl('Optional category name for photo images that can be viewed from the patient summary page.')
957 'MedicareReferrerIsRenderer' => array(
958 xl('Medicare Referrer Is Renderer'),
959 'bool', // data type
960 '0', // default = true
961 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
964 'post_to_date_benchmark' => array(
965 xl('Financial Close Date (yyyy-mm-dd)'),
966 'text', // data type
967 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
968 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
971 'enable_hylafax' => array(
972 xl('Enable Hylafax Support'),
973 'bool', // data type
974 '0', // default
975 xl('Enable Hylafax Support')
978 'hylafax_server' => array(
979 xl('Hylafax Server'),
980 'text', // data type
981 'localhost', // default
982 xl('Hylafax server hostname.')
985 'hylafax_basedir' => array(
986 xl('Hylafax Directory'),
987 'text', // data type
988 '/var/spool/fax', // default
989 xl('Location where Hylafax stores faxes.')
992 'hylafax_enscript' => array(
993 xl('Hylafax Enscript Command'),
994 'text', // data type
995 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
996 xl('Enscript command used by Hylafax.')
999 'enable_scanner' => array(
1000 xl('Enable Scanner Support'),
1001 'bool', // data type
1002 '0', // default
1003 xl('Enable Scanner Support')
1006 'scanner_output_directory' => array(
1007 xl('Scanner Directory'),
1008 'text', // data type
1009 '/mnt/scan_docs', // default
1010 xl('Location where scans are stored.')
1015 // Connectors Tab
1017 'Connectors' => array(
1019 'lab_exchange_enable' => array(
1020 xl('Enable Lab Exchange'),
1021 'bool', // data type
1022 '0',
1023 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1026 'lab_exchange_siteid' => array(
1027 xl('Lab Exchange Site ID'),
1028 'text', // data type
1029 '3',
1030 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1033 'lab_exchange_token' => array(
1034 xl('Lab Exchange Token ID'),
1035 'text', // data type
1036 '12345',
1037 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1040 'lab_exchange_endpoint' => array(
1041 xl('Lab Exchange Site Address'),
1042 'text', // data type
1043 'https://openemrsupport.com:29443/len/api',
1044 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')