Improved/optimized CDR engine reports (and patient reminders) and added a
[openemr.git] / library / globals.inc.php
blobdab46cb7e3b3a30a942df7b2969319de81223c3b
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 // French // xl('French (Standard)')
34 // French // xl('French (Canadian)')
35 // German // xl('German')
36 // Greek // xl('Greek')
37 // Hebrew // xl('Hebrew')
38 // Hindi // xl('Hindi')
39 // Hungarian // xl('Hungarian')
40 // Italian // xl('Italian')
41 // Norwegian // xl('Norwegian')
42 // Polish // xl('Polish')
43 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
44 // Portuguese (European) // xl('Portuguese (European)')
45 // Romanian // xl('Romanian')
46 // Russian // xl('Russian')
47 // Slovak // xl('Slovak')
48 // Spanish (Latin American) // xl('Spanish (Latin American)')
49 // Spanish (Spain) // xl('Spanish (Spain)')
50 // Swedish // xl('Swedish')
51 // Turkish // xl('Turkish')
52 // Ukrainian // xl('Ukrainian')
53 // Vietnamese // xl('Vietnamese')
55 // OS-dependent stuff.
56 if (stristr(PHP_OS, 'WIN')) {
57 // MS Windows
58 $mysql_bin_dir = 'C:/xampp/mysql/bin';
59 $perl_bin_dir = 'C:/xampp/perl/bin';
60 $temporary_files_dir = 'C:/windows/temp';
61 $backup_log_dir = 'C:/windows/temp';
63 else {
64 // Everything else
65 $mysql_bin_dir = '/usr/bin';
66 $perl_bin_dir = '/usr/bin';
67 $temporary_files_dir = '/tmp';
68 $backup_log_dir = '/tmp';
71 // Language constant declarations:
72 // xl('Appearance')
73 // xl('Locale')
74 // xl('Features')
75 // xl('Calendar')
76 // xl('Security')
77 // xl('Notifications')
78 // xl('Miscellaneous')
80 // List of user specific tabs and globals
81 $USER_SPECIFIC_TABS = array('Appearance',
82 'Locale',
83 'Calendar',
84 'Connectors');
85 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
86 'concurrent_layout',
87 'css_header',
88 'gbl_pt_list_page_size',
89 'gbl_pt_list_new_window',
90 'units_of_measurement',
91 'date_display_format',
92 'time_display_format',
93 'event_color',
94 'erx_import_status_message');
96 $GLOBALS_METADATA = array(
98 // Appearance Tab
100 'Appearance' => array(
102 'default_top_pane' => array(
103 xl('Main Top Pane Screen'), // descriptive name
104 array(
105 'main_info.php' => xl('Calendar Screen'),
106 '../new/new.php' => xl('Patient Search/Add Screen'),
108 'main_info.php', // default = calendar
109 xl('Type of screen layout')
112 'concurrent_layout' => array(
113 xl('Layout Style'), // descriptive name
114 array(
115 '0' => xl('Old style layout with no left menu'),
116 '1' => xl('Navigation menu consists of pairs of radio buttons'),
117 '2' => xl('Navigation menu is a tree view'),
118 '3' => xl('Navigation uses a sliding menu'),
120 '3', // default = tree menu
121 xl('Type of screen layout')
124 'css_header' => array(
125 xl('Theme'),
126 'css',
127 'style_oemr.css',
128 xl('Pick a CSS theme.')
131 'gbl_nav_area_width' => array(
132 xl('Navigation Area Width'),
133 'num',
134 '150',
135 xl('Width in pixels of the left navigation frame.')
138 'openemr_name' => array(
139 xl('Application Title'),
140 'text',
141 'OpenEMR',
142 xl('Application name for login page and main window title.')
145 'full_new_patient_form' => array(
146 xl('New Patient Form'),
147 array(
148 '0' => xl('Old-style static form without search or duplication check'),
149 '1' => xl('All demographics fields, with search and duplication check'),
150 '2' => xl('Mandatory or specified fields only, search and dup check'),
151 '3' => xl('Mandatory or specified fields only, dup check, no search'),
153 '1', // default
154 xl('Style of form used for adding new patients')
157 'patient_search_results_style' => array(
158 xl('Patient Search Results Style'),
159 array(
160 '0' => xl('Encounter statistics'),
161 '1' => xl('Mandatory and specified fields'),
163 '0', // default
164 xl('Type of columns displayed for patient search results')
167 'gbl_tall_nav_area' => array(
168 xl('Tall Navigation Area'),
169 'bool', // data type
170 '0', // default = false
171 xl('Navigation area uses full height of frameset')
174 'gbl_nav_visit_forms' => array(
175 xl('Navigation Area Visit Forms'),
176 'bool', // data type
177 '1', // default = true
178 xl('Navigation area includes encounter forms')
181 'simplified_demographics' => array(
182 xl('Simplified Demographics'),
183 'bool', // data type
184 '0', // default = false
185 xl('Omit insurance and some other things from the demographics form')
188 'simplified_prescriptions' => array(
189 xl('Simplified Prescriptions'),
190 'bool', // data type
191 '0', // default = false
192 xl('Omit form, route and interval which then become part of dosage')
195 'simplified_copay' => array(
196 xl('Simplified Co-Pay'),
197 'bool', // data type
198 '0', // default = false
199 xl('Omit method of payment from the co-pay panel')
202 'use_charges_panel' => array(
203 xl('Use Charges Panel'),
204 'bool', // data type
205 '0', // default = false
206 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
209 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
210 'enable_fees_in_left_menu' => array(
211 xl('Enable Fees In Left Menu'),
212 'bool', // data type
213 '1', // default = true
214 xl('Enable Fees In Left Menu')
217 'online_support_link' => array(
218 xl('Online Support Link'),
219 'text', // data type
220 'http://open-emr.org/',
221 xl('URL for OpenEMR support.')
224 'encounter_page_size' => array(
225 xl('Encounter Page Size'),
226 array(
227 '0' => xl('Show All'),
228 '5' => '5',
229 '10' => '10',
230 '15' => '15',
231 '20' => '20',
232 '25' => '25',
233 '50' => '50',
235 '20',
236 xl('Number of encounters to display per page.')
239 'gbl_pt_list_page_size' => array(
240 xl('Patient List Page Size'),
241 array(
242 '10' => '10',
243 '25' => '25',
244 '50' => '50',
245 '100' => '100',
247 '10',
248 xl('Number of patients to display per page in the patient list.')
251 'gbl_pt_list_new_window' => array(
252 xl('Patient List New Window'),
253 'bool', // data type
254 '0', // default = false
255 xl('Default state of New Window checkbox in the patient list.')
260 // Locale Tab
262 'Locale' => array(
264 'language_default' => array(
265 xl('Default Language'),
266 'lang', // data type
267 'English (Standard)', // default = english
268 xl('Default language if no other is allowed or chosen.')
271 'language_menu_showall' => array(
272 xl('All Languages Allowed'),
273 'bool', // data type
274 '1', // default = true
275 xl('Allow all available languages as choices on menu at login.')
278 'language_menu_other' => array(
279 xl('Allowed Languages'),
280 'm_lang', // data type
281 '', // default = none
282 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
285 'allow_debug_language' => array(
286 xl('Allow Debugging Language'),
287 'bool', // data type
288 '0', // default = true during development and false for production releases
289 xl('This will allow selection of the debugging (\'dummy\') language.')
292 'translate_layout' => array(
293 xl('Translate Layouts'),
294 'bool', // data type
295 '1', // default = true
296 xl('Is text from form layouts to be translated?')
299 'translate_lists' => array(
300 xl('Translate Lists'),
301 'bool', // data type
302 '1', // default = true
303 xl('Is text from lists to be translated?')
306 'translate_gacl_groups' => array(
307 xl('Translate Access Control Groups'),
308 'bool', // data type
309 '1', // default = true
310 xl('Are access control group names to be translated?')
313 'translate_form_titles' => array(
314 xl('Translate Patient Note Titles'),
315 'bool', // data type
316 '1', // default = true
317 xl('Are patient note titles to be translated?')
320 'translate_document_categories' => array(
321 xl('Translate Document Categories'),
322 'bool', // data type
323 '1', // default = true
324 xl('Are document category names to be translated?')
327 'translate_appt_categories' => array(
328 xl('Translate Appointment Categories'),
329 'bool', // data type
330 '1', // default = true
331 xl('Are appointment category names to be translated?')
334 'units_of_measurement' => array(
335 xl('Units for Visit Forms'),
336 array(
337 '1' => xl('Show both US and metric (main unit is US)'),
338 '2' => xl('Show both US and metric (main unit is metric)'),
339 '3' => xl('Show US only'),
340 '4' => xl('Show metric only'),
342 '1', // default = Both/US
343 xl('Applies to the Vitals form and Growth Chart')
346 'disable_deprecated_metrics_form' => array(
347 xl('Disable Old Metric Vitals Form'),
348 'bool', // data type
349 '1', // default = true
350 xl('This was the older metric-only Vitals form, now deprecated.')
353 'phone_country_code' => array(
354 xl('Telephone Country Code'),
355 'num',
356 '1', // default = North America
357 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
360 'date_display_format' => array(
361 xl('Date Display Format'),
362 array(
363 '0' => xl('YYYY-MM-DD'),
364 '1' => xl('MM/DD/YYYY'),
365 '2' => xl('DD/MM/YYYY'),
367 '0',
368 xl('Format used to display most dates.')
371 'time_display_format' => array(
372 xl('Time Display Format'),
373 array(
374 '0' => xl('24 hr'),
375 '1' => xl('12 hr'),
377 '0',
378 xl('Format used to display most times.')
381 'currency_decimals' => array(
382 xl('Currency Decimal Places'),
383 array(
384 '0' => xl('0'),
385 '1' => xl('1'),
386 '2' => xl('2'),
388 '2',
389 xl('Number of digits after decimal point for currency, usually 0 or 2.')
392 'currency_dec_point' => array(
393 xl('Currency Decimal Point Symbol'),
394 array(
395 '.' => xl('Period'),
396 ',' => xl('Comma'),
398 '.',
399 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
402 'currency_thousands_sep' => array(
403 xl('Currency Thousands Separator'),
404 array(
405 ',' => xl('Comma'),
406 '.' => xl('Period'),
407 ' ' => xl('Space'),
408 '' => xl('None'),
410 ',',
411 xl('Symbol used to separate thousands for currency.')
414 'gbl_currency_symbol' => array(
415 xl('Currency Designator'),
416 'text', // data type
417 '$', // default
418 xl('Code or symbol to indicate currency')
423 // Features Tab
425 'Features' => array(
427 'specific_application' => array(
428 xl('Specific Application'),
429 array(
430 '0' => xl('None'),
431 '1' => xl('Athletic team'),
432 '2' => xl('IPPF'),
433 '3' => xl('Weight loss clinic'),
435 '0', // default
436 xl('Indicator for specialized usage')
439 'inhouse_pharmacy' => array(
440 xl('Drugs and Products'),
441 array(
442 '0' => xl('Do not inventory and sell any products'),
443 '1' => xl('Inventory and sell drugs only'),
444 '2' => xl('Inventory and sell both drugs and non-drug products'),
445 '3' => xl('Products but no prescription drugs and no templates'),
447 '0', // default
448 xl('Option to support inventory and sales of products')
451 'disable_chart_tracker' => array(
452 xl('Disable Chart Tracker'),
453 'bool', // data type
454 '0', // default = false
455 xl('Removes the Chart Tracker feature')
458 'disable_phpmyadmin_link' => array(
459 xl('Disable phpMyAdmin'),
460 'bool', // data type
461 '0', // default = false
462 xl('Removes support for phpMyAdmin')
465 'disable_immunizations' => array(
466 xl('Disable Immunizations'),
467 'bool', // data type
468 '0', // default = false
469 xl('Removes support for immunizations')
472 'disable_prescriptions' => array(
473 xl('Disable Prescriptions'),
474 'bool', // data type
475 '0', // default = false
476 xl('Removes support for prescriptions')
479 'omit_employers' => array(
480 xl('Omit Employers'),
481 'bool', // data type
482 '0', // default = false
483 xl('Omit employer information in patient demographics')
486 'select_multi_providers' => array(
487 xl('Support Multi-Provider Events'),
488 'bool', // data type
489 '0', // default = false
490 xl('Support calendar events that apply to multiple providers')
493 'disable_non_default_groups' => array(
494 xl('Disable User Groups'),
495 'bool', // data type
496 '1', // default = true
497 xl('Normally this should be checked. Not related to access control.')
500 'ignore_pnotes_authorization' => array(
501 xl('Skip Authorization of Patient Notes'),
502 'bool', // data type
503 '1', // default = true
504 xl('Do not require patient notes to be authorized')
507 'support_encounter_claims' => array(
508 xl('Allow Encounter Claims'),
509 'bool', // data type
510 '0', // default = false
511 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
514 'advance_directives_warning' => array(
515 xl('Advance Directives Warning'),
516 'bool', // data type
517 '0', // default = false
518 xl('Display advance directives in the demographics page.')
521 'configuration_import_export' => array(
522 xl('Configuration Export/Import'),
523 'bool', // data type
524 '0', // default = false
525 xl('Support export/import of configuration data via the Backup page.')
528 'restrict_user_facility' => array(
529 xl('Restrict Users to Facilities'),
530 'bool', // data type
531 '0', // default
532 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
535 'set_facility_cookie' => array(
536 xl('Remember Selected Facility'),
537 'bool', // data type
538 '0', // default
539 xl('Set a facility cookie to remember the selected facility between logins.')
542 'receipts_by_provider' => array(
543 xl('Print Receipts by Provider'),
544 'bool',
545 '0', // default
546 xl('Causes Receipts to Print Encounter/Primary Provider Info')
549 'discount_by_money' => array(
550 xl('Discounts as Monetary Amounts'),
551 'bool', // data type
552 '1', // default = true
553 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
556 'gbl_visit_referral_source' => array(
557 xl('Referral Source for Encounters'),
558 'bool', // data type
559 '0', // default = false
560 xl('A referral source may be specified for each visit.')
563 'gbl_mask_patient_id' => array(
564 xl('Mask for Patient IDs'),
565 'text', // data type
566 '', // default
567 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
570 'gbl_mask_invoice_number' => array(
571 xl('Mask for Invoice Numbers'),
572 'text', // data type
573 '', // default
574 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
577 'gbl_mask_product_id' => array(
578 xl('Mask for Product IDs'),
579 'text', // data type
580 '', // default
581 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
584 'force_billing_widget_open' => array(
585 xl('Force Billing Widget Open'),
586 'bool', // data type
587 '0', // default = false
588 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
591 'activate_ccr_ccd_report' => array(
592 xl('Activate CCR/CCD Reporting'),
593 'bool', // data type
594 '1', // default = true
595 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
598 'hide_document_encryption' => array(
599 xl('Hide Encryption/Decryption Options In Document Management'),
600 'bool', // data type
601 '1', // default = true
602 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
605 'use_custom_immun_list' => array(
606 xl('Use Custom Immunization List'),
607 'bool', // data type
608 '0', // default = true
609 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
614 //Documents Tab
615 'Documents' => array(
616 'document_storage_method' => array(
617 xl('Document Storage Method'),
618 array(
619 '0' => xl('Hard Disk'),
620 '1' => xl('CouchDB')
622 '0', // default
623 xl('Option to save method of document storage.')
625 'couchdb_host' => array(
626 xl('CouchDB HostName'),
627 'text',
628 'localhost',
629 xl('CouchDB host'),
631 'couchdb_user' => array(
632 xl('CouchDB UserName'),
633 'text',
635 xl('Username to connect to CouchDB'),
637 'couchdb_pass' => array(
638 xl('CouchDB Password'),
639 'text',
641 xl('Password to connect to CouchDB'),
643 'couchdb_port' => array(
644 xl('CouchDB Port'),
645 'text',
646 '5984',
647 xl('CouchDB port'),
649 'couchdb_dbase' => array(
650 xl('CouchDB Database'),
651 'text',
653 xl('CouchDB database name'),
655 'couchdb_log' => array(
656 xl('CouchDB Log Enable'),
657 'bool',
658 '0',
659 xl('Enable log for document uploads/downloads to CouchDB'),
663 // Calendar Tab
665 'Calendar' => array(
667 'disable_calendar' => array(
668 xl('Disable Calendar'),
669 'bool', // data type
670 '0', // default
671 xl('Do not display the calendar.')
674 'schedule_start' => array(
675 xl('Calendar Starting Hour'),
676 'hour',
677 '8', // default
678 xl('Beginning hour of day for calendar events.')
681 'schedule_end' => array(
682 xl('Calendar Ending Hour'),
683 'hour',
684 '17', // default
685 xl('Ending hour of day for calendar events.')
688 'calendar_interval' => array(
689 xl('Calendar Interval'),
690 array(
691 '5' => '5',
692 '10' => '10',
693 '15' => '15',
694 '20' => '20',
695 '30' => '30',
696 '60' => '60',
698 '15', // default
699 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
702 'calendar_appt_style' => array(
703 xl('Appointment Display Style'),
704 array(
705 '1' => 'Last name',
706 '2' => 'Last name, first name',
707 '3' => 'Last name, first name (title)',
708 '4' => 'Last name, first name (title: description)',
710 '2', // default
711 xl('This determines how appointments display on the calendar.')
714 'docs_see_entire_calendar' => array(
715 xl('Providers See Entire Calendar'),
716 'bool', // data type
717 '0', // default
718 xl('Check this if you want providers to see all appointments by default and not just their own.')
721 'auto_create_new_encounters' => array(
722 xl('Auto-Create New Encounters'),
723 'bool', // data type
724 '1', // default
725 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
728 'event_color' => array(
729 xl('Appointment/Event Color'),
730 array(
731 '1' => 'Category Color Schema',
732 '2' => 'Facility Color Schema',
733 ), // data type
734 '1', // default
735 xl('This determines which color schema used for appointment')
740 // Security Tab
742 'Security' => array(
744 'timeout' => array(
745 xl('Idle Session Timeout Seconds'),
746 'num', // data type
747 '7200', // default
748 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
751 'secure_password' => array(
752 xl('Require Strong Passwords'),
753 'bool', // data type
754 '0', // default
755 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
758 'password_history' => array(
759 xl('Require Unique Passwords'),
760 'bool', // data type
761 '0', // default
762 xl('Means none of last three passwords are allowed when changing a password.')
765 'password_expiration_days' => array(
766 xl('Default Password Expiration Days'),
767 'num', // data type
768 '0', // default
769 xl('Default password expiration period in days. 0 means this feature is disabled.')
772 'password_grace_time' => array(
773 xl('Password Expiration Grace Period'),
774 'num', // data type
775 '0', // default
776 xl('Period in days where a user may login with an expired password.')
779 'is_client_ssl_enabled' => array(
780 xl('Enable Client SSL'),
781 'bool', // data type
782 '0', // default
783 xl('Enable client SSL certificate authentication.')
786 'certificate_authority_crt' => array(
787 xl('Path to CA Certificate File'),
788 'text', // data type
789 '', // default
790 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
793 'certificate_authority_key' => array(
794 xl('Path to CA Key File'),
795 'text', // data type
796 '', // default
797 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
800 'client_certificate_valid_in_days' => array(
801 xl('Client Certificate Expiration Days'),
802 'num', // data type
803 '365', // default
804 xl('Number of days that the client certificate is valid.')
807 'Emergency_Login_email_id' => array(
808 xl('Emergency Login Email Address'),
809 'text', // data type
810 '', // default
811 xl('Email address, if any, to receive emergency login user activation messages.')
816 // Notifications Tab
818 'Notifications' => array(
820 'patient_reminder_sender_name' => array(
821 xl('Patient Reminder Sender Name'),
822 'text', // data type
823 '', // default
824 xl('Name of the sender for patient reminders.')
827 'patient_reminder_sender_email' => array(
828 xl('Patient Reminder Sender Email'),
829 'text', // data type
830 '', // default
831 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.')
834 'practice_return_email_path' => array(
835 xl('Notification Email Address'),
836 'text', // data type
837 '', // default
838 xl('Email address, if any, to receive administrative notifications.')
841 'EMAIL_METHOD' => array(
842 xl('Email Transport Method'),
843 array(
844 'PHPMAIL' => 'PHPMAIL',
845 'SENDMAIL' => 'SENDMAIL',
846 'SMTP' => 'SMTP',
848 'SMTP', // default
849 xl('Method for sending outgoing email.')
852 'SMTP_HOST' => array(
853 xl('SMTP Server Hostname'),
854 'text', // data type
855 'localhost', // default
856 xl('If SMTP is used, the server`s hostname or IP address.')
859 'SMTP_PORT' => array(
860 xl('SMTP Server Port Number'),
861 'num', // data type
862 '25', // default
863 xl('If SMTP is used, the server`s TCP port number (usually 25).')
866 'SMTP_USER' => array(
867 xl('SMTP User for Authentication'),
868 'text', // data type
869 '', // default
870 xl('Must be empty if SMTP authentication is not used.')
873 'SMTP_PASS' => array(
874 xl('SMTP Password for Authentication'),
875 'text', // data type
876 '', // default
877 xl('Must be empty if SMTP authentication is not used.')
880 'EMAIL_NOTIFICATION_HOUR' => array(
881 xl('Email Notification Hours'),
882 'num', // data type
883 '50', // default
884 xl('Number of hours in advance to send email notifications.')
887 'SMS_NOTIFICATION_HOUR' => array(
888 xl('SMS Notification Hours'),
889 'num', // data type
890 '50', // default
891 xl('Number of hours in advance to send SMS notifications.')
894 'SMS_GATEWAY_USENAME' => array(
895 xl('SMS Gateway Username'),
896 'text', // data type
897 '', // default
898 xl('Username for SMS Gateway.')
901 'SMS_GATEWAY_PASSWORD' => array(
902 xl('SMS Gateway Password'),
903 'text', // data type
904 '', // default
905 xl('Password for SMS Gateway.')
908 'SMS_GATEWAY_APIKEY' => array(
909 xl('SMS Gateway API Key'),
910 'text', // data type
911 '', // default
912 xl('API key for SMS Gateway.')
915 'phone_notification_hour' => array(
916 xl('Phone Notification Hour'),
917 'num', // data type
918 '50', // default
919 xl('Number of hours in advance to send Phone notification.')
922 'phone_gateway_username' => array(
923 xl('Phone Gateway Username'),
924 'text', // data type
925 '', // default
926 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
929 'phone_gateway_password' => array(
930 xl('Phone Gateway Password'),
931 'text', // data type
932 '', // default
933 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
936 'phone_gateway_url' => array(
937 xl('Phone Gateway URL'),
938 'text', // data type
939 '', // default
940 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
945 // CDR (Clinical Decision Rules)
947 'CDR' => array(
949 'enable_cdr' => array(
950 xl('Enable Clinical Decisions Rules (CDR)'),
951 'bool', // data type
952 '1', // default
953 xl('Enable Clinical Decisions Rules (CDR)')
956 'enable_cdr_crw' => array(
957 xl('Enable Clinical Reminder Widget'),
958 'bool', // data type
959 '1', // default
960 xl('Enable Clinical Reminder Widget')
963 'enable_cdr_crp' => array(
964 xl('Enable Clinical Reminder Popup'),
965 'bool', // data type
966 '1', // default
967 xl('Enable Clinical Reminder Popup')
970 'enable_cdr_prw' => array(
971 xl('Enable Patient Reminder Widget'),
972 'bool', // data type
973 '1', // default
974 xl('Enable Patient Reminder Widget')
977 'enable_cqm' => array(
978 xl('Enable CQM Reporting'),
979 'bool', // data type
980 '1', // default
981 xl('Enable Clinical Quality Measure (CQM) Reporting')
984 'pqri_registry_name' => array(
985 xl('PQRI Registry Name'),
986 'text', // data type
987 'Model Registry', // default
988 xl('PQRI Registry Name')
991 'pqri_registry_id' => array(
992 xl('PQRI Registry ID'),
993 'text', // data type
994 '125789123', // default
995 xl('PQRI Registry ID')
998 'enable_amc' => array(
999 xl('Enable AMC Reporting'),
1000 'bool', // data type
1001 '1', // default
1002 xl('Enable Automated Measure Calculations (AMC) Reporting')
1005 'enable_amc_prompting' => array(
1006 xl('Enable AMC Prompting'),
1007 'bool', // data type
1008 '1', // default
1009 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1012 'enable_amc_tracking' => array(
1013 xl('Enable AMC Tracking'),
1014 'bool', // data type
1015 '1', // default
1016 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1019 'cdr_report_nice' => array(
1020 xl('CDR Reports Processing Priority'),
1021 array(
1022 '' => xl('Default Priority'),
1023 '5' => xl('Moderate Priority'),
1024 '10' => xl('Moderate/Low Priority'),
1025 '15' => xl('Low Priority'),
1026 '20' => xl('Lowest Priority')
1028 '', // default
1029 xl('Set processing priority for CDR engine based reports.')
1032 'pat_rem_clin_nice' => array(
1033 xl('Patient Reminder Creation Processing Priority'),
1034 array(
1035 '' => xl('Default Priority'),
1036 '5' => xl('Moderate Priority'),
1037 '10' => xl('Moderate/Low Priority'),
1038 '15' => xl('Low Priority'),
1039 '20' => xl('Lowest Priority')
1041 '', // default
1042 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1047 // Logging
1049 'Logging' => array(
1051 'enable_auditlog' => array(
1052 xl('Enable Audit Logging'),
1053 'bool', // data type
1054 '1', // default
1055 xl('Enable Audit Logging')
1058 'audit_events_patient-record' => array(
1059 xl('Audit Logging Patient Record'),
1060 'bool', // data type
1061 '1', // default
1062 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1065 'audit_events_scheduling' => array(
1066 xl('Audit Logging Scheduling'),
1067 'bool', // data type
1068 '1', // default
1069 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1072 'audit_events_order' => array(
1073 xl('Audit Logging Order'),
1074 'bool', // data type
1075 '1', // default
1076 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1079 'audit_events_security-administration' => array(
1080 xl('Audit Logging Security Administration'),
1081 'bool', // data type
1082 '1', // default
1083 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1086 'audit_events_backup' => array(
1087 xl('Audit Logging Backups'),
1088 'bool', // data type
1089 '1', // default
1090 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1093 'audit_events_other' => array(
1094 xl('Audit Logging Miscellaneous'),
1095 'bool', // data type
1096 '1', // default
1097 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1100 'audit_events_query' => array(
1101 xl('Audit Logging SELECT Query'),
1102 'bool', // data type
1103 '0', // default
1104 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1107 'audit_events_cdr' => array(
1108 xl('Audit CDR Engine Queries'),
1109 'bool', // data type
1110 '0', // default
1111 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1114 'enable_atna_audit' => array(
1115 xl('Enable ATNA Auditing'),
1116 'bool', // data type
1117 '0', // default
1118 xl('Enable Audit Trail and Node Authentication (ATNA).')
1121 'atna_audit_host' => array(
1122 xl('ATNA audit host'),
1123 'text', // data type
1124 '', // default
1125 xl('The hostname of the ATNA audit repository machine.')
1128 'atna_audit_port' => array(
1129 xl('ATNA audit port'),
1130 'text', // data type
1131 '6514', // default
1132 xl('Listening port of the RFC 5425 TLS syslog server.')
1135 'atna_audit_localcert' => array(
1136 xl('ATNA audit local certificate'),
1137 'text', // data type
1138 '', // default
1139 xl('Certificate to send to RFC 5425 TLS syslog server.')
1142 'atna_audit_cacert' => array(
1143 xl('ATNA audit CA certificate'),
1144 'text', // data type
1145 '', // default
1146 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1151 // Miscellaneous Tab
1153 'Miscellaneous' => array(
1155 'mysql_bin_dir' => array(
1156 xl('Path to MySQL Binaries'),
1157 'text', // data type
1158 $mysql_bin_dir, // default
1159 xl('Full path to directory containing MySQL executables.')
1162 'perl_bin_dir' => array(
1163 xl('Path to Perl Binaries'),
1164 'text', // data type
1165 $perl_bin_dir, // default
1166 xl('Full path to directory containing Perl executables.')
1169 'temporary_files_dir' => array(
1170 xl('Path to Temporary Files'),
1171 'text', // data type
1172 $temporary_files_dir, // default
1173 xl('Full path to directory used for temporary files.')
1176 'backup_log_dir' => array(
1177 xl('Path for Event Log Backup'),
1178 'text', // data type
1179 $backup_log_dir, // default
1180 xl('Full path to directory for event log backup.')
1183 'state_data_type' => array(
1184 xl('State Data Type'),
1185 array(
1186 '2' => xl('Text field'),
1187 '1' => xl('Single-selection list'),
1188 '26' => xl('Single-selection list with ability to add to the list'),
1190 '26', // default
1191 xl('Field type to use for employer or subscriber state in demographics.')
1194 'state_list' => array(
1195 xl('State list'),
1196 'text', // data type
1197 'state', // default
1198 xl('List used by above State Data Type option.')
1201 'state_custom_addlist_widget' => array(
1202 xl('State List Widget Custom Fields'),
1203 'bool', // data type
1204 '1', // default
1205 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1208 'country_data_type' => array(
1209 xl('Country Data Type'),
1210 array(
1211 '2' => xl('Text field'),
1212 '1' => xl('Single-selection list'),
1213 '26' => xl('Single-selection list with ability to add to the list'),
1215 '26', // default
1216 xl('Field type to use for employer or subscriber country in demographics.')
1219 'country_list' => array(
1220 xl('Country list'),
1221 'text', // data type
1222 'country', // default
1223 xl('List used by above Country Data Type option.')
1226 'print_command' => array(
1227 xl('Print Command'),
1228 'text', // data type
1229 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1230 xl('Shell command for printing from the server.')
1233 'default_chief_complaint' => array(
1234 xl('Default Reason for Visit'),
1235 'text', // data type
1237 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1240 'default_new_encounter_form' => array(
1241 xl('Default Encounter Form ID'),
1242 'text', // data type
1244 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1247 'patient_id_category_name' => array(
1248 xl('Patient ID Category Name'),
1249 'text', // data type
1250 'Patient ID card', // default
1251 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1254 'patient_photo_category_name' => array(
1255 xl('Patient Photo Category Name'),
1256 'text', // data type
1257 'Patient Photograph', // default
1258 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1261 'MedicareReferrerIsRenderer' => array(
1262 xl('Medicare Referrer Is Renderer'),
1263 'bool', // data type
1264 '0', // default = true
1265 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1268 'post_to_date_benchmark' => array(
1269 xl('Financial Close Date (yyyy-mm-dd)'),
1270 'text', // data type
1271 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1272 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1275 'enable_hylafax' => array(
1276 xl('Enable Hylafax Support'),
1277 'bool', // data type
1278 '0', // default
1279 xl('Enable Hylafax Support')
1282 'hylafax_server' => array(
1283 xl('Hylafax Server'),
1284 'text', // data type
1285 'localhost', // default
1286 xl('Hylafax server hostname.')
1289 'hylafax_basedir' => array(
1290 xl('Hylafax Directory'),
1291 'text', // data type
1292 '/var/spool/fax', // default
1293 xl('Location where Hylafax stores faxes.')
1296 'hylafax_enscript' => array(
1297 xl('Hylafax Enscript Command'),
1298 'text', // data type
1299 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1300 xl('Enscript command used by Hylafax.')
1303 'enable_scanner' => array(
1304 xl('Enable Scanner Support'),
1305 'bool', // data type
1306 '0', // default
1307 xl('Enable Scanner Support')
1310 'scanner_output_directory' => array(
1311 xl('Scanner Directory'),
1312 'text', // data type
1313 '/mnt/scan_docs', // default
1314 xl('Location where scans are stored.')
1319 // Portal Tab
1321 'Portal' => array(
1323 'portal_onsite_enable' => array(
1324 xl('Enable Onsite Patient Portal'),
1325 'bool', // data type
1326 '0',
1327 xl('Enable Onsite Patient Portal.')
1330 'portal_onsite_address' => array(
1331 xl('Onsite Patient Portal Site Address'),
1332 'text', // data type
1333 'https://your_web_site.com/openemr/patients',
1334 xl('Website link for the Onsite Patient Portal.')
1337 'portal_offsite_enable' => array(
1338 xl('Enable Offsite Patient Portal'),
1339 'bool', // data type
1340 '0',
1341 xl('Enable Offsite Patient Portal.')
1344 'portal_offsite_username' => array(
1345 xl('Offsite Patient Portal Username'),
1346 'text', // data type
1348 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1351 'portal_offsite_password' => array(
1352 xl('Offsite Patient Portal Password'),
1353 'pwd', // data type
1355 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1358 'portal_offsite_address' => array(
1359 xl('Offsite Patient Portal Site Address'),
1360 'text', // data type
1361 'https://mydocsportal.com/provider.php',
1362 xl('Offsite Https link for the Patient Portal.')
1364 'portal_offsite_address_patient_link' => array(
1365 xl('Offsite Patient Portal Site Address (Patient Link)'),
1366 'text', // data type
1367 'https://mydocsportal.com',
1368 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1373 // Connectors Tab
1375 'Connectors' => array(
1377 'lab_exchange_enable' => array(
1378 xl('Enable Lab Exchange'),
1379 'bool', // data type
1380 '0',
1381 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1384 'lab_exchange_siteid' => array(
1385 xl('Lab Exchange Site ID'),
1386 'text', // data type
1387 '3',
1388 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1391 'lab_exchange_token' => array(
1392 xl('Lab Exchange Token ID'),
1393 'text', // data type
1394 '12345',
1395 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1398 'lab_exchange_endpoint' => array(
1399 xl('Lab Exchange Site Address'),
1400 'text', // data type
1401 'https://openemrsupport.com:29443/len/api',
1402 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1405 'erx_enable' => array(
1406 xl('Enable NewCrop eRx Service'),
1407 'bool', // data type
1408 '0',
1409 xl('Enable ZMG, LLC eRx service')
1412 'erx_path_production' => array(
1413 xl('NewCrop eRx Site Address'),
1414 'text', // data type
1415 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1416 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1419 'erx_path_soap_production' => array(
1420 xl('NewCrop eRx Web Service Address'),
1421 'text', // data type
1422 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1423 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1426 'partner_name_production' => array(
1427 xl('NewCrop eRx Partner Name'),
1428 'text', // data type
1430 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1433 'erx_name_production' => array(
1434 xl('NewCrop eRx Name'),
1435 'text', // data type
1437 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1440 'erx_password_production' => array(
1441 xl('NewCrop eRx Password'),
1442 'pass', // data type
1444 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1447 'erx_upload_active' => array(
1448 xl('Only upload active prescriptions'),
1449 'bool', // data type
1450 '0',
1451 xl('Only upload active prescriptions')
1454 'erx_import_status_message' => array(
1455 xl('Enable import status message for NewCrop erx'),
1456 'bool', // data type
1457 '0',
1458 xl('Enable import status message for NewCrop erx')
1461 'erx_medication_display' => array(
1462 xl('Do not display Medications uploaded to NewCrop'),
1463 'bool', // data type
1464 '0',
1465 xl('Do not display Medications uploaded to NewCrop')
1468 'erx_allergy_display' => array(
1469 xl('Do not display Allergy uploaded to NewCrop'),
1470 'bool', // data type
1471 '0',
1472 xl('Do not display Allergy uploaded to NewCrop')
1475 'erx_default_patient_country' => array(
1476 xl('Default Patient Country'),
1477 array(
1478 '' => '',
1479 'US' => 'USA',
1480 'CA' => 'Canada',
1481 'MX' => 'Mexico'
1484 xl('Default Patient Country'),
1488 'Rx' => array(
1489 'rx_enable_DEA' => array(
1490 xl('Rx Enable DEA #'),
1491 'bool', // data type
1492 '1',
1493 xl('Rx Enable DEA #')
1495 'rx_show_DEA' => array(
1496 xl('Rx Show DEA #'),
1497 'bool', // data type
1498 '0',
1499 xl('Rx Show DEA #')
1501 'rx_enable_NPI' => array(
1502 xl('Rx Enable NPI'),
1503 'bool', // data type
1504 '0',
1505 xl('Rx Enable NPI')
1507 'rx_show_NPI' => array(
1508 xl('Rx Show NPI'),
1509 'bool', // data type
1510 '0',
1511 xl('Rx Show NPI')
1513 'rx_enable_SLN' => array(
1514 xl('Rx Enable State Lic. #'),
1515 'bool', // data type
1516 '0',
1517 xl('Rx Enable State Lic. #')
1519 'rx_show_SLN' => array(
1520 xl('Rx Show State Lic. #'),
1521 'bool', // data type
1522 '0',
1523 xl('Rx Show State Lic. #')
1525 'rx_paper_size' => array(
1526 xl('Rx Paper Size'), // descriptive name
1527 array(
1528 'LETTER' => xl('Letter Paper Size'),
1529 'LEGAL' => xl('Legal Paper Size'),
1530 'FOLIO' => xl('Folio Paper Size'),
1531 'EXECUTIVE' => xl('Executive Paper Size'),
1532 '4A0' => ('4A0' . " " . xl('Paper Size')),
1533 '2A0' => ('2A0' . " " . xl('Paper Size')),
1534 'A0' => ('A0' . " " . xl('Paper Size')),
1535 'A1' => ('A1' . " " . xl('Paper Size')),
1536 'A2' => ('A2' . " " . xl('Paper Size')),
1537 'A3' => ('A3' . " " . xl('Paper Size')),
1538 'A4' => ('A4' . " " . xl('Paper Size')),
1539 'A5' => ('A5' . " " . xl('Paper Size')),
1540 'A6' => ('A6' . " " . xl('Paper Size')),
1541 'A7' => ('A7' . " " . xl('Paper Size')),
1542 'A8' => ('A8' . " " . xl('Paper Size')),
1543 'A9' => ('A9' . " " . xl('Paper Size')),
1544 'A10' => ('A10' . " " . xl('Paper Size')),
1545 'B0' => ('B0' . " " . xl('Paper Size')),
1546 'B1' => ('B1' . " " . xl('Paper Size')),
1547 'B2' => ('B2' . " " . xl('Paper Size')),
1548 'B3' => ('B3' . " " . xl('Paper Size')),
1549 'B4' => ('B4' . " " . xl('Paper Size')),
1550 'B5' => ('B5' . " " . xl('Paper Size')),
1551 'B6' => ('B6' . " " . xl('Paper Size')),
1552 'B7' => ('B7' . " " . xl('Paper Size')),
1553 'B8' => ('B8' . " " . xl('Paper Size')),
1554 'B9' => ('B9' . " " . xl('Paper Size')),
1555 'B10' => ('B10' . " " . xl('Paper Size')),
1556 'C0' => ('C0' . " " . xl('Paper Size')),
1557 'C1' => ('C1' . " " . xl('Paper Size')),
1558 'C2' => ('C2' . " " . xl('Paper Size')),
1559 'C3' => ('C3' . " " . xl('Paper Size')),
1560 'C4' => ('C4' . " " . xl('Paper Size')),
1561 'C5' => ('C5' . " " . xl('Paper Size')),
1562 'C6' => ('C6' . " " . xl('Paper Size')),
1563 'C7' => ('C7' . " " . xl('Paper Size')),
1564 'C8' => ('C8' . " " . xl('Paper Size')),
1565 'C9' => ('C9' . " " . xl('Paper Size')),
1566 'C10' => ('C10' . " " . xl('Paper Size')),
1567 'RA0' => ('RA0' . " " . xl('Paper Size')),
1568 'RA1' => ('RA1' . " " . xl('Paper Size')),
1569 'RA2' => ('RA2' . " " . xl('Paper Size')),
1570 'RA3' => ('RA3' . " " . xl('Paper Size')),
1571 'RA4' => ('RA4' . " " . xl('Paper Size')),
1572 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1573 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1574 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1575 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1576 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1578 'LETTER', // default = tree menu
1579 xl('Rx Paper Size')
1581 'rx_left_margin' => array(
1582 xl('Rx Left Margin (px)'),
1583 'num',
1584 '30',
1585 xl('Rx Left Margin (px)')
1587 'rx_right_margin' => array(
1588 xl('Rx Right Margin (px)'),
1589 'num',
1590 '30',
1591 xl('Rx Right Margin (px)')
1593 'rx_top_margin' => array(
1594 xl('Rx Top Margin (px)'),
1595 'num',
1596 '72',
1597 xl('Rx Top Margin (px)')
1599 'rx_bottom_margin' => array(
1600 xl('Rx Bottom Margin (px)'),
1601 'num',
1602 '30',
1603 xl('Rx Bottom Margin (px)')