Expand document tree on load based on global configuration
[openemr.git] / library / globals.inc.php
blobbab639a3976798dc26e52088e54528d74ad0a8cb
1 <?php
2 // Copyright (C) 2010-2015 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 // Bosnian // xl('Bosnian')
27 // Chinese (Simplified) // xl('Chinese (Simplified)')
28 // Chinese (Traditional) // xl('Chinese (Traditional)')
29 // Croatian // xl('Croatian')
30 // Czech // xl('Czech')
31 // Danish // xl('Danish')
32 // Dutch // xl('Dutch')
33 // English (Indian) // xl('English (Indian)')
34 // English (Standard) // xl('English (Standard)')
35 // Estonian // xl('Estonian')
36 // Finnish // xl('Finnish')
37 // French // xl('French (Standard)')
38 // French // xl('French (Canadian)')
39 // Georgian // xl('Georgian')
40 // German // xl('German')
41 // Greek // xl('Greek')
42 // Hebrew // xl('Hebrew')
43 // Hindi // xl('Hindi')
44 // Hungarian // xl('Hungarian')
45 // Italian // xl('Italian')
46 // Japanese // xl('Japanese')
47 // Korean // xl('Korean')
48 // Lithuanian // xl('Lithuanian')
49 // Marathi // xl('Marathi')
50 // Norwegian // xl('Norwegian')
51 // Persian // xl('Persian')
52 // Polish // xl('Polish')
53 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
54 // Portuguese (European) // xl('Portuguese (European)')
55 // Romanian // xl('Romanian')
56 // Russian // xl('Russian')
57 // Serbian // xl('Serbian')
58 // Sinhala // xl('Sinhala')
59 // Slovak // xl('Slovak')
60 // Spanish (Latin American) // xl('Spanish (Latin American)')
61 // Spanish (Spain) // xl('Spanish (Spain)')
62 // Swedish // xl('Swedish')
63 // Turkish // xl('Turkish')
64 // Ukrainian // xl('Ukrainian')
65 // Vietnamese // xl('Vietnamese')
67 // OS-dependent stuff.
68 if (stristr(PHP_OS, 'WIN')) {
69 // MS Windows
70 $mysql_bin_dir = 'C:/xampp/mysql/bin';
71 $perl_bin_dir = 'C:/xampp/perl/bin';
72 $temporary_files_dir = 'C:/windows/temp';
73 $backup_log_dir = 'C:/windows/temp';
75 else {
76 // Everything else
77 $mysql_bin_dir = '/usr/bin';
78 $perl_bin_dir = '/usr/bin';
79 $temporary_files_dir = '/tmp';
80 $backup_log_dir = '/tmp';
83 // Language constant declarations:
84 // xl('Appearance')
85 // xl('Locale')
86 // xl('Features')
87 // xl('Calendar')
88 // xl('Security')
89 // xl('Notifications')
90 // xl('Miscellaneous')
92 // List of user specific tabs and globals
93 $USER_SPECIFIC_TABS = array('Appearance',
94 'Locale',
95 'Report',
96 'Calendar',
97 'Connectors');
98 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
99 'concurrent_layout',
100 'css_header',
101 'gbl_pt_list_page_size',
102 'gbl_pt_list_new_window',
103 'drop_bottom',
104 'units_of_measurement',
105 'us_weight_format',
106 'date_display_format',
107 'time_display_format',
108 'ledger_begin_date',
109 'print_next_appointment_on_ledger',
110 'calendar_view_type',
111 'event_color',
112 'pat_trkr_timer',
113 'checkout_roll_off',
114 'ptkr_pt_list_new_window',
115 'erx_import_status_message');
117 $GLOBALS_METADATA = array(
119 // Appearance Tab
121 'Appearance' => array(
123 'default_top_pane' => array(
124 xl('Main Top Pane Screen'), // descriptive name
125 array(
126 'main_info.php' => xl('Calendar Screen'),
127 '../new/new.php' => xl('Patient Search/Add Screen'),
128 '../../interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1' => xl('Patient Flow Board'),
130 'main_info.php', // default = calendar
131 xl('Type of screen layout')
134 'concurrent_layout' => array(
135 xl('Layout Style'), // descriptive name
136 array(
137 '0' => xl('Old style layout with no left menu'),
138 '1' => xl('Navigation menu consists of pairs of radio buttons'),
139 '2' => xl('Navigation menu is a tree view'),
140 '3' => xl('Navigation uses a sliding menu'),
142 '3', // default = tree menu
143 xl('Type of screen layout')
146 'default_encounter_view' => array(
147 xl('Default Encounter View'), // descriptive name
148 array(
149 '0' => xl('Clinical View'),
150 '1' => xl('Billing View'),
152 '0', // default = tree menu
153 xl('Choose your default encounter view')
156 'css_header' => array(
157 xl('Theme'),
158 'css',
159 'style_oemr.css',
160 xl('Pick a CSS theme.')
163 'gbl_nav_area_width' => array(
164 xl('Navigation Area Width'),
165 'num',
166 '150',
167 xl('Width in pixels of the left navigation frame.')
170 'openemr_name' => array(
171 xl('Application Title'),
172 'text',
173 'OpenEMR',
174 xl('Application name for login page and main window title.')
177 'full_new_patient_form' => array(
178 xl('New Patient Form'),
179 array(
180 '0' => xl('Old-style static form without search or duplication check'),
181 '1' => xl('All demographics fields, with search and duplication check'),
182 '2' => xl('Mandatory or specified fields only, search and dup check'),
183 '3' => xl('Mandatory or specified fields only, dup check, no search'),
185 '1', // default
186 xl('Style of form used for adding new patients')
189 'patient_search_results_style' => array(
190 xl('Patient Search Results Style'),
191 array(
192 '0' => xl('Encounter statistics'),
193 '1' => xl('Mandatory and specified fields'),
195 '0', // default
196 xl('Type of columns displayed for patient search results')
199 'gbl_tall_nav_area' => array(
200 xl('Tall Navigation Area'),
201 'bool', // data type
202 '0', // default = false
203 xl('Navigation area uses full height of frameset')
206 'gbl_nav_visit_forms' => array(
207 xl('Navigation Area Visit Forms'),
208 'bool', // data type
209 '1', // default = true
210 xl('Navigation area includes encounter forms')
213 'simplified_demographics' => array(
214 xl('Simplified Demographics'),
215 'bool', // data type
216 '0', // default = false
217 xl('Omit insurance and some other things from the demographics form')
220 'simplified_prescriptions' => array(
221 xl('Simplified Prescriptions'),
222 'bool', // data type
223 '0', // default = false
224 xl('Omit form, route and interval which then become part of dosage')
227 'simplified_copay' => array(
228 xl('Simplified Co-Pay'),
229 'bool', // data type
230 '0', // default = false
231 xl('Omit method of payment from the co-pay panel')
234 'use_charges_panel' => array(
235 xl('Use Charges Panel'),
236 'bool', // data type
237 '0', // default = false
238 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
241 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
242 'enable_fees_in_left_menu' => array(
243 xl('Enable Fees In Left Menu'),
244 'bool', // data type
245 '1', // default = true
246 xl('Enable Fees In Left Menu')
248 // EDI history 2012-09-13
249 'enable_edihistory_in_left_menu' => array(
250 xl('Enable EDI History In Left Menu'),
251 'bool', // data type
252 '1', // default = true
253 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
256 'online_support_link' => array(
257 xl('Online Support Link'),
258 'text', // data type
259 'http://open-emr.org/',
260 xl('URL for OpenEMR support.')
263 'drop_bottom' => array(
264 xl('Remove Bottom Pane'),
265 'bool', // data type
266 '0', // default = false
267 xl('Removes the bottom pane by default on start up.')
270 'encounter_page_size' => array(
271 xl('Encounter Page Size'),
272 array(
273 '0' => xl('Show All'),
274 '5' => '5',
275 '10' => '10',
276 '15' => '15',
277 '20' => '20',
278 '25' => '25',
279 '50' => '50',
281 '20',
282 xl('Number of encounters to display per page.')
285 'gbl_pt_list_page_size' => array(
286 xl('Patient List Page Size'),
287 array(
288 '10' => '10',
289 '25' => '25',
290 '50' => '50',
291 '100' => '100',
293 '10',
294 xl('Number of patients to display per page in the patient list.')
297 'gbl_pt_list_new_window' => array(
298 xl('Patient List New Window'),
299 'bool', // data type
300 '0', // default = false
301 xl('Default state of New Window checkbox in the patient list.')
304 'gbl_vitals_options' => array(
305 xl('Vitals Form Options'),
306 array(
307 '0' => xl('Standard'),
308 '1' => xl('Omit circumferences'),
310 '0', // default
311 xl('Special treatment for the Vitals form')
316 // Locale Tab
318 'Locale' => array(
320 'language_default' => array(
321 xl('Default Language'),
322 'lang', // data type
323 'English (Standard)', // default = english
324 xl('Default language if no other is allowed or chosen.')
327 'language_menu_showall' => array(
328 xl('All Languages Allowed'),
329 'bool', // data type
330 '1', // default = true
331 xl('Allow all available languages as choices on menu at login.')
334 'language_menu_other' => array(
335 xl('Allowed Languages'),
336 'm_lang', // data type
337 '', // default = none
338 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
341 'allow_debug_language' => array(
342 xl('Allow Debugging Language'),
343 'bool', // data type
344 '1', // default = true during development and false for production releases
345 xl('This will allow selection of the debugging (\'dummy\') language.')
348 'translate_layout' => array(
349 xl('Translate Layouts'),
350 'bool', // data type
351 '1', // default = true
352 xl('Is text from form layouts to be translated?')
355 'translate_lists' => array(
356 xl('Translate Lists'),
357 'bool', // data type
358 '1', // default = true
359 xl('Is text from lists to be translated?')
362 'translate_gacl_groups' => array(
363 xl('Translate Access Control Groups'),
364 'bool', // data type
365 '1', // default = true
366 xl('Are access control group names to be translated?')
369 'translate_form_titles' => array(
370 xl('Translate Patient Note Titles'),
371 'bool', // data type
372 '1', // default = true
373 xl('Are patient note titles to be translated?')
376 'translate_document_categories' => array(
377 xl('Translate Document Categories'),
378 'bool', // data type
379 '1', // default = true
380 xl('Are document category names to be translated?')
383 'translate_appt_categories' => array(
384 xl('Translate Appointment Categories'),
385 'bool', // data type
386 '1', // default = true
387 xl('Are appointment category names to be translated?')
390 'units_of_measurement' => array(
391 xl('Units for Visit Forms'),
392 array(
393 '1' => xl('Show both US and metric (main unit is US)'),
394 '2' => xl('Show both US and metric (main unit is metric)'),
395 '3' => xl('Show US only'),
396 '4' => xl('Show metric only'),
398 '1', // default = Both/US
399 xl('Applies to the Vitals form and Growth Chart')
402 'us_weight_format' => array(
403 xl('Display Format for US Weights'),
404 array(
405 '1'=>xl('Show pounds as decimal value'),
406 '2'=>xl('Show pounds and ounces')
408 '1',
409 xl('Applies to Vitals form')
412 'disable_deprecated_metrics_form' => array(
413 xl('Disable Old Metric Vitals Form'),
414 'bool', // data type
415 '1', // default = true
416 xl('This was the older metric-only Vitals form, now deprecated.')
419 'phone_country_code' => array(
420 xl('Telephone Country Code'),
421 'num',
422 '1', // default = North America
423 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
426 'date_display_format' => array(
427 xl('Date Display Format'),
428 array(
429 '0' => xl('YYYY-MM-DD'),
430 '1' => xl('MM/DD/YYYY'),
431 '2' => xl('DD/MM/YYYY'),
433 '0',
434 xl('Format used to display most dates.')
437 'time_display_format' => array(
438 xl('Time Display Format'),
439 array(
440 '0' => xl('24 hr'),
441 '1' => xl('12 hr'),
443 '0',
444 xl('Format used to display most times.')
447 'currency_decimals' => array(
448 xl('Currency Decimal Places'),
449 array(
450 '0' => xl('0'),
451 '1' => xl('1'),
452 '2' => xl('2'),
454 '2',
455 xl('Number of digits after decimal point for currency, usually 0 or 2.')
458 'currency_dec_point' => array(
459 xl('Currency Decimal Point Symbol'),
460 array(
461 '.' => xl('Period'),
462 ',' => xl('Comma'),
464 '.',
465 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
468 'currency_thousands_sep' => array(
469 xl('Currency Thousands Separator'),
470 array(
471 ',' => xl('Comma'),
472 '.' => xl('Period'),
473 ' ' => xl('Space'),
474 '' => xl('None'),
476 ',',
477 xl('Symbol used to separate thousands for currency.')
480 'gbl_currency_symbol' => array(
481 xl('Currency Designator'),
482 'text', // data type
483 '$', // default
484 xl('Code or symbol to indicate currency')
486 'age_display_format'=>array(xl('Age Display Format'),
487 array(
488 '0'=>xl('Years or months'),
489 '1'=>xl('Years, months and days')
491 '0',
492 xl('Format for age display')
494 'age_display_limit' => array(
495 xl('Age in Years for Display Format Change'),
496 'num',
497 '3',
498 xl('If YMD is selected for age display, switch to just Years when patients older than this value in years')
502 // Features Tab
504 'Features' => array(
506 'specific_application' => array(
507 xl('Specific Application'),
508 array(
509 '0' => xl('None'),
510 '1' => xl('Athletic team'),
511 '2' => xl('IPPF'),
512 '3' => xl('Weight loss clinic'),
514 '0', // default
515 xl('Indicator for specialized usage')
518 'inhouse_pharmacy' => array(
519 xl('Drugs and Products'),
520 array(
521 '0' => xl('Do not inventory and sell any products'),
522 '1' => xl('Inventory and sell drugs only'),
523 '2' => xl('Inventory and sell both drugs and non-drug products'),
524 '3' => xl('Products but no prescription drugs and no templates'),
526 '0', // default
527 xl('Option to support inventory and sales of products')
530 'disable_chart_tracker' => array(
531 xl('Disable Chart Tracker'),
532 'bool', // data type
533 '0', // default = false
534 xl('Removes the Chart Tracker feature')
537 'disable_phpmyadmin_link' => array(
538 xl('Disable phpMyAdmin'),
539 'bool', // data type
540 '0', // default = false
541 xl('Removes support for phpMyAdmin')
544 'disable_immunizations' => array(
545 xl('Disable Immunizations'),
546 'bool', // data type
547 '0', // default = false
548 xl('Removes support for immunizations')
551 'disable_prescriptions' => array(
552 xl('Disable Prescriptions'),
553 'bool', // data type
554 '0', // default = false
555 xl('Removes support for prescriptions')
558 'omit_employers' => array(
559 xl('Omit Employers'),
560 'bool', // data type
561 '0', // default = false
562 xl('Omit employer information in patient demographics')
565 'select_multi_providers' => array(
566 xl('Support Multi-Provider Events'),
567 'bool', // data type
568 '0', // default = false
569 xl('Support calendar events that apply to multiple providers')
572 'disable_non_default_groups' => array(
573 xl('Disable User Groups'),
574 'bool', // data type
575 '1', // default = true
576 xl('Normally this should be checked. Not related to access control.')
579 'ignore_pnotes_authorization' => array(
580 xl('Skip Authorization of Patient Notes'),
581 'bool', // data type
582 '1', // default = true
583 xl('Do not require patient notes to be authorized')
586 'support_encounter_claims' => array(
587 xl('Allow Encounter Claims'),
588 'bool', // data type
589 '0', // default = false
590 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
593 'advance_directives_warning' => array(
594 xl('Advance Directives Warning'),
595 'bool', // data type
596 '0', // default = false
597 xl('Display advance directives in the demographics page.')
600 'configuration_import_export' => array(
601 xl('Configuration Export/Import'),
602 'bool', // data type
603 '0', // default = false
604 xl('Support export/import of configuration data via the Backup page.')
607 'restrict_user_facility' => array(
608 xl('Restrict Users to Facilities'),
609 'bool', // data type
610 '0', // default
611 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
614 'set_facility_cookie' => array(
615 xl('Remember Selected Facility'),
616 'bool', // data type
617 '0', // default
618 xl('Set a facility cookie to remember the selected facility between logins.')
621 'receipts_by_provider' => array(
622 xl('Print Receipts by Provider'),
623 'bool',
624 '0', // default
625 xl('Causes Receipts to Print Encounter/Primary Provider Info')
628 'discount_by_money' => array(
629 xl('Discounts as Monetary Amounts'),
630 'bool', // data type
631 '1', // default = true
632 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
635 'gbl_visit_referral_source' => array(
636 xl('Referral Source for Encounters'),
637 'bool', // data type
638 '0', // default = false
639 xl('A referral source may be specified for each visit.')
642 'gbl_mask_patient_id' => array(
643 xl('Mask for Patient IDs'),
644 'text', // data type
645 '', // default
646 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
649 'gbl_mask_invoice_number' => array(
650 xl('Mask for Invoice Numbers'),
651 'text', // data type
652 '', // default
653 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
656 'gbl_mask_product_id' => array(
657 xl('Mask for Product IDs'),
658 'text', // data type
659 '', // default
660 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
663 'force_billing_widget_open' => array(
664 xl('Force Billing Widget Open'),
665 'bool', // data type
666 '0', // default = false
667 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
670 'num_past_appointments_to_show' => array(
671 xl('Past Appointment Display Widget'),
672 'num', // data type
673 '0', // default = false
674 xl('A positive number will show that many past appointments on a Widget in the Patient Summary screen (a negative number will show the past appointments in descending order)')
677 'activate_ccr_ccd_report' => array(
678 xl('Activate CCR/CCD Reporting'),
679 'bool', // data type
680 '1', // default = true
681 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
684 'hide_document_encryption' => array(
685 xl('Hide Encryption/Decryption Options In Document Management'),
686 'bool', // data type
687 '1', // default = true
688 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
691 'use_custom_immun_list' => array(
692 xl('Use Custom Immunization List'),
693 'bool', // data type
694 '0', // default = true
695 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
698 'cms_1500' => array(
699 xl('CMS 1500 Paper Form Format'),
700 array(
701 '0' => xl('08/05{{CMS 1500 format date revision setting in globals}}'),
702 '1' => xl('02/12{{CMS 1500 format date revision setting in globals}}'),
704 '1', // default
705 xl('This specifies which revision of the form the billing module should generate')
708 'cms_1500_box_31_format' => array(
709 xl('CMS 1500: Box 31 Format'),
710 array(
711 '0' => xl('Signature on File'),
712 '1' => xl('Firstname Lastname'),
713 '2' => xl('None'),
715 '0', // default
716 xl('This specifies whether to include date in Box 31.')
719 'cms_1500_box_31_date' => array(
720 xl('CMS 1500: Date in Box 31 (Signature)'),
721 array(
722 '0' => xl('None'),
723 '1' => xl('Date of Service'),
724 '2' => xl('Today'),
726 '0', // default
727 xl('This specifies whether to include date in Box 31.')
730 'amendments' => array (
731 xl('Amendments'),
732 'bool', // data type
733 '1', // default = true
734 xl('Enable amendments feature')
738 // Report Tab
740 'Report' => array(
742 'use_custom_daysheet' => array(
743 xl('Use Custom End of Day Report'),
744 array(
745 '0' => xl('None'),
746 '1' => xl('Print End of Day Report 1'),
747 '2' => xl('Print End of Day Report 2'),
748 '3' => xl('Print End of Day Report 3'),
749 ), // data type
750 '1', // default = Print End of Day Report 1
751 xl('This will allow the use of the custom End of Day report and indicate which report to use.')
754 'daysheet_provider_totals' => array(
755 xl('End of Day by Provider or allow Totals Only'),
756 array(
757 '0' => xl('Provider'),
758 '1' => xl('Totals Only'),
760 '1', // default
761 xl('This specifies the Printing of the Custom End of Day Report grouped Provider or allow the Printing of Totals Only')
764 'ledger_begin_date' => array(
765 xl('Beginning Date for Ledger Report'),
766 array(
767 'Y1' => xl('One Year Ago'),
768 'Y2' => xl('Two Years Ago'),
769 'M6' => xl('Six Months Ago'),
770 'M3' => xl('Three Months Ago'),
771 'M1' => xl('One Month Ago'),
772 'D1' => xl('One Day Ago'),
774 'Y1', // default = One Year
775 xl('This is the Beginning date for the Ledger Report.')
778 'print_next_appointment_on_ledger' => array(
779 xl('Print the Next Appointment on the Bottom of the Ledger'),
780 'bool', // data type
781 '1', // default = true
782 xl('This Will Print the Next Appointment on the Bottom of the Patient Ledger')
785 'sales_report_invoice' => array(
786 xl('Display Invoice Number or Patient Name or Both in the Sales Report'),
787 array(
788 '0' => xl('Invoice Number'),
789 '1' => xl('Patient Name and ID'),
790 '2' => xl('Patient Name and Invoice'),
792 '2', // default = 2
793 xl('This will Display the Invoice Number in the Sales Report or the Patient Name and ID or Patient Name and Invoice Number.')
797 // Billing Tab
799 'Billing' => array(
801 'default_search_code_type' => array(
802 xl('Default Search Code Type'),
803 'all_code_types', // data type
804 'ICD10', // default
805 xl('The default code type to search for in the Fee Sheet.')
808 'support_fee_sheet_line_item_provider' => array(
809 xl('Support provider in line item in fee sheet'),
810 'bool', // data type
811 '0', // default = false
812 xl('This Enables provider in line item in the fee sheet')
815 'default_fee_sheet_line_item_provider' => array(
816 xl('Default to a provider for line item in the fee sheet'),
817 'bool', // data type
818 '0', // default = false
819 xl('Default to a provider for line item in the fee sheet.(only applicable if Support line item billing in option above)')
822 'use_custom_statement' => array(
823 xl('Use Custom Statement'),
824 'bool', // data type
825 '0', // default = false
826 xl('This will use the custom Statment showing the description instead of the codes.')
829 'statement_bill_note_print' => array(
830 xl('Print Patient Billing Note'),
831 'bool', // data type
832 '0', // default = false
833 xl('This will allow printing of the Patient Billing Note on the statements.')
836 'use_dunning_message' => array(
837 xl('Use Custom Dunning Messages'),
838 'bool', // data type
839 '0', // default = false
840 xl('This will allow use of the custom Dunning Messages on the statements.')
843 'first_dun_msg_set' => array(
844 xl('Number of days before showing first account message'),
845 'num', // data type
846 '30',
847 xl('Number of days before showing first account message.')
850 'first_dun_msg_text' => array(
851 xl('First account message'),
852 'text', // data type
854 xl('Text for first account message.')
857 'second_dun_msg_set' => array(
858 xl('Number of days before showing second account message'),
859 'num', // data type
860 '60',
861 xl('Number of days before showing second account message.')
864 'second_dun_msg_text' => array(
865 xl('Second account message'),
866 'text', // data type
868 xl('Text for second account message.')
871 'third_dun_msg_set' => array(
872 xl('Number of days before showing third account message'),
873 'num', // data type
874 '90',
875 xl('Number of days before showing third account message.')
878 'third_dun_msg_text' => array(
879 xl('Third account message'),
880 'text', // data type
882 xl('Text for third account message.')
885 'fourth_dun_msg_set' => array(
886 xl('Number of days before showing fourth account message'),
887 'num', // data type
888 '120',
889 xl('Number of days before showing fourth account message.')
892 'fourth_dun_msg_text' => array(
893 xl('Fourth account message'),
894 'text', // data type
896 xl('Text for fourth account message.')
899 'fifth_dun_msg_set' => array(
900 xl('Number of days before showing fifth account message'),
901 'num', // data type
902 '150',
903 xl('Number of days before showing fifth account message.')
906 'fifth_dun_msg_text' => array(
907 xl('Fifth account message'),
908 'text', // data type
910 xl('Text for fifth account message.')
914 // E-Sign Tab
916 'E-Sign' => array(
918 'esign_all' => array(
919 xl('Allows E-Sign on the entire encounter'),
920 'bool', // data type
921 '0', // default = false
922 xl('This will enable signing an entire encounter, rather than individual forms')
925 'lock_esign_all' => array(
926 xl('Lock e-signed encounters and their forms'),
927 'bool', // data type
928 '0', // default = false
929 xl('This will disable the Edit button on all forms whose parent encounter is e-signed')
932 'esign_individual' => array(
933 xl('Allows E-Signing Individual Forms'),
934 'bool', // data type
935 '1', // default = false
936 xl('This will enable signing individual forms separately')
939 'lock_esign_individual' => array(
940 xl('Lock an e-signed form individually'),
941 'bool', // data type
942 '1', // default = false
943 xl('This will disable the Edit button on any form that is e-signed')
946 'esign_lock_toggle' => array(
947 xl('Enable lock toggle'),
948 'bool', // data type
949 '0', // default = false
950 xl('This will give the user the option to lock (separate locking and signing)')
953 'esign_report_hide_empty_sig' => array(
954 xl('Hide Empty E-Sign Logs On Report'),
955 'bool', // data type
956 '1', // default = false
957 xl('This will hide empty e-sign logs on the patient report')
961 //Documents Tab
962 'Documents' => array(
964 'document_storage_method' => array(
965 xl('Document Storage Method'),
966 array(
967 '0' => xl('Hard Disk'),
968 '1' => xl('CouchDB')
970 '0', // default
971 xl('Option to save method of document storage.')
973 'couchdb_host' => array(
974 xl('CouchDB HostName'),
975 'text',
976 'localhost',
977 xl('CouchDB host'),
979 'couchdb_user' => array(
980 xl('CouchDB UserName'),
981 'text',
983 xl('Username to connect to CouchDB'),
985 'couchdb_pass' => array(
986 xl('CouchDB Password'),
987 'text',
989 xl('Password to connect to CouchDB'),
991 'couchdb_port' => array(
992 xl('CouchDB Port'),
993 'text',
994 '5984',
995 xl('CouchDB port'),
997 'couchdb_dbase' => array(
998 xl('CouchDB Database'),
999 'text',
1001 xl('CouchDB database name'),
1003 'couchdb_log' => array(
1004 xl('CouchDB Log Enable'),
1005 'bool',
1006 '0',
1007 xl('Enable log for document uploads/downloads to CouchDB'),
1010 'expand_document_tree' => array(
1011 xl('Expand All Document Categories'),
1012 'bool', // data type
1013 '0', // default = false
1014 xl('Expand All Document Categories by Default')
1017 'patient_id_category_name' => array(
1018 xl('Patient ID Category Name'),
1019 'text', // data type
1020 'Patient ID card', // default
1021 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1024 'patient_photo_category_name' => array(
1025 xl('Patient Photo Category Name'),
1026 'text', // data type
1027 'Patient Photograph', // default
1028 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1031 'lab_results_category_name' => array(
1032 xl('Lab Results Category Name'),
1033 'text', // data type
1034 'Lab Report', // default
1035 xl('Document category name for storage of electronically received lab results.')
1038 'gbl_mdm_category_name' => array(
1039 xl('MDM Document Category Name'),
1040 'text', // data type
1041 'Lab Report', // default
1042 xl('Document category name for storage of electronically received MDM documents.')
1047 // Calendar Tab
1049 'Calendar' => array(
1051 'disable_calendar' => array(
1052 xl('Disable Calendar'),
1053 'bool', // data type
1054 '0', // default
1055 xl('Do not display the calendar.')
1058 'schedule_start' => array(
1059 xl('Calendar Starting Hour'),
1060 'hour',
1061 '8', // default
1062 xl('Beginning hour of day for calendar events.')
1065 'schedule_end' => array(
1066 xl('Calendar Ending Hour'),
1067 'hour',
1068 '17', // default
1069 xl('Ending hour of day for calendar events.')
1072 'calendar_interval' => array(
1073 xl('Calendar Interval'),
1074 array(
1075 '5' => '5',
1076 '10' => '10',
1077 '15' => '15',
1078 '20' => '20',
1079 '30' => '30',
1080 '60' => '60',
1082 '15', // default
1083 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
1086 'calendar_view_type' => array(
1087 xl('Default Calendar View'),
1088 array(
1089 'day' => xl('Day'),
1090 'week' => xl('Week'),
1091 'month' => xl('Month'),
1093 'day', // default
1094 xl('This sets the Default Calendar View, Default is Day.')
1097 'calendar_appt_style' => array(
1098 xl('Appointment Display Style'),
1099 array(
1100 '1' => 'Last name',
1101 '2' => 'Last name, first name',
1102 '3' => 'Last name, first name (title)',
1103 '4' => 'Last name, first name (title: description)',
1105 '2', // default
1106 xl('This determines how appointments display on the calendar.')
1109 'docs_see_entire_calendar' => array(
1110 xl('Providers See Entire Calendar'),
1111 'bool', // data type
1112 '0', // default
1113 xl('Check this if you want providers to see all appointments by default and not just their own.')
1116 'auto_create_new_encounters' => array(
1117 xl('Auto-Create New Encounters'),
1118 'bool', // data type
1119 '1', // default
1120 xl('Automatically create a new encounter when an appointment check in status is selected.')
1123 'event_color' => array(
1124 xl('Appointment/Event Color'),
1125 array(
1126 '1' => 'Category Color Schema',
1127 '2' => 'Facility Color Schema',
1128 ), // data type
1129 '1', // default
1130 xl('This determines which color schema used for appointment')
1133 'disable_pat_trkr' => array(
1134 xl('Disable Patient Flow Board'),
1135 'bool', // data type
1136 '0', // default
1137 xl('Do not display the patient flow board.')
1140 'ptkr_pt_list_new_window' => array(
1141 xl('Open Demographics in New Window from Patient Flow Board'),
1142 'bool', // data type
1143 '0', // default = false
1144 xl('When Checked, Demographics Will Open in New Window from Patient Flow Board.')
1147 'pat_trkr_timer' => array(
1148 xl('Patient Flow Board Timer Interval'),
1149 array(
1150 '0' => 'No automatic refresh',
1151 '0:10' => '10',
1152 '0:20' => '20',
1153 '0:30' => '30',
1154 '0:40' => '40',
1155 '0:50' => '50',
1156 '0:59' => '60',
1158 '0:20', // default
1159 xl('The screen refresh time in Seconds for the Patient Flow Board Screen.')
1162 'checkout_roll_off' => array(
1163 xl('Number of Minutes to display completed checkouts'),
1164 'num',
1165 '0', // default
1166 xl('Number of Minutes to display completed checkouts. Zero is continuous display')
1169 'drug_screen' => array(
1170 xl('Enable Random Drug Testing'),
1171 'bool', // data type
1172 '0', // default
1173 xl('Allow Patient Flow Board to Select Patients for Drug Testing.')
1176 'drug_testing_percentage' => array(
1177 xl('Percentage of Patients to Drug Test'),
1178 'num',
1179 '33', // default
1180 xl('Percentage of Patients to select for Random Drug Testing.')
1183 'maximum_drug_test_yearly' => array(
1184 xl('Maximum number of times a Patient can be tested in a year'),
1185 'num',
1186 '0', // default
1187 xl('Maximum number of times a Patient can be tested in a year. Zero is no limit.')
1192 // Security Tab
1194 'Security' => array(
1196 'timeout' => array(
1197 xl('Idle Session Timeout Seconds'),
1198 'num', // data type
1199 '7200', // default
1200 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
1203 'secure_password' => array(
1204 xl('Require Strong Passwords'),
1205 'bool', // data type
1206 '0', // default
1207 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
1210 'password_history' => array(
1211 xl('Require Unique Passwords'),
1212 'bool', // data type
1213 '0', // default
1214 xl('Means none of last three passwords are allowed when changing a password.')
1216 'password_compatibility' => array(
1217 xl('Permit unsalted passwords'),
1218 'bool', // data type
1219 '1', // default
1220 xl('After migration from the old password mechanisms where passwords are stored in the users table without salt is complete, this flag should be set to false so that only authentication by the new method is possible')
1223 'password_expiration_days' => array(
1224 xl('Default Password Expiration Days'),
1225 'num', // data type
1226 '0', // default
1227 xl('Default password expiration period in days. 0 means this feature is disabled.')
1230 'password_grace_time' => array(
1231 xl('Password Expiration Grace Period'),
1232 'num', // data type
1233 '0', // default
1234 xl('Period in days where a user may login with an expired password.')
1237 'is_client_ssl_enabled' => array(
1238 xl('Enable Client SSL'),
1239 'bool', // data type
1240 '0', // default
1241 xl('Enable client SSL certificate authentication.')
1244 'certificate_authority_crt' => array(
1245 xl('Path to CA Certificate File'),
1246 'text', // data type
1247 '', // default
1248 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
1251 'certificate_authority_key' => array(
1252 xl('Path to CA Key File'),
1253 'text', // data type
1254 '', // default
1255 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
1258 'client_certificate_valid_in_days' => array(
1259 xl('Client Certificate Expiration Days'),
1260 'num', // data type
1261 '365', // default
1262 xl('Number of days that the client certificate is valid.')
1265 'Emergency_Login_email_id' => array(
1266 xl('Emergency Login Email Address'),
1267 'text', // data type
1268 '', // default
1269 xl('Email address, if any, to receive emergency login user activation messages.')
1274 // Notifications Tab
1276 'Notifications' => array(
1278 'patient_reminder_sender_name' => array(
1279 xl('Patient Reminder Sender Name'),
1280 'text', // data type
1281 '', // default
1282 xl('Name of the sender for patient reminders.')
1285 'patient_reminder_sender_email' => array(
1286 xl('Patient Reminder Sender Email'),
1287 'text', // data type
1288 '', // default
1289 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.')
1292 'practice_return_email_path' => array(
1293 xl('Notification Email Address'),
1294 'text', // data type
1295 '', // default
1296 xl('Email address, if any, to receive administrative notifications.')
1299 'EMAIL_METHOD' => array(
1300 xl('Email Transport Method'),
1301 array(
1302 'PHPMAIL' => 'PHPMAIL',
1303 'SENDMAIL' => 'SENDMAIL',
1304 'SMTP' => 'SMTP',
1306 'SMTP', // default
1307 xl('Method for sending outgoing email.')
1310 'SMTP_HOST' => array(
1311 xl('SMTP Server Hostname'),
1312 'text', // data type
1313 'localhost', // default
1314 xl('If SMTP is used, the server`s hostname or IP address.')
1317 'SMTP_PORT' => array(
1318 xl('SMTP Server Port Number'),
1319 'num', // data type
1320 '25', // default
1321 xl('If SMTP is used, the server`s TCP port number (usually 25).')
1324 'SMTP_USER' => array(
1325 xl('SMTP User for Authentication'),
1326 'text', // data type
1327 '', // default
1328 xl('Must be empty if SMTP authentication is not used.')
1331 'SMTP_PASS' => array(
1332 xl('SMTP Password for Authentication'),
1333 'text', // data type
1334 '', // default
1335 xl('Must be empty if SMTP authentication is not used.')
1338 'SMTP_SECURE' => array(
1339 xl('SMTP Security Protocol'),
1340 array(
1341 '' => xl('None'),
1342 'ssl' => 'SSL',
1343 'tls' => 'TLS'
1346 xl('SMTP security protocol to connect with. Required by some servers such as gmail.')
1349 'EMAIL_NOTIFICATION_HOUR' => array(
1350 xl('Email Notification Hours'),
1351 'num', // data type
1352 '50', // default
1353 xl('Number of hours in advance to send email notifications.')
1356 'SMS_NOTIFICATION_HOUR' => array(
1357 xl('SMS Notification Hours'),
1358 'num', // data type
1359 '50', // default
1360 xl('Number of hours in advance to send SMS notifications.')
1363 'SMS_GATEWAY_USENAME' => array(
1364 xl('SMS Gateway Username'),
1365 'text', // data type
1366 '', // default
1367 xl('Username for SMS Gateway.')
1370 'SMS_GATEWAY_PASSWORD' => array(
1371 xl('SMS Gateway Password'),
1372 'text', // data type
1373 '', // default
1374 xl('Password for SMS Gateway.')
1377 'SMS_GATEWAY_APIKEY' => array(
1378 xl('SMS Gateway API Key'),
1379 'text', // data type
1380 '', // default
1381 xl('API key for SMS Gateway.')
1384 'phone_notification_hour' => array(
1385 xl('Phone Notification Hour'),
1386 'num', // data type
1387 '50', // default
1388 xl('Number of hours in advance to send Phone notification.')
1391 'phone_gateway_username' => array(
1392 xl('Phone Gateway Username'),
1393 'text', // data type
1394 '', // default
1395 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1398 'phone_gateway_password' => array(
1399 xl('Phone Gateway Password'),
1400 'text', // data type
1401 '', // default
1402 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1405 'phone_gateway_url' => array(
1406 xl('Phone Gateway URL'),
1407 'text', // data type
1408 '', // default
1409 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1414 // CDR (Clinical Decision Rules)
1416 'CDR' => array(
1418 'enable_cdr' => array(
1419 xl('Enable Clinical Decisions Rules (CDR)'),
1420 'bool', // data type
1421 '1', // default
1422 xl('Enable Clinical Decisions Rules (CDR)')
1425 'enable_allergy_check' => array(
1426 xl('Enable Allergy Check'),
1427 'bool', // data type
1428 '1', // default
1429 xl('Enable Allergy Check Against Medications and Prescriptions')
1432 'enable_alert_log' => array(
1433 xl('Enable Alert Log'),
1434 'bool', // data type
1435 '1', // default
1436 xl('Enable Alert Logging')
1439 'enable_cdr_new_crp' => array(
1440 xl('Enable Clinical Passive New Reminder(s) Popup'),
1441 'bool', // data type
1442 '1', // default
1443 xl('Enable Clinical Passive New Reminder(s) Popup')
1446 'enable_cdr_crw' => array(
1447 xl('Enable Clinical Passive Reminder Widget'),
1448 'bool', // data type
1449 '1', // default
1450 xl('Enable Clinical Passive Reminder Widget')
1453 'enable_cdr_crp' => array(
1454 xl('Enable Clinical Active Reminder Popup'),
1455 'bool', // data type
1456 '1', // default
1457 xl('Enable Clinical Active Reminder Popup')
1460 'enable_cdr_prw' => array(
1461 xl('Enable Patient Reminder Widget'),
1462 'bool', // data type
1463 '1', // default
1464 xl('Enable Patient Reminder Widget')
1467 'enable_cqm' => array(
1468 xl('Enable CQM Reporting'),
1469 'bool', // data type
1470 '1', // default
1471 xl('Enable Clinical Quality Measure (CQM) Reporting')
1474 'pqri_registry_name' => array(
1475 xl('PQRI Registry Name'),
1476 'text', // data type
1477 'Model Registry', // default
1478 xl('PQRI Registry Name')
1481 'pqri_registry_id' => array(
1482 xl('PQRI Registry ID'),
1483 'text', // data type
1484 '125789123', // default
1485 xl('PQRI Registry ID')
1488 'enable_amc' => array(
1489 xl('Enable AMC Reporting'),
1490 'bool', // data type
1491 '1', // default
1492 xl('Enable Automated Measure Calculations (AMC) Reporting')
1495 'enable_amc_prompting' => array(
1496 xl('Enable AMC Prompting'),
1497 'bool', // data type
1498 '1', // default
1499 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1502 'enable_amc_tracking' => array(
1503 xl('Enable AMC Tracking'),
1504 'bool', // data type
1505 '1', // default
1506 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1509 'cdr_report_nice' => array(
1510 xl('CDR Reports Processing Priority'),
1511 array(
1512 '' => xl('Default Priority'),
1513 '5' => xl('Moderate Priority'),
1514 '10' => xl('Moderate/Low Priority'),
1515 '15' => xl('Low Priority'),
1516 '20' => xl('Lowest Priority')
1518 '', // default
1519 xl('Set processing priority for CDR engine based reports.')
1522 'pat_rem_clin_nice' => array(
1523 xl('Patient Reminder Creation Processing Priority'),
1524 array(
1525 '' => xl('Default Priority'),
1526 '5' => xl('Moderate Priority'),
1527 '10' => xl('Moderate/Low Priority'),
1528 '15' => xl('Low Priority'),
1529 '20' => xl('Lowest Priority')
1531 '', // default
1532 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1535 'report_itemizing_standard' => array(
1536 xl('Enable Standard Report Itemization'),
1537 'bool', // data type
1538 '1', // default
1539 xl('Enable Itemization of Standard Clinical Rules Reports')
1542 'report_itemizing_cqm' => array(
1543 xl('Enable CQM Report Itemization'),
1544 'bool', // data type
1545 '1', // default
1546 xl('Enable Itemization of CQM Reports')
1549 'report_itemizing_amc' => array(
1550 xl('Enable AMC Report Itemization'),
1551 'bool', // data type
1552 '1', // default
1553 xl('Enable Itemization of AMC Reports')
1558 // Logging
1560 'Logging' => array(
1562 'enable_auditlog' => array(
1563 xl('Enable Audit Logging'),
1564 'bool', // data type
1565 '1', // default
1566 xl('Enable Audit Logging')
1569 'audit_events_patient-record' => array(
1570 xl('Audit Logging Patient Record'),
1571 'bool', // data type
1572 '1', // default
1573 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1576 'audit_events_scheduling' => array(
1577 xl('Audit Logging Scheduling'),
1578 'bool', // data type
1579 '1', // default
1580 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1583 'audit_events_order' => array(
1584 xl('Audit Logging Order'),
1585 'bool', // data type
1586 '1', // default
1587 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1590 'audit_events_security-administration' => array(
1591 xl('Audit Logging Security Administration'),
1592 'bool', // data type
1593 '1', // default
1594 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1597 'audit_events_backup' => array(
1598 xl('Audit Logging Backups'),
1599 'bool', // data type
1600 '1', // default
1601 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1604 'audit_events_other' => array(
1605 xl('Audit Logging Miscellaneous'),
1606 'bool', // data type
1607 '1', // default
1608 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1611 'audit_events_query' => array(
1612 xl('Audit Logging SELECT Query'),
1613 'bool', // data type
1614 '0', // default
1615 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1618 'audit_events_cdr' => array(
1619 xl('Audit CDR Engine Queries'),
1620 'bool', // data type
1621 '0', // default
1622 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1625 'enable_atna_audit' => array(
1626 xl('Enable ATNA Auditing'),
1627 'bool', // data type
1628 '0', // default
1629 xl('Enable Audit Trail and Node Authentication (ATNA).')
1632 'atna_audit_host' => array(
1633 xl('ATNA audit host'),
1634 'text', // data type
1635 '', // default
1636 xl('The hostname of the ATNA audit repository machine.')
1639 'atna_audit_port' => array(
1640 xl('ATNA audit port'),
1641 'text', // data type
1642 '6514', // default
1643 xl('Listening port of the RFC 5425 TLS syslog server.')
1646 'atna_audit_localcert' => array(
1647 xl('ATNA audit local certificate'),
1648 'text', // data type
1649 '', // default
1650 xl('Certificate to send to RFC 5425 TLS syslog server.')
1653 'atna_audit_cacert' => array(
1654 xl('ATNA audit CA certificate'),
1655 'text', // data type
1656 '', // default
1657 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1660 //July 1, 2014: Ensoftek: Flag to enable/disable audit log encryption
1661 'enable_auditlog_encryption' => array(
1662 xl('Enable Audit Log Encryption'),
1663 'bool', // data type
1664 '0', // default
1665 xl('Enable Audit Log Encryption')
1668 'billing_log_option' => array(
1669 xl('Billing Log Option'),
1670 array(
1671 '1' => xl('Billing Log Append'),
1672 '2' => xl('Billing Log Overwrite')
1674 '1', // default
1675 xl('Billing log setting to append or overwrite the log file.')
1678 'gbl_print_log_option' => array(
1679 xl('Printing Log Option'),
1680 array(
1681 '0' => xl('No logging'),
1682 '1' => xl('Hide print feature'),
1683 '2' => xl('Log entire document'),
1685 '0', // default
1686 xl('Individual pages can override 2nd and 3rd options by implementing a log message.')
1691 // Miscellaneous Tab
1693 'Miscellaneous' => array(
1695 'mysql_bin_dir' => array(
1696 xl('Path to MySQL Binaries'),
1697 'text', // data type
1698 $mysql_bin_dir, // default
1699 xl('Full path to directory containing MySQL executables.')
1702 'perl_bin_dir' => array(
1703 xl('Path to Perl Binaries'),
1704 'text', // data type
1705 $perl_bin_dir, // default
1706 xl('Full path to directory containing Perl executables.')
1709 'temporary_files_dir' => array(
1710 xl('Path to Temporary Files'),
1711 'text', // data type
1712 $temporary_files_dir, // default
1713 xl('Full path to directory used for temporary files.')
1716 'backup_log_dir' => array(
1717 xl('Path for Event Log Backup'),
1718 'text', // data type
1719 $backup_log_dir, // default
1720 xl('Full path to directory for event log backup.')
1723 'state_data_type' => array(
1724 xl('State Data Type'),
1725 array(
1726 '2' => xl('Text field'),
1727 '1' => xl('Single-selection list'),
1728 '26' => xl('Single-selection list with ability to add to the list'),
1730 '26', // default
1731 xl('Field type to use for employer or subscriber state in demographics.')
1734 'state_list' => array(
1735 xl('State list'),
1736 'text', // data type
1737 'state', // default
1738 xl('List used by above State Data Type option.')
1741 'state_custom_addlist_widget' => array(
1742 xl('State List Widget Custom Fields'),
1743 'bool', // data type
1744 '1', // default
1745 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1748 'country_data_type' => array(
1749 xl('Country Data Type'),
1750 array(
1751 '2' => xl('Text field'),
1752 '1' => xl('Single-selection list'),
1753 '26' => xl('Single-selection list with ability to add to the list'),
1755 '26', // default
1756 xl('Field type to use for employer or subscriber country in demographics.')
1759 'country_list' => array(
1760 xl('Country list'),
1761 'text', // data type
1762 'country', // default
1763 xl('List used by above Country Data Type option.')
1766 'print_command' => array(
1767 xl('Print Command'),
1768 'text', // data type
1769 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1770 xl('Shell command for printing from the server.')
1773 'default_chief_complaint' => array(
1774 xl('Default Reason for Visit'),
1775 'text', // data type
1777 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1780 'default_new_encounter_form' => array(
1781 xl('Default Encounter Form ID'),
1782 'text', // data type
1784 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1787 'MedicareReferrerIsRenderer' => array(
1788 xl('Medicare Referrer Is Renderer'),
1789 'bool', // data type
1790 '0', // default = true
1791 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1794 'post_to_date_benchmark' => array(
1795 xl('Financial Close Date (yyyy-mm-dd)'),
1796 'text', // data type
1797 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1798 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1801 'enable_hylafax' => array(
1802 xl('Enable Hylafax Support'),
1803 'bool', // data type
1804 '0', // default
1805 xl('Enable Hylafax Support')
1808 'hylafax_server' => array(
1809 xl('Hylafax Server'),
1810 'text', // data type
1811 'localhost', // default
1812 xl('Hylafax server hostname.')
1815 'hylafax_basedir' => array(
1816 xl('Hylafax Directory'),
1817 'text', // data type
1818 '/var/spool/fax', // default
1819 xl('Location where Hylafax stores faxes.')
1822 'hylafax_enscript' => array(
1823 xl('Hylafax Enscript Command'),
1824 'text', // data type
1825 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1826 xl('Enscript command used by Hylafax.')
1829 'enable_scanner' => array(
1830 xl('Enable Scanner Support'),
1831 'bool', // data type
1832 '0', // default
1833 xl('Enable Scanner Support')
1836 'scanner_output_directory' => array(
1837 xl('Scanner Directory'),
1838 'text', // data type
1839 '/mnt/scan_docs', // default
1840 xl('Location where scans are stored.')
1844 // Portal Tab
1846 'Portal' => array(
1848 'portal_onsite_enable' => array(
1849 xl('Enable Onsite Patient Portal'),
1850 'bool', // data type
1851 '0',
1852 xl('Enable Onsite Patient Portal.')
1855 'portal_onsite_address' => array(
1856 xl('Onsite Patient Portal Site Address'),
1857 'text', // data type
1858 'https://your_web_site.com/openemr/patients',
1859 xl('Website link for the Onsite Patient Portal.')
1862 'portal_onsite_document_download' => array(
1863 xl('Enable Onsite Patient Portal Document Download'),
1864 'bool', // data type
1865 '1',
1866 xl('Enables the ability to download documents in the Onsite Patient Portal by the user.')
1869 'portal_offsite_enable' => array(
1870 xl('Enable Offsite Patient Portal'),
1871 'bool', // data type
1872 '0',
1873 xl('Enable Offsite Patient Portal.')
1876 'portal_offsite_providerid' => array(
1877 xl('Offsite Patient Portal Provider ID'),
1878 'text', // data type
1880 xl('Offsite Patient Portal Provider ID(Put Blank If not Registered).')
1883 'portal_offsite_username' => array(
1884 xl('Offsite Patient Portal Username'),
1885 'text', // data type
1887 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1890 'portal_offsite_password' => array(
1891 xl('Offsite Patient Portal Password'),
1892 'pwd', // data type
1894 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1897 'portal_offsite_address' => array(
1898 xl('Offsite Patient Portal Site Address'),
1899 'text', // data type
1900 'https://ssh.mydocsportal.com/provider.php',
1901 xl('Offsite Https link for the Patient Portal.')
1904 'portal_offsite_address_patient_link' => array(
1905 xl('Offsite Patient Portal Site Address (Patient Link)'),
1906 'text', // data type
1907 'https://ssh.mydocsportal.com',
1908 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1911 // Currently the "CMS Portal" supports WordPress. Other Content Management
1912 // Systems may be supported in the future.
1914 'gbl_portal_cms_enable' => array(
1915 xl('Enable CMS Portal'),
1916 'bool', // data type
1917 '0',
1918 xl('Enable support for the open source WordPress Portal by Sunset Systems')
1921 'gbl_portal_cms_address' => array(
1922 xl('CMS Portal Site Address'),
1923 'text', // data type
1924 'https://your_cms_site.com/',
1925 xl('URL for the WordPress site that supports the portal')
1928 'gbl_portal_cms_username' => array(
1929 xl('CMS Portal Username'),
1930 'text', // data type
1932 xl('Login name of WordPress user for portal access')
1935 'gbl_portal_cms_password' => array(
1936 xl('CMS Portal Password'),
1937 'text', // data type
1939 xl('Password for the above user')
1944 // Connectors Tab
1946 'Connectors' => array(
1948 'lab_exchange_enable' => array(
1949 xl('Enable Lab Exchange'),
1950 'bool', // data type
1951 '0',
1952 xl('Enable the Medical Information Integration, LLC Lab Exchange Service.')
1955 'lab_exchange_siteid' => array(
1956 xl('Lab Exchange Site ID'),
1957 'text', // data type
1958 '3',
1959 xl('Site ID for the Medical Information Integration, LLC Lab Exchange Service.')
1962 'lab_exchange_token' => array(
1963 xl('Lab Exchange Token ID'),
1964 'text', // data type
1965 '12345',
1966 xl('Token ID for the Medical Information Integration, LLC Lab Exchange Service.')
1969 'lab_exchange_endpoint' => array(
1970 xl('Lab Exchange Site Address'),
1971 'text', // data type
1972 'https://len.mi-squared.com:29443/len/api',
1973 xl('Contact Medical Information Integration, LLC at http://mi-squared.com for Lab Exchange Service.')
1976 'erx_enable' => array(
1977 xl('Enable NewCrop eRx Service'),
1978 'bool',
1979 '0',
1980 xl('Enable NewCrop eRx Service.') + ' ' +
1981 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing to the NewCrop eRx service.')
1984 'erx_newcrop_path' => array(
1985 xl('NewCrop eRx Site Address'),
1986 'text',
1987 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1988 xl('URL for NewCrop eRx Site Address.')
1991 'erx_newcrop_path_soap' => array(
1992 xl('NewCrop eRx Web Service Address'),
1993 'text',
1994 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1995 xl('URLs for NewCrop eRx Service Address, separated by a semi-colon.')
1998 'erx_soap_ttl_allergies' => array(
1999 xl('NewCrop eRx SOAP Request Time-To-Live for Allergies'),
2000 'num',
2001 '21600',
2002 xl('Time-To-Live for NewCrop eRx Allergies SOAP Request in seconds.')
2005 'erx_soap_ttl_medications' => array(
2006 xl('NewCrop eRx SOAP Request Time-To-Live for Medications'),
2007 'num',
2008 '21600',
2009 xl('Time-To-Live for NewCrop eRx Medications SOAP Request in seconds.')
2012 'erx_account_partner_name' => array(
2013 xl('NewCrop eRx Partner Name'),
2014 'text',
2016 xl('Partner Name issued for NewCrop eRx service.')
2019 'erx_account_name' => array(
2020 xl('NewCrop eRx Name'),
2021 'text',
2023 xl('Account Name issued for NewCrop eRx service.')
2026 'erx_account_password' => array(
2027 xl('NewCrop eRx Password'),
2028 'pass',
2030 xl('Account Password issued for NewCrop eRx service.')
2033 'erx_account_id' => array(
2034 xl('NewCrop eRx Account Id'),
2035 'text',
2036 '1',
2037 xl('Account Id issued for NewCrop eRx service, used to separate multi-facility accounts.')
2040 'erx_upload_active' => array(
2041 xl('Only upload active prescriptions'),
2042 'bool',
2043 '0',
2044 xl('Only upload active prescriptions to NewCrop eRx.')
2047 'erx_import_status_message' => array(
2048 xl('Enable NewCrop eRx import status message'),
2049 'bool',
2050 '0',
2051 xl('Enable import status message after visiting NewCrop eRx.')
2054 'erx_medication_display' => array(
2055 xl('Do not display NewCrop eRx Medications uploaded'),
2056 'bool',
2057 '0',
2058 xl('Do not display Medications uploaded after visiting NewCrop eRx.')
2061 'erx_allergy_display' => array(
2062 xl('Do not display NewCrop eRx Allergy uploaded'),
2063 'bool',
2064 '0',
2065 xl('Do not display Allergies uploaded after visiting NewCrop eRx.')
2068 'erx_default_patient_country' => array(
2069 xl('NewCrop eRx Default Patient Country'),
2070 array(
2071 '' => '',
2072 'US' => xl('USA'),
2073 'CA' => xl('Canada'),
2074 'MX' => xl('Mexico'),
2077 xl('Default Patient Country sent to NewCrop eRx, only if patient country is not set.'),
2080 'erx_debug_setting' => array(
2081 xl('NewCrop eRx Debug Setting'),
2082 array(
2083 0 => xl('None'),
2084 1 => xl('Request Only'),
2085 2 => xl('Response Only'),
2086 3 => xl('Request & Response'),
2088 '0',
2089 xl('Log all NewCrop eRx Requests and / or Responses.'),
2092 'phimail_enable' => array(
2093 xl('Enable phiMail Direct Messaging Service'),
2094 'bool', // data type
2095 '0',
2096 xl('Enable phiMail Direct Messaging Service')
2099 'phimail_server_address' => array(
2100 xl('phiMail Server Address'),
2101 'text', // data type
2102 'https://phimail.example.com:32541',
2103 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
2106 'phimail_username' => array(
2107 xl('phiMail Username'),
2108 'text', // data type
2110 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
2113 'phimail_password' => array(
2114 xl('phiMail Password'),
2115 'pass', // data type
2117 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
2120 'phimail_notify' => array(
2121 xl('phiMail notification user'),
2122 'text', // data type
2123 'admin',
2124 xl('This user will receive notification of new incoming Direct messages')
2127 'phimail_interval' => array(
2128 xl('phiMail Message Check Interval (minutes)'),
2129 'num', // data type
2130 '5',
2131 xl('Interval between message checks (set to zero for manual checks only)')
2134 'phimail_ccd_enable' => array(
2135 xl('phiMail Allow CCD Send'),
2136 'bool', // data type
2137 '0',
2138 xl('phiMail Allow CCD Send')
2141 'phimail_ccr_enable' => array(
2142 xl('phiMail Allow CCR Send'),
2143 'bool', // data type
2144 '0',
2145 xl('phiMail Allow CCR Send')
2149 'Rx' => array(
2150 'rx_enable_DEA' => array(
2151 xl('Rx Enable DEA #'),
2152 'bool', // data type
2153 '1',
2154 xl('Rx Enable DEA #')
2156 'rx_show_DEA' => array(
2157 xl('Rx Show DEA #'),
2158 'bool', // data type
2159 '0',
2160 xl('Rx Show DEA #')
2162 'rx_enable_NPI' => array(
2163 xl('Rx Enable NPI'),
2164 'bool', // data type
2165 '0',
2166 xl('Rx Enable NPI')
2168 'rx_show_NPI' => array(
2169 xl('Rx Show NPI'),
2170 'bool', // data type
2171 '0',
2172 xl('Rx Show NPI')
2174 'rx_enable_SLN' => array(
2175 xl('Rx Enable State Lic. #'),
2176 'bool', // data type
2177 '0',
2178 xl('Rx Enable State Lic. #')
2180 'rx_show_SLN' => array(
2181 xl('Rx Show State Lic. #'),
2182 'bool', // data type
2183 '0',
2184 xl('Rx Show State Lic. #')
2186 'rx_paper_size' => array(
2187 xl('Rx Paper Size'), // descriptive name
2188 array(
2189 'LETTER' => xl('Letter Paper Size'),
2190 'LEGAL' => xl('Legal Paper Size'),
2191 'FOLIO' => xl('Folio Paper Size'),
2192 'EXECUTIVE' => xl('Executive Paper Size'),
2193 '4A0' => ('4A0' . " " . xl('Paper Size')),
2194 '2A0' => ('2A0' . " " . xl('Paper Size')),
2195 'A0' => ('A0' . " " . xl('Paper Size')),
2196 'A1' => ('A1' . " " . xl('Paper Size')),
2197 'A2' => ('A2' . " " . xl('Paper Size')),
2198 'A3' => ('A3' . " " . xl('Paper Size')),
2199 'A4' => ('A4' . " " . xl('Paper Size')),
2200 'A5' => ('A5' . " " . xl('Paper Size')),
2201 'A6' => ('A6' . " " . xl('Paper Size')),
2202 'A7' => ('A7' . " " . xl('Paper Size')),
2203 'A8' => ('A8' . " " . xl('Paper Size')),
2204 'A9' => ('A9' . " " . xl('Paper Size')),
2205 'A10' => ('A10' . " " . xl('Paper Size')),
2206 'B0' => ('B0' . " " . xl('Paper Size')),
2207 'B1' => ('B1' . " " . xl('Paper Size')),
2208 'B2' => ('B2' . " " . xl('Paper Size')),
2209 'B3' => ('B3' . " " . xl('Paper Size')),
2210 'B4' => ('B4' . " " . xl('Paper Size')),
2211 'B5' => ('B5' . " " . xl('Paper Size')),
2212 'B6' => ('B6' . " " . xl('Paper Size')),
2213 'B7' => ('B7' . " " . xl('Paper Size')),
2214 'B8' => ('B8' . " " . xl('Paper Size')),
2215 'B9' => ('B9' . " " . xl('Paper Size')),
2216 'B10' => ('B10' . " " . xl('Paper Size')),
2217 'C0' => ('C0' . " " . xl('Paper Size')),
2218 'C1' => ('C1' . " " . xl('Paper Size')),
2219 'C2' => ('C2' . " " . xl('Paper Size')),
2220 'C3' => ('C3' . " " . xl('Paper Size')),
2221 'C4' => ('C4' . " " . xl('Paper Size')),
2222 'C5' => ('C5' . " " . xl('Paper Size')),
2223 'C6' => ('C6' . " " . xl('Paper Size')),
2224 'C7' => ('C7' . " " . xl('Paper Size')),
2225 'C8' => ('C8' . " " . xl('Paper Size')),
2226 'C9' => ('C9' . " " . xl('Paper Size')),
2227 'C10' => ('C10' . " " . xl('Paper Size')),
2228 'RA0' => ('RA0' . " " . xl('Paper Size')),
2229 'RA1' => ('RA1' . " " . xl('Paper Size')),
2230 'RA2' => ('RA2' . " " . xl('Paper Size')),
2231 'RA3' => ('RA3' . " " . xl('Paper Size')),
2232 'RA4' => ('RA4' . " " . xl('Paper Size')),
2233 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
2234 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
2235 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
2236 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
2237 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
2239 'LETTER', // default = tree menu
2240 xl('Rx Paper Size')
2242 'rx_left_margin' => array(
2243 xl('Rx Left Margin (px)'),
2244 'num',
2245 '30',
2246 xl('Rx Left Margin (px)')
2248 'rx_right_margin' => array(
2249 xl('Rx Right Margin (px)'),
2250 'num',
2251 '30',
2252 xl('Rx Right Margin (px)')
2254 'rx_top_margin' => array(
2255 xl('Rx Top Margin (px)'),
2256 'num',
2257 '72',
2258 xl('Rx Top Margin (px)')
2260 'rx_bottom_margin' => array(
2261 xl('Rx Bottom Margin (px)'),
2262 'num',
2263 '30',
2264 xl('Rx Bottom Margin (px)')
2268 'PDF' => array (
2269 'pdf_layout' => array (
2270 xl('Layout'),
2271 array(
2272 'P' => xl('Portrait'),
2273 'L' => xl('Landscape')
2275 'P', //defaut
2276 xl("Choose Layout Direction"),
2278 'pdf_language' => array (
2279 xl('PDF Language'),
2280 array(
2281 'aa' => xl('Afar'),
2282 'af' => xl('Afrikaans'),
2283 'ak' => xl('Akan'),
2284 'sq' => xl('Albanian'),
2285 'am' => xl('Amharic'),
2286 'ar' => xl('Arabic'),
2287 'an' => xl('Aragonese'),
2288 'hy' => xl('Armenian'),
2289 'as' => xl('Assamese'),
2290 'av' => xl('Avaric'),
2291 'ae' => xl('Avestan'),
2292 'ay' => xl('Aymara'),
2293 'az' => xl('Azerbaijani'),
2294 'bm' => xl('Bambara'),
2295 'ba' => xl('Bashkir'),
2296 'eu' => xl('Basque'),
2297 'be' => xl('Belarusian'),
2298 'bn' => xl('Bengali- Bangla'),
2299 'bh' => xl('Bihari'),
2300 'bi' => xl('Bislama'),
2301 'bs' => xl('Bosnian'),
2302 'br' => xl('Breton'),
2303 'bg' => xl('Bulgarian'),
2304 'my' => xl('Burmese'),
2305 'ca' => xl('Catalan- Valencian'),
2306 'ch' => xl('Chamorro'),
2307 'ce' => xl('Chechen'),
2308 'ny' => xl('Chichewa- Chewa- Nyanja'),
2309 'zh' => xl('Chinese'),
2310 'cv' => xl('Chuvash'),
2311 'kw' => xl('Cornish'),
2312 'co' => xl('Corsican'),
2313 'cr' => xl('Cree'),
2314 'hr' => xl('Croatian'),
2315 'cs' => xl('Czech'),
2316 'da' => xl('Danish'),
2317 'dv' => xl('Divehi- Dhivehi- Maldivian-'),
2318 'nl' => xl('Dutch'),
2319 'dz' => xl('Dzongkha'),
2320 'en' => xl('English'),
2321 'eo' => xl('Esperanto'),
2322 'et' => xl('Estonian'),
2323 'ee' => xl('Ewe'),
2324 'fo' => xl('Faroese'),
2325 'fj' => xl('Fijian'),
2326 'fi' => xl('Finnish'),
2327 'fr' => xl('French'),
2328 'ff' => xl('Fula- Fulah- Pulaar- Pular'),
2329 'gl' => xl('Galician'),
2330 'ka' => xl('Georgian'),
2331 'de' => xl('German'),
2332 'el' => xl('Greek, Modern'),
2333 'gn' => xl('Guaraní'),
2334 'gu' => xl('Gujarati'),
2335 'ht' => xl('Haitian- Haitian Creole'),
2336 'ha' => xl('Hausa'),
2337 'he' => xl('Hebrew (modern)'),
2338 'hz' => xl('Herero'),
2339 'hi' => xl('Hindi'),
2340 'ho' => xl('Hiri Motu'),
2341 'hu' => xl('Hungarian'),
2342 'ia' => xl('Interlingua'),
2343 'id' => xl('Indonesian'),
2344 'ie' => xl('Interlingue'),
2345 'ga' => xl('Irish'),
2346 'ig' => xl('Igbo'),
2347 'ik' => xl('Inupiaq'),
2348 'io' => xl('Ido'),
2349 'is' => xl('Icelandic'),
2350 'it' => xl('Italian'),
2351 'iu' => xl('Inuktitut'),
2352 'ja' => xl('Japanese'),
2353 'jv' => xl('Javanese'),
2354 'kl' => xl('Kalaallisut, Greenlandic'),
2355 'kn' => xl('Kannada'),
2356 'kr' => xl('Kanuri'),
2357 'ks' => xl('Kashmiri'),
2358 'kk' => xl('Kazakh'),
2359 'km' => xl('Khmer'),
2360 'ki' => xl('Kikuyu, Gikuyu'),
2361 'rw' => xl('Kinyarwanda'),
2362 'ky' => xl('Kyrgyz'),
2363 'kv' => xl('Komi'),
2364 'kg' => xl('Kongo'),
2365 'ko' => xl('Korean'),
2366 'ku' => xl('Kurdish'),
2367 'kj' => xl('Kwanyama, Kuanyama'),
2368 'la' => xl('Latin'),
2369 'lb' => xl('Luxembourgish, Letzeburgesch'),
2370 'lg' => xl('Ganda'),
2371 'li' => xl('Limburgish, Limburgan, Limburger'),
2372 'ln' => xl('Lingala'),
2373 'lo' => xl('Lao'),
2374 'lt' => xl('Lithuanian'),
2375 'lu' => xl('Luba-Katanga'),
2376 'lv' => xl('Latvian'),
2377 'gv' => xl('Manx'),
2378 'mk' => xl('Macedonian'),
2379 'mg' => xl('Malagasy'),
2380 'ms' => xl('Malay'),
2381 'ml' => xl('Malayalam'),
2382 'mt' => xl('Maltese'),
2383 'mi' => xl('Māori'),
2384 'mr' => xl('Marathi (Marāṭhī)'),
2385 'mh' => xl('Marshallese'),
2386 'mn' => xl('Mongolian'),
2387 'na' => xl('Nauru'),
2388 'nv' => xl('Navajo, Navaho'),
2389 'nb' => xl('Norwegian Bokmål'),
2390 'nd' => xl('North Ndebele'),
2391 'ne' => xl('Nepali'),
2392 'ng' => xl('Ndonga'),
2393 'nn' => xl('Norwegian Nynorsk'),
2394 'no' => xl('Norwegian'),
2395 'ii' => xl('Nuosu'),
2396 'nr' => xl('South Ndebele'),
2397 'oc' => xl('Occitan'),
2398 'oj' => xl('Ojibwe, Ojibwa'),
2399 'cu' => xl('Old Church Slavonic, Church Slavonic, Old Bulgarian'),
2400 'om' => xl('Oromo'),
2401 'or' => xl('Oriya'),
2402 'os' => xl('Ossetian, Ossetic'),
2403 'pa' => xl('Panjabi, Punjabi'),
2404 'pi' => xl('Pāli'),
2405 'fa' => xl('Persian (Farsi)'),
2406 'pl' => xl('Polish'),
2407 'ps' => xl('Pashto, Pushto'),
2408 'pt' => xl('Portuguese'),
2409 'qu' => xl('Quechua'),
2410 'rm' => xl('Romansh'),
2411 'rn' => xl('Kirundi'),
2412 'ro' => xl('Romanian'),
2413 'ru' => xl('Russian'),
2414 'sa' => xl('Sanskrit (Saṁskṛta)'),
2415 'sc' => xl('Sardinian'),
2416 'sd' => xl('Sindhi'),
2417 'se' => xl('Northern Sami'),
2418 'sm' => xl('Samoan'),
2419 'sg' => xl('Sango'),
2420 'sr' => xl('Serbian'),
2421 'gd' => xl('Scottish Gaelic- Gaelic'),
2422 'sn' => xl('Shona'),
2423 'si' => xl('Sinhala, Sinhalese'),
2424 'sk' => xl('Slovak'),
2425 'sl' => xl('Slovene'),
2426 'so' => xl('Somali'),
2427 'st' => xl('Southern Sotho'),
2428 'es' => xl('Spanish- Castilian'),
2429 'su' => xl('Sundanese'),
2430 'sw' => xl('Swahili'),
2431 'ss' => xl('Swati'),
2432 'sv' => xl('Swedish'),
2433 'ta' => xl('Tamil'),
2434 'te' => xl('Telugu'),
2435 'tg' => xl('Tajik'),
2436 'th' => xl('Thai'),
2437 'ti' => xl('Tigrinya'),
2438 'bo' => xl('Tibetan Standard, Tibetan, Central'),
2439 'tk' => xl('Turkmen'),
2440 'tl' => xl('Tagalog'),
2441 'tn' => xl('Tswana'),
2442 'to' => xl('Tonga (Tonga Islands)'),
2443 'tr' => xl('Turkish'),
2444 'ts' => xl('Tsonga'),
2445 'tt' => xl('Tatar'),
2446 'tw' => xl('Twi'),
2447 'ty' => xl('Tahitian'),
2448 'ug' => xl('Uyghur, Uighur'),
2449 'uk' => xl('Ukrainian'),
2450 'ur' => xl('Urdu'),
2451 'uz' => xl('Uzbek'),
2452 've' => xl('Venda'),
2453 'vi' => xl('Vietnamese'),
2454 'vo' => xl('Volapük'),
2455 'wa' => xl('Walloon'),
2456 'cy' => xl('Welsh'),
2457 'wo' => xl('Wolof'),
2458 'fy' => xl('Western Frisian'),
2459 'xh' => xl('Xhosa'),
2460 'yi' => xl('Yiddish'),
2461 'yo' => xl('Yoruba'),
2462 'za' => xl('Zhuang, Chuang'),
2463 'zu' => xl('Zulu'),
2465 'en', // default English
2466 xl('Choose PDF languange Preference'),
2468 'pdf_size' => array(
2469 xl('Paper Size'), // Descriptive Name
2470 array(
2471 'LETTER' => xl('Letter Paper Size'),
2472 'LEGAL' => xl('Legal Paper Size'),
2473 'FOLIO' => xl('Folio Paper Size'),
2474 'EXECUTIVE' => xl('Executive Paper Size'),
2475 '4A0' => ('4A0' . " " . xl('Paper Size')),
2476 '2A0' => ('2A0' . " " . xl('Paper Size')),
2477 'A0' => ('A0' . " " . xl('Paper Size')),
2478 'A1' => ('A1' . " " . xl('Paper Size')),
2479 'A2' => ('A2' . " " . xl('Paper Size')),
2480 'A3' => ('A3' . " " . xl('Paper Size')),
2481 'A4' => ('A4' . " " . xl('Paper Size')),
2482 'A5' => ('A5' . " " . xl('Paper Size')),
2483 'A6' => ('A6' . " " . xl('Paper Size')),
2484 'A7' => ('A7' . " " . xl('Paper Size')),
2485 'A8' => ('A8' . " " . xl('Paper Size')),
2486 'A9' => ('A9' . " " . xl('Paper Size')),
2487 'A10' => ('A10' . " " . xl('Paper Size')),
2488 'B0' => ('B0' . " " . xl('Paper Size')),
2489 'B1' => ('B1' . " " . xl('Paper Size')),
2490 'B2' => ('B2' . " " . xl('Paper Size')),
2491 'B3' => ('B3' . " " . xl('Paper Size')),
2492 'B4' => ('B4' . " " . xl('Paper Size')),
2493 'B5' => ('B5' . " " . xl('Paper Size')),
2494 'B6' => ('B6' . " " . xl('Paper Size')),
2495 'B7' => ('B7' . " " . xl('Paper Size')),
2496 'B8' => ('B8' . " " . xl('Paper Size')),
2497 'B9' => ('B9' . " " . xl('Paper Size')),
2498 'B10' => ('B10' . " " . xl('Paper Size')),
2499 'C0' => ('C0' . " " . xl('Paper Size')),
2500 'C1' => ('C1' . " " . xl('Paper Size')),
2501 'C2' => ('C2' . " " . xl('Paper Size')),
2502 'C3' => ('C3' . " " . xl('Paper Size')),
2503 'C4' => ('C4' . " " . xl('Paper Size')),
2504 'C5' => ('C5' . " " . xl('Paper Size')),
2505 'C6' => ('C6' . " " . xl('Paper Size')),
2506 'C7' => ('C7' . " " . xl('Paper Size')),
2507 'C8' => ('C8' . " " . xl('Paper Size')),
2508 'C9' => ('C9' . " " . xl('Paper Size')),
2509 'C10' => ('C10' . " " . xl('Paper Size')),
2510 'RA0' => ('RA0' . " " . xl('Paper Size')),
2511 'RA1' => ('RA1' . " " . xl('Paper Size')),
2512 'RA2' => ('RA2' . " " . xl('Paper Size')),
2513 'RA3' => ('RA3' . " " . xl('Paper Size')),
2514 'RA4' => ('RA4' . " " . xl('Paper Size')),
2515 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
2516 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
2517 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
2518 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
2519 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
2521 'LETTER',
2522 xl('Choose Paper Size')
2524 'pdf_left_margin' => array(
2525 xl('Left Margin (mm)'),
2526 'num',
2527 '5',
2528 xl('Left Margin (mm)')
2530 'pdf_right_margin' => array(
2531 xl('Right Margin (mm)'),
2532 'num',
2533 '5',
2534 xl('Right Margin (mm)')
2536 'pdf_top_margin' => array(
2537 xl('Top Margin (mm)'),
2538 'num',
2539 '5',
2540 xl('Top Margin (mm)')
2542 'pdf_bottom_margin' => array(
2543 xl('Bottom Margin (px)'),
2544 'num',
2545 '8',
2546 xl('Bottom Margin (px)')
2548 'pdf_output' => array (
2549 xl('Output Type'),
2550 array(
2551 'D' => xl('Download'),
2552 'I' => xl('Inline')
2554 'D', //defaut
2555 xl("Choose Download or Display Inline"),
2558 'chart_label_type' => array(
2559 xl('Patient Label Type'),
2560 array(
2561 '0' => xl('None'),
2562 '1' => '5160',
2563 '2' => '5161',
2564 '3' => '5162'
2566 '1', // default
2567 xl('Avery Label type for printing patient labels from popups in left nav screen'),
2570 'barcode_label_type' => array(
2571 xl('Barcode Label Type'),
2572 array(
2573 '0' => xl('None'),
2574 '1' => 'std25',
2575 '2' => 'int25',
2576 '3' => 'ean8',
2577 '4' => 'ean13',
2578 '5' => 'upc',
2579 '6' => 'code11',
2580 '7' => 'code39',
2581 '8' => 'code93',
2582 '9' => 'code128',
2583 '10' => 'codabar',
2584 '11' => 'msi',
2585 '12' => 'datamatrix'
2587 '9', // default = None
2588 xl('Barcode type for printing barcode labels from popups in left nav screen.')
2591 'addr_label_type' => array(
2592 xl('Print Patient Address Label'),
2593 'bool', // data type
2594 '1', // default = false
2595 xl('Select to print patient address labels from popups in left nav screen.')