Edihistory module added.
[openemr.git] / library / globals.inc.php
blobc6aac1f737d392f6034e91fa6b4adea6cf701132
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')
216 // EDI history 2012-09-13
217 'enable_edihistory_in_left_menu' => array(
218 xl('Enable EDI History In Left Menu'),
219 'bool', // data type
220 '1', // default = true
221 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
224 'online_support_link' => array(
225 xl('Online Support Link'),
226 'text', // data type
227 'http://open-emr.org/',
228 xl('URL for OpenEMR support.')
231 'encounter_page_size' => array(
232 xl('Encounter Page Size'),
233 array(
234 '0' => xl('Show All'),
235 '5' => '5',
236 '10' => '10',
237 '15' => '15',
238 '20' => '20',
239 '25' => '25',
240 '50' => '50',
242 '20',
243 xl('Number of encounters to display per page.')
246 'gbl_pt_list_page_size' => array(
247 xl('Patient List Page Size'),
248 array(
249 '10' => '10',
250 '25' => '25',
251 '50' => '50',
252 '100' => '100',
254 '10',
255 xl('Number of patients to display per page in the patient list.')
258 'gbl_pt_list_new_window' => array(
259 xl('Patient List New Window'),
260 'bool', // data type
261 '0', // default = false
262 xl('Default state of New Window checkbox in the patient list.')
267 // Locale Tab
269 'Locale' => array(
271 'language_default' => array(
272 xl('Default Language'),
273 'lang', // data type
274 'English (Standard)', // default = english
275 xl('Default language if no other is allowed or chosen.')
278 'language_menu_showall' => array(
279 xl('All Languages Allowed'),
280 'bool', // data type
281 '1', // default = true
282 xl('Allow all available languages as choices on menu at login.')
285 'language_menu_other' => array(
286 xl('Allowed Languages'),
287 'm_lang', // data type
288 '', // default = none
289 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
292 'allow_debug_language' => array(
293 xl('Allow Debugging Language'),
294 'bool', // data type
295 '1', // default = true during development and false for production releases
296 xl('This will allow selection of the debugging (\'dummy\') language.')
299 'translate_layout' => array(
300 xl('Translate Layouts'),
301 'bool', // data type
302 '1', // default = true
303 xl('Is text from form layouts to be translated?')
306 'translate_lists' => array(
307 xl('Translate Lists'),
308 'bool', // data type
309 '1', // default = true
310 xl('Is text from lists to be translated?')
313 'translate_gacl_groups' => array(
314 xl('Translate Access Control Groups'),
315 'bool', // data type
316 '1', // default = true
317 xl('Are access control group names to be translated?')
320 'translate_form_titles' => array(
321 xl('Translate Patient Note Titles'),
322 'bool', // data type
323 '1', // default = true
324 xl('Are patient note titles to be translated?')
327 'translate_document_categories' => array(
328 xl('Translate Document Categories'),
329 'bool', // data type
330 '1', // default = true
331 xl('Are document category names to be translated?')
334 'translate_appt_categories' => array(
335 xl('Translate Appointment Categories'),
336 'bool', // data type
337 '1', // default = true
338 xl('Are appointment category names to be translated?')
341 'units_of_measurement' => array(
342 xl('Units for Visit Forms'),
343 array(
344 '1' => xl('Show both US and metric (main unit is US)'),
345 '2' => xl('Show both US and metric (main unit is metric)'),
346 '3' => xl('Show US only'),
347 '4' => xl('Show metric only'),
349 '1', // default = Both/US
350 xl('Applies to the Vitals form and Growth Chart')
353 'disable_deprecated_metrics_form' => array(
354 xl('Disable Old Metric Vitals Form'),
355 'bool', // data type
356 '1', // default = true
357 xl('This was the older metric-only Vitals form, now deprecated.')
360 'phone_country_code' => array(
361 xl('Telephone Country Code'),
362 'num',
363 '1', // default = North America
364 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
367 'date_display_format' => array(
368 xl('Date Display Format'),
369 array(
370 '0' => xl('YYYY-MM-DD'),
371 '1' => xl('MM/DD/YYYY'),
372 '2' => xl('DD/MM/YYYY'),
374 '0',
375 xl('Format used to display most dates.')
378 'time_display_format' => array(
379 xl('Time Display Format'),
380 array(
381 '0' => xl('24 hr'),
382 '1' => xl('12 hr'),
384 '0',
385 xl('Format used to display most times.')
388 'currency_decimals' => array(
389 xl('Currency Decimal Places'),
390 array(
391 '0' => xl('0'),
392 '1' => xl('1'),
393 '2' => xl('2'),
395 '2',
396 xl('Number of digits after decimal point for currency, usually 0 or 2.')
399 'currency_dec_point' => array(
400 xl('Currency Decimal Point Symbol'),
401 array(
402 '.' => xl('Period'),
403 ',' => xl('Comma'),
405 '.',
406 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
409 'currency_thousands_sep' => array(
410 xl('Currency Thousands Separator'),
411 array(
412 ',' => xl('Comma'),
413 '.' => xl('Period'),
414 ' ' => xl('Space'),
415 '' => xl('None'),
417 ',',
418 xl('Symbol used to separate thousands for currency.')
421 'gbl_currency_symbol' => array(
422 xl('Currency Designator'),
423 'text', // data type
424 '$', // default
425 xl('Code or symbol to indicate currency')
430 // Features Tab
432 'Features' => array(
434 'specific_application' => array(
435 xl('Specific Application'),
436 array(
437 '0' => xl('None'),
438 '1' => xl('Athletic team'),
439 '2' => xl('IPPF'),
440 '3' => xl('Weight loss clinic'),
442 '0', // default
443 xl('Indicator for specialized usage')
446 'inhouse_pharmacy' => array(
447 xl('Drugs and Products'),
448 array(
449 '0' => xl('Do not inventory and sell any products'),
450 '1' => xl('Inventory and sell drugs only'),
451 '2' => xl('Inventory and sell both drugs and non-drug products'),
452 '3' => xl('Products but no prescription drugs and no templates'),
454 '0', // default
455 xl('Option to support inventory and sales of products')
458 'disable_chart_tracker' => array(
459 xl('Disable Chart Tracker'),
460 'bool', // data type
461 '0', // default = false
462 xl('Removes the Chart Tracker feature')
465 'disable_phpmyadmin_link' => array(
466 xl('Disable phpMyAdmin'),
467 'bool', // data type
468 '0', // default = false
469 xl('Removes support for phpMyAdmin')
472 'disable_immunizations' => array(
473 xl('Disable Immunizations'),
474 'bool', // data type
475 '0', // default = false
476 xl('Removes support for immunizations')
479 'disable_prescriptions' => array(
480 xl('Disable Prescriptions'),
481 'bool', // data type
482 '0', // default = false
483 xl('Removes support for prescriptions')
486 'omit_employers' => array(
487 xl('Omit Employers'),
488 'bool', // data type
489 '0', // default = false
490 xl('Omit employer information in patient demographics')
493 'select_multi_providers' => array(
494 xl('Support Multi-Provider Events'),
495 'bool', // data type
496 '0', // default = false
497 xl('Support calendar events that apply to multiple providers')
500 'disable_non_default_groups' => array(
501 xl('Disable User Groups'),
502 'bool', // data type
503 '1', // default = true
504 xl('Normally this should be checked. Not related to access control.')
507 'ignore_pnotes_authorization' => array(
508 xl('Skip Authorization of Patient Notes'),
509 'bool', // data type
510 '1', // default = true
511 xl('Do not require patient notes to be authorized')
514 'support_encounter_claims' => array(
515 xl('Allow Encounter Claims'),
516 'bool', // data type
517 '0', // default = false
518 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
521 'advance_directives_warning' => array(
522 xl('Advance Directives Warning'),
523 'bool', // data type
524 '0', // default = false
525 xl('Display advance directives in the demographics page.')
528 'configuration_import_export' => array(
529 xl('Configuration Export/Import'),
530 'bool', // data type
531 '0', // default = false
532 xl('Support export/import of configuration data via the Backup page.')
535 'restrict_user_facility' => array(
536 xl('Restrict Users to Facilities'),
537 'bool', // data type
538 '0', // default
539 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
542 'set_facility_cookie' => array(
543 xl('Remember Selected Facility'),
544 'bool', // data type
545 '0', // default
546 xl('Set a facility cookie to remember the selected facility between logins.')
549 'receipts_by_provider' => array(
550 xl('Print Receipts by Provider'),
551 'bool',
552 '0', // default
553 xl('Causes Receipts to Print Encounter/Primary Provider Info')
556 'discount_by_money' => array(
557 xl('Discounts as Monetary Amounts'),
558 'bool', // data type
559 '1', // default = true
560 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
563 'gbl_visit_referral_source' => array(
564 xl('Referral Source for Encounters'),
565 'bool', // data type
566 '0', // default = false
567 xl('A referral source may be specified for each visit.')
570 'gbl_mask_patient_id' => array(
571 xl('Mask for Patient IDs'),
572 'text', // data type
573 '', // default
574 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
577 'gbl_mask_invoice_number' => array(
578 xl('Mask for Invoice Numbers'),
579 'text', // data type
580 '', // default
581 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
584 'gbl_mask_product_id' => array(
585 xl('Mask for Product IDs'),
586 'text', // data type
587 '', // default
588 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
591 'force_billing_widget_open' => array(
592 xl('Force Billing Widget Open'),
593 'bool', // data type
594 '0', // default = false
595 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
598 'activate_ccr_ccd_report' => array(
599 xl('Activate CCR/CCD Reporting'),
600 'bool', // data type
601 '1', // default = true
602 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
605 'hide_document_encryption' => array(
606 xl('Hide Encryption/Decryption Options In Document Management'),
607 'bool', // data type
608 '1', // default = true
609 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
612 'use_custom_immun_list' => array(
613 xl('Use Custom Immunization List'),
614 'bool', // data type
615 '0', // default = true
616 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
621 //Documents Tab
622 'Documents' => array(
623 'document_storage_method' => array(
624 xl('Document Storage Method'),
625 array(
626 '0' => xl('Hard Disk'),
627 '1' => xl('CouchDB')
629 '0', // default
630 xl('Option to save method of document storage.')
632 'couchdb_host' => array(
633 xl('CouchDB HostName'),
634 'text',
635 'localhost',
636 xl('CouchDB host'),
638 'couchdb_user' => array(
639 xl('CouchDB UserName'),
640 'text',
642 xl('Username to connect to CouchDB'),
644 'couchdb_pass' => array(
645 xl('CouchDB Password'),
646 'text',
648 xl('Password to connect to CouchDB'),
650 'couchdb_port' => array(
651 xl('CouchDB Port'),
652 'text',
653 '5984',
654 xl('CouchDB port'),
656 'couchdb_dbase' => array(
657 xl('CouchDB Database'),
658 'text',
660 xl('CouchDB database name'),
662 'couchdb_log' => array(
663 xl('CouchDB Log Enable'),
664 'bool',
665 '0',
666 xl('Enable log for document uploads/downloads to CouchDB'),
670 // Calendar Tab
672 'Calendar' => array(
674 'disable_calendar' => array(
675 xl('Disable Calendar'),
676 'bool', // data type
677 '0', // default
678 xl('Do not display the calendar.')
681 'schedule_start' => array(
682 xl('Calendar Starting Hour'),
683 'hour',
684 '8', // default
685 xl('Beginning hour of day for calendar events.')
688 'schedule_end' => array(
689 xl('Calendar Ending Hour'),
690 'hour',
691 '17', // default
692 xl('Ending hour of day for calendar events.')
695 'calendar_interval' => array(
696 xl('Calendar Interval'),
697 array(
698 '5' => '5',
699 '10' => '10',
700 '15' => '15',
701 '20' => '20',
702 '30' => '30',
703 '60' => '60',
705 '15', // default
706 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
709 'calendar_appt_style' => array(
710 xl('Appointment Display Style'),
711 array(
712 '1' => 'Last name',
713 '2' => 'Last name, first name',
714 '3' => 'Last name, first name (title)',
715 '4' => 'Last name, first name (title: description)',
717 '2', // default
718 xl('This determines how appointments display on the calendar.')
721 'docs_see_entire_calendar' => array(
722 xl('Providers See Entire Calendar'),
723 'bool', // data type
724 '0', // default
725 xl('Check this if you want providers to see all appointments by default and not just their own.')
728 'auto_create_new_encounters' => array(
729 xl('Auto-Create New Encounters'),
730 'bool', // data type
731 '1', // default
732 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
735 'event_color' => array(
736 xl('Appointment/Event Color'),
737 array(
738 '1' => 'Category Color Schema',
739 '2' => 'Facility Color Schema',
740 ), // data type
741 '1', // default
742 xl('This determines which color schema used for appointment')
747 // Security Tab
749 'Security' => array(
751 'timeout' => array(
752 xl('Idle Session Timeout Seconds'),
753 'num', // data type
754 '7200', // default
755 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
758 'secure_password' => array(
759 xl('Require Strong Passwords'),
760 'bool', // data type
761 '0', // default
762 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
765 'password_history' => array(
766 xl('Require Unique Passwords'),
767 'bool', // data type
768 '0', // default
769 xl('Means none of last three passwords are allowed when changing a password.')
772 'password_expiration_days' => array(
773 xl('Default Password Expiration Days'),
774 'num', // data type
775 '0', // default
776 xl('Default password expiration period in days. 0 means this feature is disabled.')
779 'password_grace_time' => array(
780 xl('Password Expiration Grace Period'),
781 'num', // data type
782 '0', // default
783 xl('Period in days where a user may login with an expired password.')
786 'is_client_ssl_enabled' => array(
787 xl('Enable Client SSL'),
788 'bool', // data type
789 '0', // default
790 xl('Enable client SSL certificate authentication.')
793 'certificate_authority_crt' => array(
794 xl('Path to CA Certificate File'),
795 'text', // data type
796 '', // default
797 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
800 'certificate_authority_key' => array(
801 xl('Path to CA Key File'),
802 'text', // data type
803 '', // default
804 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
807 'client_certificate_valid_in_days' => array(
808 xl('Client Certificate Expiration Days'),
809 'num', // data type
810 '365', // default
811 xl('Number of days that the client certificate is valid.')
814 'Emergency_Login_email_id' => array(
815 xl('Emergency Login Email Address'),
816 'text', // data type
817 '', // default
818 xl('Email address, if any, to receive emergency login user activation messages.')
823 // Notifications Tab
825 'Notifications' => array(
827 'patient_reminder_sender_name' => array(
828 xl('Patient Reminder Sender Name'),
829 'text', // data type
830 '', // default
831 xl('Name of the sender for patient reminders.')
834 'patient_reminder_sender_email' => array(
835 xl('Patient Reminder Sender Email'),
836 'text', // data type
837 '', // default
838 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.')
841 'practice_return_email_path' => array(
842 xl('Notification Email Address'),
843 'text', // data type
844 '', // default
845 xl('Email address, if any, to receive administrative notifications.')
848 'EMAIL_METHOD' => array(
849 xl('Email Transport Method'),
850 array(
851 'PHPMAIL' => 'PHPMAIL',
852 'SENDMAIL' => 'SENDMAIL',
853 'SMTP' => 'SMTP',
855 'SMTP', // default
856 xl('Method for sending outgoing email.')
859 'SMTP_HOST' => array(
860 xl('SMTP Server Hostname'),
861 'text', // data type
862 'localhost', // default
863 xl('If SMTP is used, the server`s hostname or IP address.')
866 'SMTP_PORT' => array(
867 xl('SMTP Server Port Number'),
868 'num', // data type
869 '25', // default
870 xl('If SMTP is used, the server`s TCP port number (usually 25).')
873 'SMTP_USER' => array(
874 xl('SMTP User for Authentication'),
875 'text', // data type
876 '', // default
877 xl('Must be empty if SMTP authentication is not used.')
880 'SMTP_PASS' => array(
881 xl('SMTP Password for Authentication'),
882 'text', // data type
883 '', // default
884 xl('Must be empty if SMTP authentication is not used.')
887 'EMAIL_NOTIFICATION_HOUR' => array(
888 xl('Email Notification Hours'),
889 'num', // data type
890 '50', // default
891 xl('Number of hours in advance to send email notifications.')
894 'SMS_NOTIFICATION_HOUR' => array(
895 xl('SMS Notification Hours'),
896 'num', // data type
897 '50', // default
898 xl('Number of hours in advance to send SMS notifications.')
901 'SMS_GATEWAY_USENAME' => array(
902 xl('SMS Gateway Username'),
903 'text', // data type
904 '', // default
905 xl('Username for SMS Gateway.')
908 'SMS_GATEWAY_PASSWORD' => array(
909 xl('SMS Gateway Password'),
910 'text', // data type
911 '', // default
912 xl('Password for SMS Gateway.')
915 'SMS_GATEWAY_APIKEY' => array(
916 xl('SMS Gateway API Key'),
917 'text', // data type
918 '', // default
919 xl('API key for SMS Gateway.')
922 'phone_notification_hour' => array(
923 xl('Phone Notification Hour'),
924 'num', // data type
925 '50', // default
926 xl('Number of hours in advance to send Phone notification.')
929 'phone_gateway_username' => array(
930 xl('Phone Gateway Username'),
931 'text', // data type
932 '', // default
933 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
936 'phone_gateway_password' => array(
937 xl('Phone Gateway Password'),
938 'text', // data type
939 '', // default
940 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
943 'phone_gateway_url' => array(
944 xl('Phone Gateway URL'),
945 'text', // data type
946 '', // default
947 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
952 // CDR (Clinical Decision Rules)
954 'CDR' => array(
956 'enable_cdr' => array(
957 xl('Enable Clinical Decisions Rules (CDR)'),
958 'bool', // data type
959 '1', // default
960 xl('Enable Clinical Decisions Rules (CDR)')
963 'enable_cdr_crw' => array(
964 xl('Enable Clinical Reminder Widget'),
965 'bool', // data type
966 '1', // default
967 xl('Enable Clinical Reminder Widget')
970 'enable_cdr_crp' => array(
971 xl('Enable Clinical Reminder Popup'),
972 'bool', // data type
973 '1', // default
974 xl('Enable Clinical Reminder Popup')
977 'enable_cdr_prw' => array(
978 xl('Enable Patient Reminder Widget'),
979 'bool', // data type
980 '1', // default
981 xl('Enable Patient Reminder Widget')
984 'enable_cqm' => array(
985 xl('Enable CQM Reporting'),
986 'bool', // data type
987 '1', // default
988 xl('Enable Clinical Quality Measure (CQM) Reporting')
991 'pqri_registry_name' => array(
992 xl('PQRI Registry Name'),
993 'text', // data type
994 'Model Registry', // default
995 xl('PQRI Registry Name')
998 'pqri_registry_id' => array(
999 xl('PQRI Registry ID'),
1000 'text', // data type
1001 '125789123', // default
1002 xl('PQRI Registry ID')
1005 'enable_amc' => array(
1006 xl('Enable AMC Reporting'),
1007 'bool', // data type
1008 '1', // default
1009 xl('Enable Automated Measure Calculations (AMC) Reporting')
1012 'enable_amc_prompting' => array(
1013 xl('Enable AMC Prompting'),
1014 'bool', // data type
1015 '1', // default
1016 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1019 'enable_amc_tracking' => array(
1020 xl('Enable AMC Tracking'),
1021 'bool', // data type
1022 '1', // default
1023 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1026 'cdr_report_nice' => array(
1027 xl('CDR Reports Processing Priority'),
1028 array(
1029 '' => xl('Default Priority'),
1030 '5' => xl('Moderate Priority'),
1031 '10' => xl('Moderate/Low Priority'),
1032 '15' => xl('Low Priority'),
1033 '20' => xl('Lowest Priority')
1035 '', // default
1036 xl('Set processing priority for CDR engine based reports.')
1039 'pat_rem_clin_nice' => array(
1040 xl('Patient Reminder Creation Processing Priority'),
1041 array(
1042 '' => xl('Default Priority'),
1043 '5' => xl('Moderate Priority'),
1044 '10' => xl('Moderate/Low Priority'),
1045 '15' => xl('Low Priority'),
1046 '20' => xl('Lowest Priority')
1048 '', // default
1049 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1054 // Logging
1056 'Logging' => array(
1058 'enable_auditlog' => array(
1059 xl('Enable Audit Logging'),
1060 'bool', // data type
1061 '1', // default
1062 xl('Enable Audit Logging')
1065 'audit_events_patient-record' => array(
1066 xl('Audit Logging Patient Record'),
1067 'bool', // data type
1068 '1', // default
1069 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1072 'audit_events_scheduling' => array(
1073 xl('Audit Logging Scheduling'),
1074 'bool', // data type
1075 '1', // default
1076 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1079 'audit_events_order' => array(
1080 xl('Audit Logging Order'),
1081 'bool', // data type
1082 '1', // default
1083 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1086 'audit_events_security-administration' => array(
1087 xl('Audit Logging Security Administration'),
1088 'bool', // data type
1089 '1', // default
1090 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1093 'audit_events_backup' => array(
1094 xl('Audit Logging Backups'),
1095 'bool', // data type
1096 '1', // default
1097 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1100 'audit_events_other' => array(
1101 xl('Audit Logging Miscellaneous'),
1102 'bool', // data type
1103 '1', // default
1104 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1107 'audit_events_query' => array(
1108 xl('Audit Logging SELECT Query'),
1109 'bool', // data type
1110 '0', // default
1111 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1114 'audit_events_cdr' => array(
1115 xl('Audit CDR Engine Queries'),
1116 'bool', // data type
1117 '0', // default
1118 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1121 'enable_atna_audit' => array(
1122 xl('Enable ATNA Auditing'),
1123 'bool', // data type
1124 '0', // default
1125 xl('Enable Audit Trail and Node Authentication (ATNA).')
1128 'atna_audit_host' => array(
1129 xl('ATNA audit host'),
1130 'text', // data type
1131 '', // default
1132 xl('The hostname of the ATNA audit repository machine.')
1135 'atna_audit_port' => array(
1136 xl('ATNA audit port'),
1137 'text', // data type
1138 '6514', // default
1139 xl('Listening port of the RFC 5425 TLS syslog server.')
1142 'atna_audit_localcert' => array(
1143 xl('ATNA audit local certificate'),
1144 'text', // data type
1145 '', // default
1146 xl('Certificate to send to RFC 5425 TLS syslog server.')
1149 'atna_audit_cacert' => array(
1150 xl('ATNA audit CA certificate'),
1151 'text', // data type
1152 '', // default
1153 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1158 // Miscellaneous Tab
1160 'Miscellaneous' => array(
1162 'mysql_bin_dir' => array(
1163 xl('Path to MySQL Binaries'),
1164 'text', // data type
1165 $mysql_bin_dir, // default
1166 xl('Full path to directory containing MySQL executables.')
1169 'perl_bin_dir' => array(
1170 xl('Path to Perl Binaries'),
1171 'text', // data type
1172 $perl_bin_dir, // default
1173 xl('Full path to directory containing Perl executables.')
1176 'temporary_files_dir' => array(
1177 xl('Path to Temporary Files'),
1178 'text', // data type
1179 $temporary_files_dir, // default
1180 xl('Full path to directory used for temporary files.')
1183 'backup_log_dir' => array(
1184 xl('Path for Event Log Backup'),
1185 'text', // data type
1186 $backup_log_dir, // default
1187 xl('Full path to directory for event log backup.')
1190 'state_data_type' => array(
1191 xl('State Data Type'),
1192 array(
1193 '2' => xl('Text field'),
1194 '1' => xl('Single-selection list'),
1195 '26' => xl('Single-selection list with ability to add to the list'),
1197 '26', // default
1198 xl('Field type to use for employer or subscriber state in demographics.')
1201 'state_list' => array(
1202 xl('State list'),
1203 'text', // data type
1204 'state', // default
1205 xl('List used by above State Data Type option.')
1208 'state_custom_addlist_widget' => array(
1209 xl('State List Widget Custom Fields'),
1210 'bool', // data type
1211 '1', // default
1212 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1215 'country_data_type' => array(
1216 xl('Country Data Type'),
1217 array(
1218 '2' => xl('Text field'),
1219 '1' => xl('Single-selection list'),
1220 '26' => xl('Single-selection list with ability to add to the list'),
1222 '26', // default
1223 xl('Field type to use for employer or subscriber country in demographics.')
1226 'country_list' => array(
1227 xl('Country list'),
1228 'text', // data type
1229 'country', // default
1230 xl('List used by above Country Data Type option.')
1233 'print_command' => array(
1234 xl('Print Command'),
1235 'text', // data type
1236 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1237 xl('Shell command for printing from the server.')
1240 'default_chief_complaint' => array(
1241 xl('Default Reason for Visit'),
1242 'text', // data type
1244 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1247 'default_new_encounter_form' => array(
1248 xl('Default Encounter Form ID'),
1249 'text', // data type
1251 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1254 'patient_id_category_name' => array(
1255 xl('Patient ID Category Name'),
1256 'text', // data type
1257 'Patient ID card', // default
1258 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1261 'patient_photo_category_name' => array(
1262 xl('Patient Photo Category Name'),
1263 'text', // data type
1264 'Patient Photograph', // default
1265 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1268 'MedicareReferrerIsRenderer' => array(
1269 xl('Medicare Referrer Is Renderer'),
1270 'bool', // data type
1271 '0', // default = true
1272 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1275 'post_to_date_benchmark' => array(
1276 xl('Financial Close Date (yyyy-mm-dd)'),
1277 'text', // data type
1278 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1279 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1282 'enable_hylafax' => array(
1283 xl('Enable Hylafax Support'),
1284 'bool', // data type
1285 '0', // default
1286 xl('Enable Hylafax Support')
1289 'hylafax_server' => array(
1290 xl('Hylafax Server'),
1291 'text', // data type
1292 'localhost', // default
1293 xl('Hylafax server hostname.')
1296 'hylafax_basedir' => array(
1297 xl('Hylafax Directory'),
1298 'text', // data type
1299 '/var/spool/fax', // default
1300 xl('Location where Hylafax stores faxes.')
1303 'hylafax_enscript' => array(
1304 xl('Hylafax Enscript Command'),
1305 'text', // data type
1306 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1307 xl('Enscript command used by Hylafax.')
1310 'enable_scanner' => array(
1311 xl('Enable Scanner Support'),
1312 'bool', // data type
1313 '0', // default
1314 xl('Enable Scanner Support')
1317 'scanner_output_directory' => array(
1318 xl('Scanner Directory'),
1319 'text', // data type
1320 '/mnt/scan_docs', // default
1321 xl('Location where scans are stored.')
1326 // Portal Tab
1328 'Portal' => array(
1330 'portal_onsite_enable' => array(
1331 xl('Enable Onsite Patient Portal'),
1332 'bool', // data type
1333 '0',
1334 xl('Enable Onsite Patient Portal.')
1337 'portal_onsite_address' => array(
1338 xl('Onsite Patient Portal Site Address'),
1339 'text', // data type
1340 'https://your_web_site.com/openemr/patients',
1341 xl('Website link for the Onsite Patient Portal.')
1344 'portal_offsite_enable' => array(
1345 xl('Enable Offsite Patient Portal'),
1346 'bool', // data type
1347 '0',
1348 xl('Enable Offsite Patient Portal.')
1351 'portal_offsite_username' => array(
1352 xl('Offsite Patient Portal Username'),
1353 'text', // data type
1355 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1358 'portal_offsite_password' => array(
1359 xl('Offsite Patient Portal Password'),
1360 'pwd', // data type
1362 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1365 'portal_offsite_address' => array(
1366 xl('Offsite Patient Portal Site Address'),
1367 'text', // data type
1368 'https://mydocsportal.com/provider.php',
1369 xl('Offsite Https link for the Patient Portal.')
1371 'portal_offsite_address_patient_link' => array(
1372 xl('Offsite Patient Portal Site Address (Patient Link)'),
1373 'text', // data type
1374 'https://mydocsportal.com',
1375 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1380 // Connectors Tab
1382 'Connectors' => array(
1384 'lab_exchange_enable' => array(
1385 xl('Enable Lab Exchange'),
1386 'bool', // data type
1387 '0',
1388 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1391 'lab_exchange_siteid' => array(
1392 xl('Lab Exchange Site ID'),
1393 'text', // data type
1394 '3',
1395 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1398 'lab_exchange_token' => array(
1399 xl('Lab Exchange Token ID'),
1400 'text', // data type
1401 '12345',
1402 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1405 'lab_exchange_endpoint' => array(
1406 xl('Lab Exchange Site Address'),
1407 'text', // data type
1408 'https://openemrsupport.com:29443/len/api',
1409 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1412 'erx_enable' => array(
1413 xl('Enable NewCrop eRx Service'),
1414 'bool', // data type
1415 '0',
1416 xl('Enable ZMG, LLC eRx service')
1419 'erx_path_production' => array(
1420 xl('NewCrop eRx Site Address'),
1421 'text', // data type
1422 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1423 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1426 'erx_path_soap_production' => array(
1427 xl('NewCrop eRx Web Service Address'),
1428 'text', // data type
1429 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1430 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1433 'partner_name_production' => array(
1434 xl('NewCrop eRx Partner Name'),
1435 'text', // data type
1437 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1440 'erx_name_production' => array(
1441 xl('NewCrop eRx Name'),
1442 'text', // data type
1444 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1447 'erx_password_production' => array(
1448 xl('NewCrop eRx Password'),
1449 'pass', // data type
1451 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1454 'erx_upload_active' => array(
1455 xl('Only upload active prescriptions'),
1456 'bool', // data type
1457 '0',
1458 xl('Only upload active prescriptions')
1461 'erx_import_status_message' => array(
1462 xl('Enable import status message for NewCrop erx'),
1463 'bool', // data type
1464 '0',
1465 xl('Enable import status message for NewCrop erx')
1468 'erx_medication_display' => array(
1469 xl('Do not display Medications uploaded to NewCrop'),
1470 'bool', // data type
1471 '0',
1472 xl('Do not display Medications uploaded to NewCrop')
1475 'erx_allergy_display' => array(
1476 xl('Do not display Allergy uploaded to NewCrop'),
1477 'bool', // data type
1478 '0',
1479 xl('Do not display Allergy uploaded to NewCrop')
1482 'erx_default_patient_country' => array(
1483 xl('Default Patient Country'),
1484 array(
1485 '' => '',
1486 'US' => 'USA',
1487 'CA' => 'Canada',
1488 'MX' => 'Mexico'
1491 xl('Default Patient Country'),
1495 'Rx' => array(
1496 'rx_enable_DEA' => array(
1497 xl('Rx Enable DEA #'),
1498 'bool', // data type
1499 '1',
1500 xl('Rx Enable DEA #')
1502 'rx_show_DEA' => array(
1503 xl('Rx Show DEA #'),
1504 'bool', // data type
1505 '0',
1506 xl('Rx Show DEA #')
1508 'rx_enable_NPI' => array(
1509 xl('Rx Enable NPI'),
1510 'bool', // data type
1511 '0',
1512 xl('Rx Enable NPI')
1514 'rx_show_NPI' => array(
1515 xl('Rx Show NPI'),
1516 'bool', // data type
1517 '0',
1518 xl('Rx Show NPI')
1520 'rx_enable_SLN' => array(
1521 xl('Rx Enable State Lic. #'),
1522 'bool', // data type
1523 '0',
1524 xl('Rx Enable State Lic. #')
1526 'rx_show_SLN' => array(
1527 xl('Rx Show State Lic. #'),
1528 'bool', // data type
1529 '0',
1530 xl('Rx Show State Lic. #')
1532 'rx_paper_size' => array(
1533 xl('Rx Paper Size'), // descriptive name
1534 array(
1535 'LETTER' => xl('Letter Paper Size'),
1536 'LEGAL' => xl('Legal Paper Size'),
1537 'FOLIO' => xl('Folio Paper Size'),
1538 'EXECUTIVE' => xl('Executive Paper Size'),
1539 '4A0' => ('4A0' . " " . xl('Paper Size')),
1540 '2A0' => ('2A0' . " " . xl('Paper Size')),
1541 'A0' => ('A0' . " " . xl('Paper Size')),
1542 'A1' => ('A1' . " " . xl('Paper Size')),
1543 'A2' => ('A2' . " " . xl('Paper Size')),
1544 'A3' => ('A3' . " " . xl('Paper Size')),
1545 'A4' => ('A4' . " " . xl('Paper Size')),
1546 'A5' => ('A5' . " " . xl('Paper Size')),
1547 'A6' => ('A6' . " " . xl('Paper Size')),
1548 'A7' => ('A7' . " " . xl('Paper Size')),
1549 'A8' => ('A8' . " " . xl('Paper Size')),
1550 'A9' => ('A9' . " " . xl('Paper Size')),
1551 'A10' => ('A10' . " " . xl('Paper Size')),
1552 'B0' => ('B0' . " " . xl('Paper Size')),
1553 'B1' => ('B1' . " " . xl('Paper Size')),
1554 'B2' => ('B2' . " " . xl('Paper Size')),
1555 'B3' => ('B3' . " " . xl('Paper Size')),
1556 'B4' => ('B4' . " " . xl('Paper Size')),
1557 'B5' => ('B5' . " " . xl('Paper Size')),
1558 'B6' => ('B6' . " " . xl('Paper Size')),
1559 'B7' => ('B7' . " " . xl('Paper Size')),
1560 'B8' => ('B8' . " " . xl('Paper Size')),
1561 'B9' => ('B9' . " " . xl('Paper Size')),
1562 'B10' => ('B10' . " " . xl('Paper Size')),
1563 'C0' => ('C0' . " " . xl('Paper Size')),
1564 'C1' => ('C1' . " " . xl('Paper Size')),
1565 'C2' => ('C2' . " " . xl('Paper Size')),
1566 'C3' => ('C3' . " " . xl('Paper Size')),
1567 'C4' => ('C4' . " " . xl('Paper Size')),
1568 'C5' => ('C5' . " " . xl('Paper Size')),
1569 'C6' => ('C6' . " " . xl('Paper Size')),
1570 'C7' => ('C7' . " " . xl('Paper Size')),
1571 'C8' => ('C8' . " " . xl('Paper Size')),
1572 'C9' => ('C9' . " " . xl('Paper Size')),
1573 'C10' => ('C10' . " " . xl('Paper Size')),
1574 'RA0' => ('RA0' . " " . xl('Paper Size')),
1575 'RA1' => ('RA1' . " " . xl('Paper Size')),
1576 'RA2' => ('RA2' . " " . xl('Paper Size')),
1577 'RA3' => ('RA3' . " " . xl('Paper Size')),
1578 'RA4' => ('RA4' . " " . xl('Paper Size')),
1579 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1580 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1581 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1582 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1583 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1585 'LETTER', // default = tree menu
1586 xl('Rx Paper Size')
1588 'rx_left_margin' => array(
1589 xl('Rx Left Margin (px)'),
1590 'num',
1591 '30',
1592 xl('Rx Left Margin (px)')
1594 'rx_right_margin' => array(
1595 xl('Rx Right Margin (px)'),
1596 'num',
1597 '30',
1598 xl('Rx Right Margin (px)')
1600 'rx_top_margin' => array(
1601 xl('Rx Top Margin (px)'),
1602 'num',
1603 '72',
1604 xl('Rx Top Margin (px)')
1606 'rx_bottom_margin' => array(
1607 xl('Rx Bottom Margin (px)'),
1608 'num',
1609 '30',
1610 xl('Rx Bottom Margin (px)')