DaySheet report (end of day report) , take 3.
[openemr.git] / library / globals.inc.php
blob96517649938647e8d2e67140411556e62a8d8ae5
1 <?php
2 // Copyright (C) 2010 Rod Roark <rod@sunsetsystems.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 // $GLOBALS['print_command'] is the
10 // Print command for spooling to printers, used by statements.inc.php
11 // This is the command to be used for printing (without the filename).
12 // The word following "-P" should be the name of your printer. This
13 // example is designed for 8.5x11-inch paper with 1-inch margins,
14 // 10 CPI, 6 LPI, 65 columns, 54 lines per page.
16 // IF lpr services are installed on Windows this setting will be similar
17 // Otherwise configure it as needed (print /d:PRN) might be an option for Windows parallel printers
19 // Current supported languages: // Allow capture of term for translation:
20 // Albanian // xl('Albanian')
21 // Amharic // xl('Amharic')
22 // Arabic // xl('Arabic')
23 // Armenian // xl('Armenian')
24 // Bahasa Indonesia // xl('Bahasa Indonesia')
25 // Bengali // xl('Bengali')
26 // Chinese (Simplified) // xl('Chinese (Simplified)')
27 // Chinese (Traditional) // xl('Chinese (Traditional)')
28 // Czech // xl('Czech')
29 // Danish // xl('Danish')
30 // Dutch // xl('Dutch')
31 // English (Indian) // xl('English (Indian)')
32 // English (Standard) // xl('English (Standard)')
33 // Estonian // xl('Estonian')
34 // Finnish // xl('Finnish')
35 // French // xl('French (Standard)')
36 // French // xl('French (Canadian)')
37 // German // xl('German')
38 // Greek // xl('Greek')
39 // Hebrew // xl('Hebrew')
40 // Hindi // xl('Hindi')
41 // Hungarian // xl('Hungarian')
42 // Italian // xl('Italian')
43 // Japanese // xl('Japanese')
44 // Korean // xl('Korean')
45 // Lithuanian // xl('Lithuanian')
46 // Norwegian // xl('Norwegian')
47 // Persian // xl('Persian')
48 // Polish // xl('Polish')
49 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
50 // Portuguese (European) // xl('Portuguese (European)')
51 // Romanian // xl('Romanian')
52 // Russian // xl('Russian')
53 // Sinhala // xl('Sinhala')
54 // Slovak // xl('Slovak')
55 // Spanish (Latin American) // xl('Spanish (Latin American)')
56 // Spanish (Spain) // xl('Spanish (Spain)')
57 // Swedish // xl('Swedish')
58 // Turkish // xl('Turkish')
59 // Ukrainian // xl('Ukrainian')
60 // Vietnamese // xl('Vietnamese')
62 // OS-dependent stuff.
63 if (stristr(PHP_OS, 'WIN')) {
64 // MS Windows
65 $mysql_bin_dir = 'C:/xampp/mysql/bin';
66 $perl_bin_dir = 'C:/xampp/perl/bin';
67 $temporary_files_dir = 'C:/windows/temp';
68 $backup_log_dir = 'C:/windows/temp';
70 else {
71 // Everything else
72 $mysql_bin_dir = '/usr/bin';
73 $perl_bin_dir = '/usr/bin';
74 $temporary_files_dir = '/tmp';
75 $backup_log_dir = '/tmp';
78 // Language constant declarations:
79 // xl('Appearance')
80 // xl('Locale')
81 // xl('Features')
82 // xl('Calendar')
83 // xl('Security')
84 // xl('Notifications')
85 // xl('Miscellaneous')
87 // List of user specific tabs and globals
88 $USER_SPECIFIC_TABS = array('Appearance',
89 'Locale',
90 'Calendar',
91 'Connectors');
92 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
93 'concurrent_layout',
94 'css_header',
95 'gbl_pt_list_page_size',
96 'gbl_pt_list_new_window',
97 'units_of_measurement',
98 'us_weight_format',
99 'date_display_format',
100 'time_display_format',
101 'event_color',
102 'erx_import_status_message');
104 $GLOBALS_METADATA = array(
106 // Appearance Tab
108 'Appearance' => array(
110 'default_top_pane' => array(
111 xl('Main Top Pane Screen'), // descriptive name
112 array(
113 'main_info.php' => xl('Calendar Screen'),
114 '../new/new.php' => xl('Patient Search/Add Screen'),
116 'main_info.php', // default = calendar
117 xl('Type of screen layout')
120 'concurrent_layout' => array(
121 xl('Layout Style'), // descriptive name
122 array(
123 '0' => xl('Old style layout with no left menu'),
124 '1' => xl('Navigation menu consists of pairs of radio buttons'),
125 '2' => xl('Navigation menu is a tree view'),
126 '3' => xl('Navigation uses a sliding menu'),
128 '3', // default = tree menu
129 xl('Type of screen layout')
132 'css_header' => array(
133 xl('Theme'),
134 'css',
135 'style_oemr.css',
136 xl('Pick a CSS theme.')
139 'gbl_nav_area_width' => array(
140 xl('Navigation Area Width'),
141 'num',
142 '150',
143 xl('Width in pixels of the left navigation frame.')
146 'openemr_name' => array(
147 xl('Application Title'),
148 'text',
149 'OpenEMR',
150 xl('Application name for login page and main window title.')
153 'full_new_patient_form' => array(
154 xl('New Patient Form'),
155 array(
156 '0' => xl('Old-style static form without search or duplication check'),
157 '1' => xl('All demographics fields, with search and duplication check'),
158 '2' => xl('Mandatory or specified fields only, search and dup check'),
159 '3' => xl('Mandatory or specified fields only, dup check, no search'),
161 '1', // default
162 xl('Style of form used for adding new patients')
165 'patient_search_results_style' => array(
166 xl('Patient Search Results Style'),
167 array(
168 '0' => xl('Encounter statistics'),
169 '1' => xl('Mandatory and specified fields'),
171 '0', // default
172 xl('Type of columns displayed for patient search results')
175 'gbl_tall_nav_area' => array(
176 xl('Tall Navigation Area'),
177 'bool', // data type
178 '0', // default = false
179 xl('Navigation area uses full height of frameset')
182 'gbl_nav_visit_forms' => array(
183 xl('Navigation Area Visit Forms'),
184 'bool', // data type
185 '1', // default = true
186 xl('Navigation area includes encounter forms')
189 'simplified_demographics' => array(
190 xl('Simplified Demographics'),
191 'bool', // data type
192 '0', // default = false
193 xl('Omit insurance and some other things from the demographics form')
196 'simplified_prescriptions' => array(
197 xl('Simplified Prescriptions'),
198 'bool', // data type
199 '0', // default = false
200 xl('Omit form, route and interval which then become part of dosage')
203 'simplified_copay' => array(
204 xl('Simplified Co-Pay'),
205 'bool', // data type
206 '0', // default = false
207 xl('Omit method of payment from the co-pay panel')
210 'use_charges_panel' => array(
211 xl('Use Charges Panel'),
212 'bool', // data type
213 '0', // default = false
214 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
217 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
218 'enable_fees_in_left_menu' => array(
219 xl('Enable Fees In Left Menu'),
220 'bool', // data type
221 '1', // default = true
222 xl('Enable Fees In Left Menu')
224 // EDI history 2012-09-13
225 'enable_edihistory_in_left_menu' => array(
226 xl('Enable EDI History In Left Menu'),
227 'bool', // data type
228 '1', // default = true
229 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
232 'online_support_link' => array(
233 xl('Online Support Link'),
234 'text', // data type
235 'http://open-emr.org/',
236 xl('URL for OpenEMR support.')
239 'encounter_page_size' => array(
240 xl('Encounter Page Size'),
241 array(
242 '0' => xl('Show All'),
243 '5' => '5',
244 '10' => '10',
245 '15' => '15',
246 '20' => '20',
247 '25' => '25',
248 '50' => '50',
250 '20',
251 xl('Number of encounters to display per page.')
254 'gbl_pt_list_page_size' => array(
255 xl('Patient List Page Size'),
256 array(
257 '10' => '10',
258 '25' => '25',
259 '50' => '50',
260 '100' => '100',
262 '10',
263 xl('Number of patients to display per page in the patient list.')
266 'gbl_pt_list_new_window' => array(
267 xl('Patient List New Window'),
268 'bool', // data type
269 '0', // default = false
270 xl('Default state of New Window checkbox in the patient list.')
273 'gbl_vitals_options' => array(
274 xl('Vitals Form Options'),
275 array(
276 '0' => xl('Standard'),
277 '1' => xl('Omit circumferences'),
279 '0', // default
280 xl('Special treatment for the Vitals form')
285 // Locale Tab
287 'Locale' => array(
289 'language_default' => array(
290 xl('Default Language'),
291 'lang', // data type
292 'English (Standard)', // default = english
293 xl('Default language if no other is allowed or chosen.')
296 'language_menu_showall' => array(
297 xl('All Languages Allowed'),
298 'bool', // data type
299 '1', // default = true
300 xl('Allow all available languages as choices on menu at login.')
303 'language_menu_other' => array(
304 xl('Allowed Languages'),
305 'm_lang', // data type
306 '', // default = none
307 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
310 'allow_debug_language' => array(
311 xl('Allow Debugging Language'),
312 'bool', // data type
313 '1', // default = true during development and false for production releases
314 xl('This will allow selection of the debugging (\'dummy\') language.')
317 'translate_layout' => array(
318 xl('Translate Layouts'),
319 'bool', // data type
320 '1', // default = true
321 xl('Is text from form layouts to be translated?')
324 'translate_lists' => array(
325 xl('Translate Lists'),
326 'bool', // data type
327 '1', // default = true
328 xl('Is text from lists to be translated?')
331 'translate_gacl_groups' => array(
332 xl('Translate Access Control Groups'),
333 'bool', // data type
334 '1', // default = true
335 xl('Are access control group names to be translated?')
338 'translate_form_titles' => array(
339 xl('Translate Patient Note Titles'),
340 'bool', // data type
341 '1', // default = true
342 xl('Are patient note titles to be translated?')
345 'translate_document_categories' => array(
346 xl('Translate Document Categories'),
347 'bool', // data type
348 '1', // default = true
349 xl('Are document category names to be translated?')
352 'translate_appt_categories' => array(
353 xl('Translate Appointment Categories'),
354 'bool', // data type
355 '1', // default = true
356 xl('Are appointment category names to be translated?')
359 'units_of_measurement' => array(
360 xl('Units for Visit Forms'),
361 array(
362 '1' => xl('Show both US and metric (main unit is US)'),
363 '2' => xl('Show both US and metric (main unit is metric)'),
364 '3' => xl('Show US only'),
365 '4' => xl('Show metric only'),
367 '1', // default = Both/US
368 xl('Applies to the Vitals form and Growth Chart')
371 'us_weight_format' => array(
372 xl('Display Format for US Weights'),
373 array(
374 '1'=>xl('Show pounds as decimal value'),
375 '2'=>xl('Show pounds and ounces')
377 '1',
378 xl('Applies to Vitals form')
381 'disable_deprecated_metrics_form' => array(
382 xl('Disable Old Metric Vitals Form'),
383 'bool', // data type
384 '1', // default = true
385 xl('This was the older metric-only Vitals form, now deprecated.')
388 'phone_country_code' => array(
389 xl('Telephone Country Code'),
390 'num',
391 '1', // default = North America
392 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
395 'date_display_format' => array(
396 xl('Date Display Format'),
397 array(
398 '0' => xl('YYYY-MM-DD'),
399 '1' => xl('MM/DD/YYYY'),
400 '2' => xl('DD/MM/YYYY'),
402 '0',
403 xl('Format used to display most dates.')
406 'time_display_format' => array(
407 xl('Time Display Format'),
408 array(
409 '0' => xl('24 hr'),
410 '1' => xl('12 hr'),
412 '0',
413 xl('Format used to display most times.')
416 'currency_decimals' => array(
417 xl('Currency Decimal Places'),
418 array(
419 '0' => xl('0'),
420 '1' => xl('1'),
421 '2' => xl('2'),
423 '2',
424 xl('Number of digits after decimal point for currency, usually 0 or 2.')
427 'currency_dec_point' => array(
428 xl('Currency Decimal Point Symbol'),
429 array(
430 '.' => xl('Period'),
431 ',' => xl('Comma'),
433 '.',
434 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
437 'currency_thousands_sep' => array(
438 xl('Currency Thousands Separator'),
439 array(
440 ',' => xl('Comma'),
441 '.' => xl('Period'),
442 ' ' => xl('Space'),
443 '' => xl('None'),
445 ',',
446 xl('Symbol used to separate thousands for currency.')
449 'gbl_currency_symbol' => array(
450 xl('Currency Designator'),
451 'text', // data type
452 '$', // default
453 xl('Code or symbol to indicate currency')
455 'age_display_format'=>array(xl('Age Display Format'),
456 array(
457 '0'=>xl('Years or months'),
458 '1'=>xl('Years, months and days')
460 '0',
461 xl('Format for age display')
463 'age_display_limit' => array(
464 xl('Age in Years for Display Format Change'),
465 'num',
466 '3',
467 xl('If YMD is selected for age display, switch to just Years when patients older than this value in years')
471 // Features Tab
473 'Features' => array(
475 'specific_application' => array(
476 xl('Specific Application'),
477 array(
478 '0' => xl('None'),
479 '1' => xl('Athletic team'),
480 '2' => xl('IPPF'),
481 '3' => xl('Weight loss clinic'),
483 '0', // default
484 xl('Indicator for specialized usage')
487 'inhouse_pharmacy' => array(
488 xl('Drugs and Products'),
489 array(
490 '0' => xl('Do not inventory and sell any products'),
491 '1' => xl('Inventory and sell drugs only'),
492 '2' => xl('Inventory and sell both drugs and non-drug products'),
493 '3' => xl('Products but no prescription drugs and no templates'),
495 '0', // default
496 xl('Option to support inventory and sales of products')
499 'disable_chart_tracker' => array(
500 xl('Disable Chart Tracker'),
501 'bool', // data type
502 '0', // default = false
503 xl('Removes the Chart Tracker feature')
506 'disable_phpmyadmin_link' => array(
507 xl('Disable phpMyAdmin'),
508 'bool', // data type
509 '0', // default = false
510 xl('Removes support for phpMyAdmin')
513 'disable_immunizations' => array(
514 xl('Disable Immunizations'),
515 'bool', // data type
516 '0', // default = false
517 xl('Removes support for immunizations')
520 'disable_prescriptions' => array(
521 xl('Disable Prescriptions'),
522 'bool', // data type
523 '0', // default = false
524 xl('Removes support for prescriptions')
527 'omit_employers' => array(
528 xl('Omit Employers'),
529 'bool', // data type
530 '0', // default = false
531 xl('Omit employer information in patient demographics')
534 'select_multi_providers' => array(
535 xl('Support Multi-Provider Events'),
536 'bool', // data type
537 '0', // default = false
538 xl('Support calendar events that apply to multiple providers')
541 'disable_non_default_groups' => array(
542 xl('Disable User Groups'),
543 'bool', // data type
544 '1', // default = true
545 xl('Normally this should be checked. Not related to access control.')
548 'ignore_pnotes_authorization' => array(
549 xl('Skip Authorization of Patient Notes'),
550 'bool', // data type
551 '1', // default = true
552 xl('Do not require patient notes to be authorized')
555 'support_encounter_claims' => array(
556 xl('Allow Encounter Claims'),
557 'bool', // data type
558 '0', // default = false
559 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
562 'advance_directives_warning' => array(
563 xl('Advance Directives Warning'),
564 'bool', // data type
565 '0', // default = false
566 xl('Display advance directives in the demographics page.')
569 'configuration_import_export' => array(
570 xl('Configuration Export/Import'),
571 'bool', // data type
572 '0', // default = false
573 xl('Support export/import of configuration data via the Backup page.')
576 'restrict_user_facility' => array(
577 xl('Restrict Users to Facilities'),
578 'bool', // data type
579 '0', // default
580 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
583 'set_facility_cookie' => array(
584 xl('Remember Selected Facility'),
585 'bool', // data type
586 '0', // default
587 xl('Set a facility cookie to remember the selected facility between logins.')
590 'receipts_by_provider' => array(
591 xl('Print Receipts by Provider'),
592 'bool',
593 '0', // default
594 xl('Causes Receipts to Print Encounter/Primary Provider Info')
597 'discount_by_money' => array(
598 xl('Discounts as Monetary Amounts'),
599 'bool', // data type
600 '1', // default = true
601 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
604 'gbl_visit_referral_source' => array(
605 xl('Referral Source for Encounters'),
606 'bool', // data type
607 '0', // default = false
608 xl('A referral source may be specified for each visit.')
611 'gbl_mask_patient_id' => array(
612 xl('Mask for Patient IDs'),
613 'text', // data type
614 '', // default
615 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
618 'gbl_mask_invoice_number' => array(
619 xl('Mask for Invoice Numbers'),
620 'text', // data type
621 '', // default
622 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
625 'gbl_mask_product_id' => array(
626 xl('Mask for Product IDs'),
627 'text', // data type
628 '', // default
629 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
632 'force_billing_widget_open' => array(
633 xl('Force Billing Widget Open'),
634 'bool', // data type
635 '0', // default = false
636 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
639 'num_past_appointments_to_show' => array(
640 xl('Past Appointment Display Widget'),
641 'num', // data type
642 '0', // default = false
643 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)')
646 'activate_ccr_ccd_report' => array(
647 xl('Activate CCR/CCD Reporting'),
648 'bool', // data type
649 '1', // default = true
650 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
653 'hide_document_encryption' => array(
654 xl('Hide Encryption/Decryption Options In Document Management'),
655 'bool', // data type
656 '1', // default = true
657 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
660 'use_custom_immun_list' => array(
661 xl('Use Custom Immunization List'),
662 'bool', // data type
663 '0', // default = true
664 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
667 'cms_1500' => array(
668 xl('CMS 1500 Paper Form Format'),
669 array(
670 '0' => xl('08/05{{CMS 1500 format date revision setting in globals}}'),
671 '1' => xl('02/12{{CMS 1500 format date revision setting in globals}}'),
673 '0', // default
674 xl('This specifies which revision of the form the billing module should generate')
677 'cms_1500_box_31_format' => array(
678 xl('CMS 1500: Box 31 Format'),
679 array(
680 '0' => xl('Signature on File'),
681 '1' => xl('Firstname Lastname'),
682 '2' => xl('None'),
684 '0', // default
685 xl('This specifies whether to include date in Box 31.')
689 'cms_1500_box_31_date' => array(
690 xl('CMS 1500: Date in Box 31 (Signature)'),
691 array(
692 '0' => xl('None'),
693 '1' => xl('Date of Service'),
694 '2' => xl('Today'),
696 '0', // default
697 xl('This specifies whether to include date in Box 31.')
700 'amendments' => array (
701 xl('Amendments'),
702 'bool', // data type
703 '1', // default = true
704 xl('Enable amendments feature')
707 'use_custom_daysheet' => array(
708 xl('Use Custom End of Day Report'),
709 'bool', // data type
710 '1', // default = true
711 xl('This will allow the use of the custom End of Day report.')
714 'daysheet_provider_totals' => array(
715 xl('End of Day by Provider or allow Totals Only'),
716 array(
717 '0' => xl('Provider'),
718 '1' => xl('Totals Only'),
720 '1', // default
721 xl('This specifies the Printing of the Custom End of Day Report grouped Provider or allow the Printing of Totals Only')
725 // E-Sign Tab
727 'E-Sign' => array(
729 'esign_all' => array(
730 xl('Allows E-Sign on the entire encounter'),
731 'bool', // data type
732 '0', // default = false
733 xl('This will enable signing an entire encounter, rather than individual forms')
736 'lock_esign_all' => array(
737 xl('Lock e-signed encounters and their forms'),
738 'bool', // data type
739 '0', // default = false
740 xl('This will disable the Edit button on all forms whose parent encounter is e-signed')
743 'esign_individual' => array(
744 xl('Allows E-Signing Individual Forms'),
745 'bool', // data type
746 '1', // default = false
747 xl('This will enable signing individual forms separately')
750 'lock_esign_individual' => array(
751 xl('Lock an e-signed form individually'),
752 'bool', // data type
753 '1', // default = false
754 xl('This will disable the Edit button on any form that is e-signed')
757 'esign_lock_toggle' => array(
758 xl('Enable lock toggle'),
759 'bool', // data type
760 '0', // default = false
761 xl('This will give the user the option to lock (separate locking and signing)')
764 'esign_report_hide_empty_sig' => array(
765 xl('Hide Empty E-Sign Logs On Report'),
766 'bool', // data type
767 '1', // default = false
768 xl('This will hide empty e-sign logs on the patient report')
772 //Documents Tab
773 'Documents' => array(
774 'document_storage_method' => array(
775 xl('Document Storage Method'),
776 array(
777 '0' => xl('Hard Disk'),
778 '1' => xl('CouchDB')
780 '0', // default
781 xl('Option to save method of document storage.')
783 'couchdb_host' => array(
784 xl('CouchDB HostName'),
785 'text',
786 'localhost',
787 xl('CouchDB host'),
789 'couchdb_user' => array(
790 xl('CouchDB UserName'),
791 'text',
793 xl('Username to connect to CouchDB'),
795 'couchdb_pass' => array(
796 xl('CouchDB Password'),
797 'text',
799 xl('Password to connect to CouchDB'),
801 'couchdb_port' => array(
802 xl('CouchDB Port'),
803 'text',
804 '5984',
805 xl('CouchDB port'),
807 'couchdb_dbase' => array(
808 xl('CouchDB Database'),
809 'text',
811 xl('CouchDB database name'),
813 'couchdb_log' => array(
814 xl('CouchDB Log Enable'),
815 'bool',
816 '0',
817 xl('Enable log for document uploads/downloads to CouchDB'),
820 'patient_id_category_name' => array(
821 xl('Patient ID Category Name'),
822 'text', // data type
823 'Patient ID card', // default
824 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
827 'patient_photo_category_name' => array(
828 xl('Patient Photo Category Name'),
829 'text', // data type
830 'Patient Photograph', // default
831 xl('Optional category name for photo images that can be viewed from the patient summary page.')
834 'lab_results_category_name' => array(
835 xl('Lab Results Category Name'),
836 'text', // data type
837 'Lab Report', // default
838 xl('Document category name for storage of electronically received lab results.')
843 // Calendar Tab
845 'Calendar' => array(
847 'disable_calendar' => array(
848 xl('Disable Calendar'),
849 'bool', // data type
850 '0', // default
851 xl('Do not display the calendar.')
854 'schedule_start' => array(
855 xl('Calendar Starting Hour'),
856 'hour',
857 '8', // default
858 xl('Beginning hour of day for calendar events.')
861 'schedule_end' => array(
862 xl('Calendar Ending Hour'),
863 'hour',
864 '17', // default
865 xl('Ending hour of day for calendar events.')
868 'calendar_interval' => array(
869 xl('Calendar Interval'),
870 array(
871 '5' => '5',
872 '10' => '10',
873 '15' => '15',
874 '20' => '20',
875 '30' => '30',
876 '60' => '60',
878 '15', // default
879 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
882 'calendar_appt_style' => array(
883 xl('Appointment Display Style'),
884 array(
885 '1' => 'Last name',
886 '2' => 'Last name, first name',
887 '3' => 'Last name, first name (title)',
888 '4' => 'Last name, first name (title: description)',
890 '2', // default
891 xl('This determines how appointments display on the calendar.')
894 'docs_see_entire_calendar' => array(
895 xl('Providers See Entire Calendar'),
896 'bool', // data type
897 '0', // default
898 xl('Check this if you want providers to see all appointments by default and not just their own.')
901 'auto_create_new_encounters' => array(
902 xl('Auto-Create New Encounters'),
903 'bool', // data type
904 '1', // default
905 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
908 'event_color' => array(
909 xl('Appointment/Event Color'),
910 array(
911 '1' => 'Category Color Schema',
912 '2' => 'Facility Color Schema',
913 ), // data type
914 '1', // default
915 xl('This determines which color schema used for appointment')
920 // Security Tab
922 'Security' => array(
924 'timeout' => array(
925 xl('Idle Session Timeout Seconds'),
926 'num', // data type
927 '7200', // default
928 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
931 'secure_password' => array(
932 xl('Require Strong Passwords'),
933 'bool', // data type
934 '0', // default
935 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
938 'password_history' => array(
939 xl('Require Unique Passwords'),
940 'bool', // data type
941 '0', // default
942 xl('Means none of last three passwords are allowed when changing a password.')
944 'password_compatibility' => array(
945 xl('Permit unsalted passwords'),
946 'bool', // data type
947 '1', // default
948 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')
951 'password_expiration_days' => array(
952 xl('Default Password Expiration Days'),
953 'num', // data type
954 '0', // default
955 xl('Default password expiration period in days. 0 means this feature is disabled.')
958 'password_grace_time' => array(
959 xl('Password Expiration Grace Period'),
960 'num', // data type
961 '0', // default
962 xl('Period in days where a user may login with an expired password.')
965 'is_client_ssl_enabled' => array(
966 xl('Enable Client SSL'),
967 'bool', // data type
968 '0', // default
969 xl('Enable client SSL certificate authentication.')
972 'certificate_authority_crt' => array(
973 xl('Path to CA Certificate File'),
974 'text', // data type
975 '', // default
976 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
979 'certificate_authority_key' => array(
980 xl('Path to CA Key File'),
981 'text', // data type
982 '', // default
983 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
986 'client_certificate_valid_in_days' => array(
987 xl('Client Certificate Expiration Days'),
988 'num', // data type
989 '365', // default
990 xl('Number of days that the client certificate is valid.')
993 'Emergency_Login_email_id' => array(
994 xl('Emergency Login Email Address'),
995 'text', // data type
996 '', // default
997 xl('Email address, if any, to receive emergency login user activation messages.')
1002 // Notifications Tab
1004 'Notifications' => array(
1006 'patient_reminder_sender_name' => array(
1007 xl('Patient Reminder Sender Name'),
1008 'text', // data type
1009 '', // default
1010 xl('Name of the sender for patient reminders.')
1013 'patient_reminder_sender_email' => array(
1014 xl('Patient Reminder Sender Email'),
1015 'text', // data type
1016 '', // default
1017 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.')
1020 'practice_return_email_path' => array(
1021 xl('Notification Email Address'),
1022 'text', // data type
1023 '', // default
1024 xl('Email address, if any, to receive administrative notifications.')
1027 'EMAIL_METHOD' => array(
1028 xl('Email Transport Method'),
1029 array(
1030 'PHPMAIL' => 'PHPMAIL',
1031 'SENDMAIL' => 'SENDMAIL',
1032 'SMTP' => 'SMTP',
1034 'SMTP', // default
1035 xl('Method for sending outgoing email.')
1038 'SMTP_HOST' => array(
1039 xl('SMTP Server Hostname'),
1040 'text', // data type
1041 'localhost', // default
1042 xl('If SMTP is used, the server`s hostname or IP address.')
1045 'SMTP_PORT' => array(
1046 xl('SMTP Server Port Number'),
1047 'num', // data type
1048 '25', // default
1049 xl('If SMTP is used, the server`s TCP port number (usually 25).')
1052 'SMTP_USER' => array(
1053 xl('SMTP User for Authentication'),
1054 'text', // data type
1055 '', // default
1056 xl('Must be empty if SMTP authentication is not used.')
1059 'SMTP_PASS' => array(
1060 xl('SMTP Password for Authentication'),
1061 'text', // data type
1062 '', // default
1063 xl('Must be empty if SMTP authentication is not used.')
1066 'EMAIL_NOTIFICATION_HOUR' => array(
1067 xl('Email Notification Hours'),
1068 'num', // data type
1069 '50', // default
1070 xl('Number of hours in advance to send email notifications.')
1073 'SMS_NOTIFICATION_HOUR' => array(
1074 xl('SMS Notification Hours'),
1075 'num', // data type
1076 '50', // default
1077 xl('Number of hours in advance to send SMS notifications.')
1080 'SMS_GATEWAY_USENAME' => array(
1081 xl('SMS Gateway Username'),
1082 'text', // data type
1083 '', // default
1084 xl('Username for SMS Gateway.')
1087 'SMS_GATEWAY_PASSWORD' => array(
1088 xl('SMS Gateway Password'),
1089 'text', // data type
1090 '', // default
1091 xl('Password for SMS Gateway.')
1094 'SMS_GATEWAY_APIKEY' => array(
1095 xl('SMS Gateway API Key'),
1096 'text', // data type
1097 '', // default
1098 xl('API key for SMS Gateway.')
1101 'phone_notification_hour' => array(
1102 xl('Phone Notification Hour'),
1103 'num', // data type
1104 '50', // default
1105 xl('Number of hours in advance to send Phone notification.')
1108 'phone_gateway_username' => array(
1109 xl('Phone Gateway Username'),
1110 'text', // data type
1111 '', // default
1112 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1115 'phone_gateway_password' => array(
1116 xl('Phone Gateway Password'),
1117 'text', // data type
1118 '', // default
1119 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1122 'phone_gateway_url' => array(
1123 xl('Phone Gateway URL'),
1124 'text', // data type
1125 '', // default
1126 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
1131 // CDR (Clinical Decision Rules)
1133 'CDR' => array(
1135 'enable_cdr' => array(
1136 xl('Enable Clinical Decisions Rules (CDR)'),
1137 'bool', // data type
1138 '1', // default
1139 xl('Enable Clinical Decisions Rules (CDR)')
1142 'enable_cdr_crw' => array(
1143 xl('Enable Clinical Reminder Widget'),
1144 'bool', // data type
1145 '1', // default
1146 xl('Enable Clinical Reminder Widget')
1149 'enable_cdr_crp' => array(
1150 xl('Enable Clinical Reminder Popup'),
1151 'bool', // data type
1152 '1', // default
1153 xl('Enable Clinical Reminder Popup')
1156 'enable_cdr_prw' => array(
1157 xl('Enable Patient Reminder Widget'),
1158 'bool', // data type
1159 '1', // default
1160 xl('Enable Patient Reminder Widget')
1163 'enable_cqm' => array(
1164 xl('Enable CQM Reporting'),
1165 'bool', // data type
1166 '1', // default
1167 xl('Enable Clinical Quality Measure (CQM) Reporting')
1170 'pqri_registry_name' => array(
1171 xl('PQRI Registry Name'),
1172 'text', // data type
1173 'Model Registry', // default
1174 xl('PQRI Registry Name')
1177 'pqri_registry_id' => array(
1178 xl('PQRI Registry ID'),
1179 'text', // data type
1180 '125789123', // default
1181 xl('PQRI Registry ID')
1184 'enable_amc' => array(
1185 xl('Enable AMC Reporting'),
1186 'bool', // data type
1187 '1', // default
1188 xl('Enable Automated Measure Calculations (AMC) Reporting')
1191 'enable_amc_prompting' => array(
1192 xl('Enable AMC Prompting'),
1193 'bool', // data type
1194 '1', // default
1195 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1198 'enable_amc_tracking' => array(
1199 xl('Enable AMC Tracking'),
1200 'bool', // data type
1201 '1', // default
1202 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1205 'cdr_report_nice' => array(
1206 xl('CDR Reports Processing Priority'),
1207 array(
1208 '' => xl('Default Priority'),
1209 '5' => xl('Moderate Priority'),
1210 '10' => xl('Moderate/Low Priority'),
1211 '15' => xl('Low Priority'),
1212 '20' => xl('Lowest Priority')
1214 '', // default
1215 xl('Set processing priority for CDR engine based reports.')
1218 'pat_rem_clin_nice' => array(
1219 xl('Patient Reminder Creation Processing Priority'),
1220 array(
1221 '' => xl('Default Priority'),
1222 '5' => xl('Moderate Priority'),
1223 '10' => xl('Moderate/Low Priority'),
1224 '15' => xl('Low Priority'),
1225 '20' => xl('Lowest Priority')
1227 '', // default
1228 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1231 'report_itemizing_standard' => array(
1232 xl('Enable Standard Report Itemization'),
1233 'bool', // data type
1234 '1', // default
1235 xl('Enable Itemization of Standard Clinical Rules Reports')
1238 'report_itemizing_cqm' => array(
1239 xl('Enable CQM Report Itemization'),
1240 'bool', // data type
1241 '1', // default
1242 xl('Enable Itemization of CQM Reports')
1245 'report_itemizing_amc' => array(
1246 xl('Enable AMC Report Itemization'),
1247 'bool', // data type
1248 '1', // default
1249 xl('Enable Itemization of AMC Reports')
1254 // Logging
1256 'Logging' => array(
1258 'enable_auditlog' => array(
1259 xl('Enable Audit Logging'),
1260 'bool', // data type
1261 '1', // default
1262 xl('Enable Audit Logging')
1265 'audit_events_patient-record' => array(
1266 xl('Audit Logging Patient Record'),
1267 'bool', // data type
1268 '1', // default
1269 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1272 'audit_events_scheduling' => array(
1273 xl('Audit Logging Scheduling'),
1274 'bool', // data type
1275 '1', // default
1276 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1279 'audit_events_order' => array(
1280 xl('Audit Logging Order'),
1281 'bool', // data type
1282 '1', // default
1283 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1286 'audit_events_security-administration' => array(
1287 xl('Audit Logging Security Administration'),
1288 'bool', // data type
1289 '1', // default
1290 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1293 'audit_events_backup' => array(
1294 xl('Audit Logging Backups'),
1295 'bool', // data type
1296 '1', // default
1297 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1300 'audit_events_other' => array(
1301 xl('Audit Logging Miscellaneous'),
1302 'bool', // data type
1303 '1', // default
1304 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1307 'audit_events_query' => array(
1308 xl('Audit Logging SELECT Query'),
1309 'bool', // data type
1310 '0', // default
1311 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1314 'audit_events_cdr' => array(
1315 xl('Audit CDR Engine Queries'),
1316 'bool', // data type
1317 '0', // default
1318 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1321 'enable_atna_audit' => array(
1322 xl('Enable ATNA Auditing'),
1323 'bool', // data type
1324 '0', // default
1325 xl('Enable Audit Trail and Node Authentication (ATNA).')
1328 'atna_audit_host' => array(
1329 xl('ATNA audit host'),
1330 'text', // data type
1331 '', // default
1332 xl('The hostname of the ATNA audit repository machine.')
1335 'atna_audit_port' => array(
1336 xl('ATNA audit port'),
1337 'text', // data type
1338 '6514', // default
1339 xl('Listening port of the RFC 5425 TLS syslog server.')
1342 'atna_audit_localcert' => array(
1343 xl('ATNA audit local certificate'),
1344 'text', // data type
1345 '', // default
1346 xl('Certificate to send to RFC 5425 TLS syslog server.')
1349 'atna_audit_cacert' => array(
1350 xl('ATNA audit CA certificate'),
1351 'text', // data type
1352 '', // default
1353 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1356 //July 1, 2014: Ensoftek: Flag to enable/disable audit log encryption
1357 'enable_auditlog_encryption' => array(
1358 xl('Enable Audit Log Encryption'),
1359 'bool', // data type
1360 '0', // default
1361 xl('Enable Audit Log Encryption')
1366 // Miscellaneous Tab
1368 'Miscellaneous' => array(
1370 'mysql_bin_dir' => array(
1371 xl('Path to MySQL Binaries'),
1372 'text', // data type
1373 $mysql_bin_dir, // default
1374 xl('Full path to directory containing MySQL executables.')
1377 'perl_bin_dir' => array(
1378 xl('Path to Perl Binaries'),
1379 'text', // data type
1380 $perl_bin_dir, // default
1381 xl('Full path to directory containing Perl executables.')
1384 'temporary_files_dir' => array(
1385 xl('Path to Temporary Files'),
1386 'text', // data type
1387 $temporary_files_dir, // default
1388 xl('Full path to directory used for temporary files.')
1391 'backup_log_dir' => array(
1392 xl('Path for Event Log Backup'),
1393 'text', // data type
1394 $backup_log_dir, // default
1395 xl('Full path to directory for event log backup.')
1398 'state_data_type' => array(
1399 xl('State Data Type'),
1400 array(
1401 '2' => xl('Text field'),
1402 '1' => xl('Single-selection list'),
1403 '26' => xl('Single-selection list with ability to add to the list'),
1405 '26', // default
1406 xl('Field type to use for employer or subscriber state in demographics.')
1409 'state_list' => array(
1410 xl('State list'),
1411 'text', // data type
1412 'state', // default
1413 xl('List used by above State Data Type option.')
1416 'state_custom_addlist_widget' => array(
1417 xl('State List Widget Custom Fields'),
1418 'bool', // data type
1419 '1', // default
1420 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1423 'country_data_type' => array(
1424 xl('Country Data Type'),
1425 array(
1426 '2' => xl('Text field'),
1427 '1' => xl('Single-selection list'),
1428 '26' => xl('Single-selection list with ability to add to the list'),
1430 '26', // default
1431 xl('Field type to use for employer or subscriber country in demographics.')
1434 'country_list' => array(
1435 xl('Country list'),
1436 'text', // data type
1437 'country', // default
1438 xl('List used by above Country Data Type option.')
1441 'print_command' => array(
1442 xl('Print Command'),
1443 'text', // data type
1444 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1445 xl('Shell command for printing from the server.')
1448 'default_chief_complaint' => array(
1449 xl('Default Reason for Visit'),
1450 'text', // data type
1452 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1455 'default_new_encounter_form' => array(
1456 xl('Default Encounter Form ID'),
1457 'text', // data type
1459 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1462 'MedicareReferrerIsRenderer' => array(
1463 xl('Medicare Referrer Is Renderer'),
1464 'bool', // data type
1465 '0', // default = true
1466 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1469 'post_to_date_benchmark' => array(
1470 xl('Financial Close Date (yyyy-mm-dd)'),
1471 'text', // data type
1472 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1473 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1476 'enable_hylafax' => array(
1477 xl('Enable Hylafax Support'),
1478 'bool', // data type
1479 '0', // default
1480 xl('Enable Hylafax Support')
1483 'hylafax_server' => array(
1484 xl('Hylafax Server'),
1485 'text', // data type
1486 'localhost', // default
1487 xl('Hylafax server hostname.')
1490 'hylafax_basedir' => array(
1491 xl('Hylafax Directory'),
1492 'text', // data type
1493 '/var/spool/fax', // default
1494 xl('Location where Hylafax stores faxes.')
1497 'hylafax_enscript' => array(
1498 xl('Hylafax Enscript Command'),
1499 'text', // data type
1500 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1501 xl('Enscript command used by Hylafax.')
1504 'enable_scanner' => array(
1505 xl('Enable Scanner Support'),
1506 'bool', // data type
1507 '0', // default
1508 xl('Enable Scanner Support')
1511 'scanner_output_directory' => array(
1512 xl('Scanner Directory'),
1513 'text', // data type
1514 '/mnt/scan_docs', // default
1515 xl('Location where scans are stored.')
1520 // Portal Tab
1522 'Portal' => array(
1524 'portal_onsite_enable' => array(
1525 xl('Enable Onsite Patient Portal'),
1526 'bool', // data type
1527 '0',
1528 xl('Enable Onsite Patient Portal.')
1531 'portal_onsite_address' => array(
1532 xl('Onsite Patient Portal Site Address'),
1533 'text', // data type
1534 'https://your_web_site.com/openemr/patients',
1535 xl('Website link for the Onsite Patient Portal.')
1538 'portal_offsite_enable' => array(
1539 xl('Enable Offsite Patient Portal'),
1540 'bool', // data type
1541 '0',
1542 xl('Enable Offsite Patient Portal.')
1545 'portal_offsite_providerid' => array(
1546 xl('Offsite Patient Portal Provider ID'),
1547 'text', // data type
1549 xl('Offsite Patient Portal Provider ID(Put Blank If not Registered).')
1552 'portal_offsite_username' => array(
1553 xl('Offsite Patient Portal Username'),
1554 'text', // data type
1556 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1559 'portal_offsite_password' => array(
1560 xl('Offsite Patient Portal Password'),
1561 'pwd', // data type
1563 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1566 'portal_offsite_address' => array(
1567 xl('Offsite Patient Portal Site Address'),
1568 'text', // data type
1569 'https://ssh.mydocsportal.com/provider.php',
1570 xl('Offsite Https link for the Patient Portal.')
1573 'portal_offsite_address_patient_link' => array(
1574 xl('Offsite Patient Portal Site Address (Patient Link)'),
1575 'text', // data type
1576 'https://ssh.mydocsportal.com',
1577 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1580 // Currently the "CMS Portal" supports WordPress. Other Content Management
1581 // Systems may be supported in the future.
1583 'gbl_portal_cms_enable' => array(
1584 xl('Enable CMS Portal'),
1585 'bool', // data type
1586 '0',
1587 xl('Enable support for the open source WordPress Portal by Sunset Systems')
1590 'gbl_portal_cms_address' => array(
1591 xl('CMS Portal Site Address'),
1592 'text', // data type
1593 'https://your_cms_site.com/',
1594 xl('URL for the WordPress site that supports the portal')
1597 'gbl_portal_cms_username' => array(
1598 xl('CMS Portal Username'),
1599 'text', // data type
1601 xl('Login name of WordPress user for portal access')
1604 'gbl_portal_cms_password' => array(
1605 xl('CMS Portal Password'),
1606 'text', // data type
1608 xl('Password for the above user')
1613 // Connectors Tab
1615 'Connectors' => array(
1617 'lab_exchange_enable' => array(
1618 xl('Enable Lab Exchange'),
1619 'bool', // data type
1620 '0',
1621 xl('Enable the Medical Information Integration, LLC Lab Exchange Service.')
1624 'lab_exchange_siteid' => array(
1625 xl('Lab Exchange Site ID'),
1626 'text', // data type
1627 '3',
1628 xl('Site ID for the Medical Information Integration, LLC Lab Exchange Service.')
1631 'lab_exchange_token' => array(
1632 xl('Lab Exchange Token ID'),
1633 'text', // data type
1634 '12345',
1635 xl('Token ID for the Medical Information Integration, LLC Lab Exchange Service.')
1638 'lab_exchange_endpoint' => array(
1639 xl('Lab Exchange Site Address'),
1640 'text', // data type
1641 'https://len.mi-squared.com:29443/len/api',
1642 xl('Contact Medical Information Integration, LLC at http://mi-squared.com for Lab Exchange Service.')
1645 'erx_enable' => array(
1646 xl('Enable NewCrop eRx Service'),
1647 'bool', // data type
1648 '0',
1649 xl('Enable NewCrop eRx Service')
1652 'erx_path_production' => array(
1653 xl('NewCrop eRx Site Address'),
1654 'text', // data type
1655 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1656 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1659 'erx_path_soap_production' => array(
1660 xl('NewCrop eRx Web Service Address'),
1661 'text', // data type
1662 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1663 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1666 'erx_soap_ttl_allergies' => array(
1667 xl('NewCrop eRx SOAP Request Time-To-Live for Allergies'),
1668 'num',
1669 '21600',
1670 xl('Time-To-Live for Allergies SOAP Request in seconds')
1673 'erx_soap_ttl_medications' => array(
1674 xl('NewCrop eRx SOAP Request Time-To-Live for Medications'),
1675 'num',
1676 '21600',
1677 xl('Time-To-Live for Medications SOAP Request in seconds')
1680 'partner_name_production' => array(
1681 xl('NewCrop eRx Partner Name'),
1682 'text', // data type
1684 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1687 'erx_name_production' => array(
1688 xl('NewCrop eRx Name'),
1689 'text', // data type
1691 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1694 'erx_password_production' => array(
1695 xl('NewCrop eRx Password'),
1696 'pass', // data type
1698 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1701 'erx_account_id' => array(
1702 xl('NewCrop eRx Account Id'),
1703 'text', // data type
1704 '1',
1705 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1708 'erx_upload_active' => array(
1709 xl('Only upload active prescriptions'),
1710 'bool', // data type
1711 '0',
1712 xl('Only upload active prescriptions')
1715 'erx_import_status_message' => array(
1716 xl('Enable import status message for NewCrop erx'),
1717 'bool', // data type
1718 '0',
1719 xl('Enable import status message for NewCrop erx')
1722 'erx_medication_display' => array(
1723 xl('Do not display Medications uploaded to NewCrop'),
1724 'bool', // data type
1725 '0',
1726 xl('Do not display Medications uploaded to NewCrop')
1729 'erx_allergy_display' => array(
1730 xl('Do not display Allergy uploaded to NewCrop'),
1731 'bool', // data type
1732 '0',
1733 xl('Do not display Allergy uploaded to NewCrop')
1736 'erx_default_patient_country' => array(
1737 xl('Default Patient Country'),
1738 array(
1739 '' => '',
1740 'US' => 'USA',
1741 'CA' => 'Canada',
1742 'MX' => 'Mexico'
1745 xl('Default Patient Country'),
1748 'phimail_enable' => array(
1749 xl('Enable phiMail Direct Messaging Service'),
1750 'bool', // data type
1751 '0',
1752 xl('Enable phiMail Direct Messaging Service')
1755 'phimail_server_address' => array(
1756 xl('phiMail Server Address'),
1757 'text', // data type
1758 'https://phimail.example.com:32541',
1759 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1762 'phimail_username' => array(
1763 xl('phiMail Username'),
1764 'text', // data type
1766 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1769 'phimail_password' => array(
1770 xl('phiMail Password'),
1771 'pass', // data type
1773 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1776 'phimail_notify' => array(
1777 xl('phiMail notification user'),
1778 'text', // data type
1779 'admin',
1780 xl('This user will receive notification of new incoming Direct messages')
1783 'phimail_interval' => array(
1784 xl('phiMail Message Check Interval (minutes)'),
1785 'num', // data type
1786 '5',
1787 xl('Interval between message checks (set to zero for manual checks only)')
1790 'phimail_ccd_enable' => array(
1791 xl('phiMail Allow CCD Send'),
1792 'bool', // data type
1793 '0',
1794 xl('phiMail Allow CCD Send')
1797 'phimail_ccr_enable' => array(
1798 xl('phiMail Allow CCR Send'),
1799 'bool', // data type
1800 '0',
1801 xl('phiMail Allow CCR Send')
1805 'Rx' => array(
1806 'rx_enable_DEA' => array(
1807 xl('Rx Enable DEA #'),
1808 'bool', // data type
1809 '1',
1810 xl('Rx Enable DEA #')
1812 'rx_show_DEA' => array(
1813 xl('Rx Show DEA #'),
1814 'bool', // data type
1815 '0',
1816 xl('Rx Show DEA #')
1818 'rx_enable_NPI' => array(
1819 xl('Rx Enable NPI'),
1820 'bool', // data type
1821 '0',
1822 xl('Rx Enable NPI')
1824 'rx_show_NPI' => array(
1825 xl('Rx Show NPI'),
1826 'bool', // data type
1827 '0',
1828 xl('Rx Show NPI')
1830 'rx_enable_SLN' => array(
1831 xl('Rx Enable State Lic. #'),
1832 'bool', // data type
1833 '0',
1834 xl('Rx Enable State Lic. #')
1836 'rx_show_SLN' => array(
1837 xl('Rx Show State Lic. #'),
1838 'bool', // data type
1839 '0',
1840 xl('Rx Show State Lic. #')
1842 'rx_paper_size' => array(
1843 xl('Rx Paper Size'), // descriptive name
1844 array(
1845 'LETTER' => xl('Letter Paper Size'),
1846 'LEGAL' => xl('Legal Paper Size'),
1847 'FOLIO' => xl('Folio Paper Size'),
1848 'EXECUTIVE' => xl('Executive Paper Size'),
1849 '4A0' => ('4A0' . " " . xl('Paper Size')),
1850 '2A0' => ('2A0' . " " . xl('Paper Size')),
1851 'A0' => ('A0' . " " . xl('Paper Size')),
1852 'A1' => ('A1' . " " . xl('Paper Size')),
1853 'A2' => ('A2' . " " . xl('Paper Size')),
1854 'A3' => ('A3' . " " . xl('Paper Size')),
1855 'A4' => ('A4' . " " . xl('Paper Size')),
1856 'A5' => ('A5' . " " . xl('Paper Size')),
1857 'A6' => ('A6' . " " . xl('Paper Size')),
1858 'A7' => ('A7' . " " . xl('Paper Size')),
1859 'A8' => ('A8' . " " . xl('Paper Size')),
1860 'A9' => ('A9' . " " . xl('Paper Size')),
1861 'A10' => ('A10' . " " . xl('Paper Size')),
1862 'B0' => ('B0' . " " . xl('Paper Size')),
1863 'B1' => ('B1' . " " . xl('Paper Size')),
1864 'B2' => ('B2' . " " . xl('Paper Size')),
1865 'B3' => ('B3' . " " . xl('Paper Size')),
1866 'B4' => ('B4' . " " . xl('Paper Size')),
1867 'B5' => ('B5' . " " . xl('Paper Size')),
1868 'B6' => ('B6' . " " . xl('Paper Size')),
1869 'B7' => ('B7' . " " . xl('Paper Size')),
1870 'B8' => ('B8' . " " . xl('Paper Size')),
1871 'B9' => ('B9' . " " . xl('Paper Size')),
1872 'B10' => ('B10' . " " . xl('Paper Size')),
1873 'C0' => ('C0' . " " . xl('Paper Size')),
1874 'C1' => ('C1' . " " . xl('Paper Size')),
1875 'C2' => ('C2' . " " . xl('Paper Size')),
1876 'C3' => ('C3' . " " . xl('Paper Size')),
1877 'C4' => ('C4' . " " . xl('Paper Size')),
1878 'C5' => ('C5' . " " . xl('Paper Size')),
1879 'C6' => ('C6' . " " . xl('Paper Size')),
1880 'C7' => ('C7' . " " . xl('Paper Size')),
1881 'C8' => ('C8' . " " . xl('Paper Size')),
1882 'C9' => ('C9' . " " . xl('Paper Size')),
1883 'C10' => ('C10' . " " . xl('Paper Size')),
1884 'RA0' => ('RA0' . " " . xl('Paper Size')),
1885 'RA1' => ('RA1' . " " . xl('Paper Size')),
1886 'RA2' => ('RA2' . " " . xl('Paper Size')),
1887 'RA3' => ('RA3' . " " . xl('Paper Size')),
1888 'RA4' => ('RA4' . " " . xl('Paper Size')),
1889 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1890 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1891 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1892 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1893 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1895 'LETTER', // default = tree menu
1896 xl('Rx Paper Size')
1898 'rx_left_margin' => array(
1899 xl('Rx Left Margin (px)'),
1900 'num',
1901 '30',
1902 xl('Rx Left Margin (px)')
1904 'rx_right_margin' => array(
1905 xl('Rx Right Margin (px)'),
1906 'num',
1907 '30',
1908 xl('Rx Right Margin (px)')
1910 'rx_top_margin' => array(
1911 xl('Rx Top Margin (px)'),
1912 'num',
1913 '72',
1914 xl('Rx Top Margin (px)')
1916 'rx_bottom_margin' => array(
1917 xl('Rx Bottom Margin (px)'),
1918 'num',
1919 '30',
1920 xl('Rx Bottom Margin (px)')
1924 'PDF' => array (
1925 'pdf_layout' => array (
1926 xl('Layout'),
1927 array(
1928 'P' => xl('Portrait'),
1929 'L' => xl('Landscape')
1931 'P', //defaut
1932 xl("Choose Layout Direction"),
1934 'pdf_language' => array (
1935 xl('PDF Language'),
1936 array(
1937 'aa' => xl('Afar'),
1938 'af' => xl('Afrikaans'),
1939 'ak' => xl('Akan'),
1940 'sq' => xl('Albanian'),
1941 'am' => xl('Amharic'),
1942 'ar' => xl('Arabic'),
1943 'an' => xl('Aragonese'),
1944 'hy' => xl('Armenian'),
1945 'as' => xl('Assamese'),
1946 'av' => xl('Avaric'),
1947 'ae' => xl('Avestan'),
1948 'ay' => xl('Aymara'),
1949 'az' => xl('Azerbaijani'),
1950 'bm' => xl('Bambara'),
1951 'ba' => xl('Bashkir'),
1952 'eu' => xl('Basque'),
1953 'be' => xl('Belarusian'),
1954 'bn' => xl('Bengali- Bangla'),
1955 'bh' => xl('Bihari'),
1956 'bi' => xl('Bislama'),
1957 'bs' => xl('Bosnian'),
1958 'br' => xl('Breton'),
1959 'bg' => xl('Bulgarian'),
1960 'my' => xl('Burmese'),
1961 'ca' => xl('Catalan- Valencian'),
1962 'ch' => xl('Chamorro'),
1963 'ce' => xl('Chechen'),
1964 'ny' => xl('Chichewa- Chewa- Nyanja'),
1965 'zh' => xl('Chinese'),
1966 'cv' => xl('Chuvash'),
1967 'kw' => xl('Cornish'),
1968 'co' => xl('Corsican'),
1969 'cr' => xl('Cree'),
1970 'hr' => xl('Croatian'),
1971 'cs' => xl('Czech'),
1972 'da' => xl('Danish'),
1973 'dv' => xl('Divehi- Dhivehi- Maldivian-'),
1974 'nl' => xl('Dutch'),
1975 'dz' => xl('Dzongkha'),
1976 'en' => xl('English'),
1977 'eo' => xl('Esperanto'),
1978 'et' => xl('Estonian'),
1979 'ee' => xl('Ewe'),
1980 'fo' => xl('Faroese'),
1981 'fj' => xl('Fijian'),
1982 'fi' => xl('Finnish'),
1983 'fr' => xl('French'),
1984 'ff' => xl('Fula- Fulah- Pulaar- Pular'),
1985 'gl' => xl('Galician'),
1986 'ka' => xl('Georgian'),
1987 'de' => xl('German'),
1988 'el' => xl('Greek, Modern'),
1989 'gn' => xl('Guaraní'),
1990 'gu' => xl('Gujarati'),
1991 'ht' => xl('Haitian- Haitian Creole'),
1992 'ha' => xl('Hausa'),
1993 'he' => xl('Hebrew (modern)'),
1994 'hz' => xl('Herero'),
1995 'hi' => xl('Hindi'),
1996 'ho' => xl('Hiri Motu'),
1997 'hu' => xl('Hungarian'),
1998 'ia' => xl('Interlingua'),
1999 'id' => xl('Indonesian'),
2000 'ie' => xl('Interlingue'),
2001 'ga' => xl('Irish'),
2002 'ig' => xl('Igbo'),
2003 'ik' => xl('Inupiaq'),
2004 'io' => xl('Ido'),
2005 'is' => xl('Icelandic'),
2006 'it' => xl('Italian'),
2007 'iu' => xl('Inuktitut'),
2008 'ja' => xl('Japanese'),
2009 'jv' => xl('Javanese'),
2010 'kl' => xl('Kalaallisut, Greenlandic'),
2011 'kn' => xl('Kannada'),
2012 'kr' => xl('Kanuri'),
2013 'ks' => xl('Kashmiri'),
2014 'kk' => xl('Kazakh'),
2015 'km' => xl('Khmer'),
2016 'ki' => xl('Kikuyu, Gikuyu'),
2017 'rw' => xl('Kinyarwanda'),
2018 'ky' => xl('Kyrgyz'),
2019 'kv' => xl('Komi'),
2020 'kg' => xl('Kongo'),
2021 'ko' => xl('Korean'),
2022 'ku' => xl('Kurdish'),
2023 'kj' => xl('Kwanyama, Kuanyama'),
2024 'la' => xl('Latin'),
2025 'lb' => xl('Luxembourgish, Letzeburgesch'),
2026 'lg' => xl('Ganda'),
2027 'li' => xl('Limburgish, Limburgan, Limburger'),
2028 'ln' => xl('Lingala'),
2029 'lo' => xl('Lao'),
2030 'lt' => xl('Lithuanian'),
2031 'lu' => xl('Luba-Katanga'),
2032 'lv' => xl('Latvian'),
2033 'gv' => xl('Manx'),
2034 'mk' => xl('Macedonian'),
2035 'mg' => xl('Malagasy'),
2036 'ms' => xl('Malay'),
2037 'ml' => xl('Malayalam'),
2038 'mt' => xl('Maltese'),
2039 'mi' => xl('Māori'),
2040 'mr' => xl('Marathi (Marāṭhī)'),
2041 'mh' => xl('Marshallese'),
2042 'mn' => xl('Mongolian'),
2043 'na' => xl('Nauru'),
2044 'nv' => xl('Navajo, Navaho'),
2045 'nb' => xl('Norwegian Bokmål'),
2046 'nd' => xl('North Ndebele'),
2047 'ne' => xl('Nepali'),
2048 'ng' => xl('Ndonga'),
2049 'nn' => xl('Norwegian Nynorsk'),
2050 'no' => xl('Norwegian'),
2051 'ii' => xl('Nuosu'),
2052 'nr' => xl('South Ndebele'),
2053 'oc' => xl('Occitan'),
2054 'oj' => xl('Ojibwe, Ojibwa'),
2055 'cu' => xl('Old Church Slavonic, Church Slavonic, Old Bulgarian'),
2056 'om' => xl('Oromo'),
2057 'or' => xl('Oriya'),
2058 'os' => xl('Ossetian, Ossetic'),
2059 'pa' => xl('Panjabi, Punjabi'),
2060 'pi' => xl('Pāli'),
2061 'fa' => xl('Persian (Farsi)'),
2062 'pl' => xl('Polish'),
2063 'ps' => xl('Pashto, Pushto'),
2064 'pt' => xl('Portuguese'),
2065 'qu' => xl('Quechua'),
2066 'rm' => xl('Romansh'),
2067 'rn' => xl('Kirundi'),
2068 'ro' => xl('Romanian'),
2069 'ru' => xl('Russian'),
2070 'sa' => xl('Sanskrit (Saṁskṛta)'),
2071 'sc' => xl('Sardinian'),
2072 'sd' => xl('Sindhi'),
2073 'se' => xl('Northern Sami'),
2074 'sm' => xl('Samoan'),
2075 'sg' => xl('Sango'),
2076 'sr' => xl('Serbian'),
2077 'gd' => xl('Scottish Gaelic- Gaelic'),
2078 'sn' => xl('Shona'),
2079 'si' => xl('Sinhala, Sinhalese'),
2080 'sk' => xl('Slovak'),
2081 'sl' => xl('Slovene'),
2082 'so' => xl('Somali'),
2083 'st' => xl('Southern Sotho'),
2084 'es' => xl('Spanish- Castilian'),
2085 'su' => xl('Sundanese'),
2086 'sw' => xl('Swahili'),
2087 'ss' => xl('Swati'),
2088 'sv' => xl('Swedish'),
2089 'ta' => xl('Tamil'),
2090 'te' => xl('Telugu'),
2091 'tg' => xl('Tajik'),
2092 'th' => xl('Thai'),
2093 'ti' => xl('Tigrinya'),
2094 'bo' => xl('Tibetan Standard, Tibetan, Central'),
2095 'tk' => xl('Turkmen'),
2096 'tl' => xl('Tagalog'),
2097 'tn' => xl('Tswana'),
2098 'to' => xl('Tonga (Tonga Islands)'),
2099 'tr' => xl('Turkish'),
2100 'ts' => xl('Tsonga'),
2101 'tt' => xl('Tatar'),
2102 'tw' => xl('Twi'),
2103 'ty' => xl('Tahitian'),
2104 'ug' => xl('Uyghur, Uighur'),
2105 'uk' => xl('Ukrainian'),
2106 'ur' => xl('Urdu'),
2107 'uz' => xl('Uzbek'),
2108 've' => xl('Venda'),
2109 'vi' => xl('Vietnamese'),
2110 'vo' => xl('Volapük'),
2111 'wa' => xl('Walloon'),
2112 'cy' => xl('Welsh'),
2113 'wo' => xl('Wolof'),
2114 'fy' => xl('Western Frisian'),
2115 'xh' => xl('Xhosa'),
2116 'yi' => xl('Yiddish'),
2117 'yo' => xl('Yoruba'),
2118 'za' => xl('Zhuang, Chuang'),
2119 'zu' => xl('Zulu'),
2121 'en', // default English
2122 xl('Choose PDF languange Preference'),
2124 'pdf_size' => array(
2125 xl('Paper Size'), // Descriptive Name
2126 array(
2127 'LETTER' => xl('Letter Paper Size'),
2128 'LEGAL' => xl('Legal Paper Size'),
2129 'FOLIO' => xl('Folio Paper Size'),
2130 'EXECUTIVE' => xl('Executive Paper Size'),
2131 '4A0' => ('4A0' . " " . xl('Paper Size')),
2132 '2A0' => ('2A0' . " " . xl('Paper Size')),
2133 'A0' => ('A0' . " " . xl('Paper Size')),
2134 'A1' => ('A1' . " " . xl('Paper Size')),
2135 'A2' => ('A2' . " " . xl('Paper Size')),
2136 'A3' => ('A3' . " " . xl('Paper Size')),
2137 'A4' => ('A4' . " " . xl('Paper Size')),
2138 'A5' => ('A5' . " " . xl('Paper Size')),
2139 'A6' => ('A6' . " " . xl('Paper Size')),
2140 'A7' => ('A7' . " " . xl('Paper Size')),
2141 'A8' => ('A8' . " " . xl('Paper Size')),
2142 'A9' => ('A9' . " " . xl('Paper Size')),
2143 'A10' => ('A10' . " " . xl('Paper Size')),
2144 'B0' => ('B0' . " " . xl('Paper Size')),
2145 'B1' => ('B1' . " " . xl('Paper Size')),
2146 'B2' => ('B2' . " " . xl('Paper Size')),
2147 'B3' => ('B3' . " " . xl('Paper Size')),
2148 'B4' => ('B4' . " " . xl('Paper Size')),
2149 'B5' => ('B5' . " " . xl('Paper Size')),
2150 'B6' => ('B6' . " " . xl('Paper Size')),
2151 'B7' => ('B7' . " " . xl('Paper Size')),
2152 'B8' => ('B8' . " " . xl('Paper Size')),
2153 'B9' => ('B9' . " " . xl('Paper Size')),
2154 'B10' => ('B10' . " " . xl('Paper Size')),
2155 'C0' => ('C0' . " " . xl('Paper Size')),
2156 'C1' => ('C1' . " " . xl('Paper Size')),
2157 'C2' => ('C2' . " " . xl('Paper Size')),
2158 'C3' => ('C3' . " " . xl('Paper Size')),
2159 'C4' => ('C4' . " " . xl('Paper Size')),
2160 'C5' => ('C5' . " " . xl('Paper Size')),
2161 'C6' => ('C6' . " " . xl('Paper Size')),
2162 'C7' => ('C7' . " " . xl('Paper Size')),
2163 'C8' => ('C8' . " " . xl('Paper Size')),
2164 'C9' => ('C9' . " " . xl('Paper Size')),
2165 'C10' => ('C10' . " " . xl('Paper Size')),
2166 'RA0' => ('RA0' . " " . xl('Paper Size')),
2167 'RA1' => ('RA1' . " " . xl('Paper Size')),
2168 'RA2' => ('RA2' . " " . xl('Paper Size')),
2169 'RA3' => ('RA3' . " " . xl('Paper Size')),
2170 'RA4' => ('RA4' . " " . xl('Paper Size')),
2171 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
2172 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
2173 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
2174 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
2175 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
2177 'LETTER',
2178 xl('Choose Paper Size')
2180 'pdf_left_margin' => array(
2181 xl('Left Margin (mm)'),
2182 'num',
2183 '5',
2184 xl('Left Margin (mm)')
2186 'pdf_right_margin' => array(
2187 xl('Right Margin (mm)'),
2188 'num',
2189 '5',
2190 xl('Right Margin (mm)')
2192 'pdf_top_margin' => array(
2193 xl('Top Margin (mm)'),
2194 'num',
2195 '5',
2196 xl('Top Margin (mm)')
2198 'pdf_bottom_margin' => array(
2199 xl('Bottom Margin (px)'),
2200 'num',
2201 '8',
2202 xl('Bottom Margin (px)')
2204 'pdf_output' => array (
2205 xl('Output Type'),
2206 array(
2207 'D' => xl('Download'),
2208 'I' => xl('Inline')
2210 'D', //defaut
2211 xl("Choose Download or Display Inline"),
2214 'chart_label_type' => array(
2215 xl('Patient Label Type'),
2216 array(
2217 '0' => xl('None'),
2218 '1' => '5160',
2219 '2' => '5161',
2220 '3' => '5162'
2222 '1', // default
2223 xl('Avery Label type for printing patient labels from popups in left nav screen'),
2226 'barcode_label_type' => array(
2227 xl('Barcode Label Type'),
2228 array(
2229 '0' => xl('None'),
2230 '1' => 'std25',
2231 '2' => 'int25',
2232 '3' => 'ean8',
2233 '4' => 'ean13',
2234 '5' => 'upc',
2235 '6' => 'code11',
2236 '7' => 'code39',
2237 '8' => 'code93',
2238 '9' => 'code128',
2239 '10' => 'codabar',
2240 '11' => 'msi',
2241 '12' => 'datamatrix'
2243 '9', // default = None
2244 xl('Barcode type for printing barcode labels from popups in left nav screen.')
2247 'addr_label_type' => array(
2248 xl('Print Patient Address Label'),
2249 'bool', // data type
2250 '1', // default = false
2251 xl('Select to print patient address labels from popups in left nav screen.')