corrected
[openemr.git] / library / globals.inc.php
blob0284ff544dd1ff794f68a9ab20b1da2fa5fec2d8
1 <?php
2 // Copyright (C) 2010 Rod Roark <rod@sunsetsystems.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 // $GLOBALS['print_command'] is the
10 // Print command for spooling to printers, used by statements.inc.php
11 // This is the command to be used for printing (without the filename).
12 // The word following "-P" should be the name of your printer. This
13 // example is designed for 8.5x11-inch paper with 1-inch margins,
14 // 10 CPI, 6 LPI, 65 columns, 54 lines per page.
16 // IF lpr services are installed on Windows this setting will be similar
17 // Otherwise configure it as needed (print /d:PRN) might be an option for Windows parallel printers
19 // Current supported languages: // Allow capture of term for translation:
20 // Amharic // xl('Amharic')
21 // Arabic // xl('Arabic')
22 // Armenian // xl('Armenian')
23 // Bahasa Indonesia // xl('Bahasa Indonesia')
24 // Chinese (Simplified) // xl('Chinese (Simplified)')
25 // Chinese (Traditional) // xl('Chinese (Traditional)')
26 // Danish // xl('Danish')
27 // Dutch // xl('Dutch')
28 // English (Indian) // xl('English (Indian)')
29 // English (Standard) // xl('English (Standard)')
30 // French // xl('French (Standard)')
31 // French // xl('French (Canadian)')
32 // German // xl('German')
33 // Greek // xl('Greek')
34 // Hebrew // xl('Hebrew')
35 // Hindi // xl('Hindi')
36 // Italian // xl('Italian')
37 // Norwegian // xl('Norwegian')
38 // Polish // xl('Polish')
39 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
40 // Portuguese (European) // xl('Portuguese (European)')
41 // Romanian // xl('Romanian')
42 // Russian // xl('Russian')
43 // Slovak // xl('Slovak')
44 // Spanish (Latin American) // xl('Spanish (Latin American)')
45 // Spanish (Spain) // xl('Spanish (Spain)')
46 // Swedish // xl('Swedish')
47 // Turkish // xl('Turkish')
49 // OS-dependent stuff.
50 if (stristr(PHP_OS, 'WIN')) {
51 // MS Windows
52 $mysql_bin_dir = 'C:/xampp/mysql/bin';
53 $perl_bin_dir = 'C:/xampp/perl/bin';
54 $temporary_files_dir = 'C:/windows/temp';
55 $backup_log_dir = 'C:/windows/temp';
57 else {
58 // Everything else
59 $mysql_bin_dir = '/usr/bin';
60 $perl_bin_dir = '/usr/bin';
61 $temporary_files_dir = '/tmp';
62 $backup_log_dir = '/tmp';
65 // Language constant declarations:
66 // xl('Appearance')
67 // xl('Locale')
68 // xl('Features')
69 // xl('Calendar')
70 // xl('Security')
71 // xl('Notifications')
72 // xl('Miscellaneous')
74 // List of user specific tabs and globals
75 $USER_SPECIFIC_TABS = array('Appearance',
76 'Locale',
77 'Calendar',
78 'Connectors');
79 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
80 'concurrent_layout',
81 'css_header',
82 'units_of_measurement',
83 'date_display_format',
84 'time_display_format',
85 'event_color',
86 'erx_import_status_message');
88 $GLOBALS_METADATA = array(
90 // Appearance Tab
92 'Appearance' => array(
94 'default_top_pane' => array(
95 xl('Main Top Pane Screen'), // descriptive name
96 array(
97 'main_info.php' => xl('Calendar Screen'),
98 '../new/new.php' => xl('Patient Search/Add Screen'),
100 'main_info.php', // default = calendar
101 xl('Type of screen layout')
104 'concurrent_layout' => array(
105 xl('Layout Style'), // descriptive name
106 array(
107 '0' => xl('Old style layout with no left menu'),
108 '1' => xl('Navigation menu consists of pairs of radio buttons'),
109 '2' => xl('Navigation menu is a tree view'),
110 '3' => xl('Navigation uses a sliding menu'),
112 '3', // default = tree menu
113 xl('Type of screen layout')
116 'css_header' => array(
117 xl('Theme'),
118 'css',
119 'style_oemr.css',
120 xl('Pick a CSS theme.')
123 'gbl_nav_area_width' => array(
124 xl('Navigation Area Width'),
125 'num',
126 '150',
127 xl('Width in pixels of the left navigation frame.')
130 'openemr_name' => array(
131 xl('Application Title'),
132 'text',
133 'OpenEMR',
134 xl('Application name for login page and main window title.')
137 'full_new_patient_form' => array(
138 xl('New Patient Form'),
139 array(
140 '0' => xl('Old-style static form without search or duplication check'),
141 '1' => xl('All demographics fields, with search and duplication check'),
142 '2' => xl('Mandatory or specified fields only, search and dup check'),
143 '3' => xl('Mandatory or specified fields only, dup check, no search'),
145 '1', // default
146 xl('Style of form used for adding new patients')
149 'patient_search_results_style' => array(
150 xl('Patient Search Results Style'),
151 array(
152 '0' => xl('Encounter statistics'),
153 '1' => xl('Mandatory and specified fields'),
155 '0', // default
156 xl('Type of columns displayed for patient search results')
159 'gbl_tall_nav_area' => array(
160 xl('Tall Navigation Area'),
161 'bool', // data type
162 '0', // default = false
163 xl('Navigation area uses full height of frameset')
166 'gbl_nav_visit_forms' => array(
167 xl('Navigation Area Visit Forms'),
168 'bool', // data type
169 '1', // default = true
170 xl('Navigation area includes encounter forms')
173 'simplified_demographics' => array(
174 xl('Simplified Demographics'),
175 'bool', // data type
176 '0', // default = false
177 xl('Omit insurance and some other things from the demographics form')
180 'simplified_prescriptions' => array(
181 xl('Simplified Prescriptions'),
182 'bool', // data type
183 '0', // default = false
184 xl('Omit form, route and interval which then become part of dosage')
187 'simplified_copay' => array(
188 xl('Simplified Co-Pay'),
189 'bool', // data type
190 '0', // default = false
191 xl('Omit method of payment from the co-pay panel')
194 'use_charges_panel' => array(
195 xl('Use Charges Panel'),
196 'bool', // data type
197 '0', // default = false
198 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
201 'online_support_link' => array(
202 xl('Online Support Link'),
203 'text', // data type
204 'http://open-emr.org/',
205 xl('URL for OpenEMR support.')
208 'encounter_page_size' => array(
209 xl('Encounter Page Size'),
210 array(
211 '0' => xl('Show All'),
212 '5' => '5',
213 '10' => '10',
214 '15' => '15',
215 '20' => '20',
216 '25' => '25',
217 '50' => '50',
219 '20',
220 xl('Number of encounters to display per page.')
225 // Locale Tab
227 'Locale' => array(
229 'language_default' => array(
230 xl('Default Language'),
231 'lang', // data type
232 'English (Standard)', // default = english
233 xl('Default language if no other is allowed or chosen.')
236 'language_menu_showall' => array(
237 xl('All Languages Allowed'),
238 'bool', // data type
239 '1', // default = true
240 xl('Allow all available languages as choices on menu at login.')
243 'language_menu_other' => array(
244 xl('Allowed Languages'),
245 'm_lang', // data type
246 '', // default = none
247 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
250 'allow_debug_language' => array(
251 xl('Allow Debugging Language'),
252 'bool', // data type
253 '1', // default = true during development and false for production releases
254 xl('This will allow selection of the debugging (\'dummy\') language.')
257 'translate_layout' => array(
258 xl('Translate Layouts'),
259 'bool', // data type
260 '1', // default = true
261 xl('Is text from form layouts to be translated?')
264 'translate_lists' => array(
265 xl('Translate Lists'),
266 'bool', // data type
267 '1', // default = true
268 xl('Is text from lists to be translated?')
271 'translate_gacl_groups' => array(
272 xl('Translate Access Control Groups'),
273 'bool', // data type
274 '1', // default = true
275 xl('Are access control group names to be translated?')
278 'translate_form_titles' => array(
279 xl('Translate Patient Note Titles'),
280 'bool', // data type
281 '1', // default = true
282 xl('Are patient note titles to be translated?')
285 'translate_document_categories' => array(
286 xl('Translate Document Categories'),
287 'bool', // data type
288 '1', // default = true
289 xl('Are document category names to be translated?')
292 'translate_appt_categories' => array(
293 xl('Translate Appointment Categories'),
294 'bool', // data type
295 '1', // default = true
296 xl('Are appointment category names to be translated?')
299 'units_of_measurement' => array(
300 xl('Units for Visit Forms'),
301 array(
302 '1' => xl('Show both US and metric (main unit is US)'),
303 '2' => xl('Show both US and metric (main unit is metric)'),
304 '3' => xl('Show US only'),
305 '4' => xl('Show metric only'),
307 '1', // default = Both/US
308 xl('Applies to the Vitals form and Growth Chart')
311 'disable_deprecated_metrics_form' => array(
312 xl('Disable Old Metric Vitals Form'),
313 'bool', // data type
314 '1', // default = true
315 xl('This was the older metric-only Vitals form, now deprecated.')
318 'phone_country_code' => array(
319 xl('Telephone Country Code'),
320 'num',
321 '1', // default = North America
322 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
325 'date_display_format' => array(
326 xl('Date Display Format'),
327 array(
328 '0' => xl('YYYY-MM-DD'),
329 '1' => xl('MM/DD/YYYY'),
330 '2' => xl('DD/MM/YYYY'),
332 '0',
333 xl('Format used to display most dates.')
336 'time_display_format' => array(
337 xl('Time Display Format'),
338 array(
339 '0' => xl('24 hr'),
340 '1' => xl('12 hr'),
342 '0',
343 xl('Format used to display most times.')
346 'currency_decimals' => array(
347 xl('Currency Decimal Places'),
348 array(
349 '0' => xl('0'),
350 '1' => xl('1'),
351 '2' => xl('2'),
353 '2',
354 xl('Number of digits after decimal point for currency, usually 0 or 2.')
357 'currency_dec_point' => array(
358 xl('Currency Decimal Point Symbol'),
359 array(
360 '.' => xl('Period'),
361 ',' => xl('Comma'),
363 '.',
364 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
367 'currency_thousands_sep' => array(
368 xl('Currency Thousands Separator'),
369 array(
370 ',' => xl('Comma'),
371 '.' => xl('Period'),
372 ' ' => xl('Space'),
373 '' => xl('None'),
375 ',',
376 xl('Symbol used to separate thousands for currency.')
379 'gbl_currency_symbol' => array(
380 xl('Currency Designator'),
381 'text', // data type
382 '$', // default
383 xl('Code or symbol to indicate currency')
388 // Features Tab
390 'Features' => array(
392 'specific_application' => array(
393 xl('Specific Application'),
394 array(
395 '0' => xl('None'),
396 '1' => xl('Athletic team'),
397 '2' => xl('IPPF'),
398 '3' => xl('Weight loss clinic'),
400 '0', // default
401 xl('Indicator for specialized usage')
404 'inhouse_pharmacy' => array(
405 xl('Drugs and Products'),
406 array(
407 '0' => xl('Do not inventory and sell any products'),
408 '1' => xl('Inventory and sell drugs only'),
409 '2' => xl('Inventory and sell both drugs and non-drug products'),
410 '3' => xl('Products but no prescription drugs and no templates'),
412 '0', // default
413 xl('Option to support inventory and sales of products')
416 'disable_chart_tracker' => array(
417 xl('Disable Chart Tracker'),
418 'bool', // data type
419 '0', // default = false
420 xl('Removes the Chart Tracker feature')
423 'disable_phpmyadmin_link' => array(
424 xl('Disable phpMyAdmin'),
425 'bool', // data type
426 '0', // default = false
427 xl('Removes support for phpMyAdmin')
430 'disable_immunizations' => array(
431 xl('Disable Immunizations'),
432 'bool', // data type
433 '0', // default = false
434 xl('Removes support for immunizations')
437 'disable_prescriptions' => array(
438 xl('Disable Prescriptions'),
439 'bool', // data type
440 '0', // default = false
441 xl('Removes support for prescriptions')
444 'omit_employers' => array(
445 xl('Omit Employers'),
446 'bool', // data type
447 '0', // default = false
448 xl('Omit employer information in patient demographics')
451 'select_multi_providers' => array(
452 xl('Support Multi-Provider Events'),
453 'bool', // data type
454 '0', // default = false
455 xl('Support calendar events that apply to multiple providers')
458 'disable_non_default_groups' => array(
459 xl('Disable User Groups'),
460 'bool', // data type
461 '1', // default = true
462 xl('Normally this should be checked. Not related to access control.')
465 'ignore_pnotes_authorization' => array(
466 xl('Skip Authorization of Patient Notes'),
467 'bool', // data type
468 '1', // default = true
469 xl('Do not require patient notes to be authorized')
472 'support_encounter_claims' => array(
473 xl('Allow Encounter Claims'),
474 'bool', // data type
475 '0', // default = false
476 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
479 'advance_directives_warning' => array(
480 xl('Advance Directives Warning'),
481 'bool', // data type
482 '0', // default = false
483 xl('Display advance directives in the demographics page.')
486 'configuration_import_export' => array(
487 xl('Configuration Export/Import'),
488 'bool', // data type
489 '0', // default = false
490 xl('Support export/import of configuration data via the Backup page.')
493 'restrict_user_facility' => array(
494 xl('Restrict Users to Facilities'),
495 'bool', // data type
496 '0', // default
497 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
500 'set_facility_cookie' => array(
501 xl('Remember Selected Facility'),
502 'bool', // data type
503 '0', // default
504 xl('Set a facility cookie to remember the selected facility between logins.')
507 'receipts_by_provider' => array(
508 xl('Print Receipts by Provider'),
509 'bool',
510 '0', // default
511 xl('Causes Receipts to Print Encounter/Primary Provider Info')
514 'discount_by_money' => array(
515 xl('Discounts as Monetary Amounts'),
516 'bool', // data type
517 '1', // default = true
518 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
521 'gbl_visit_referral_source' => array(
522 xl('Referral Source for Encounters'),
523 'bool', // data type
524 '0', // default = false
525 xl('A referral source may be specified for each visit.')
528 'gbl_mask_patient_id' => array(
529 xl('Mask for Patient IDs'),
530 'text', // data type
531 '', // default
532 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
535 'gbl_mask_invoice_number' => array(
536 xl('Mask for Invoice Numbers'),
537 'text', // data type
538 '', // default
539 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
542 'gbl_mask_product_id' => array(
543 xl('Mask for Product IDs'),
544 'text', // data type
545 '', // default
546 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
549 'force_billing_widget_open' => array(
550 xl('Force Billing Widget Open'),
551 'bool', // data type
552 '0', // default = false
553 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
556 'activate_ccr_ccd_report' => array(
557 xl('Activate CCR/CCD Reporting'),
558 'bool', // data type
559 '1', // default = true
560 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
563 'hide_document_encryption' => array(
564 xl('Hide Encryption/Decryption Options In Document Management'),
565 'bool', // data type
566 '1', // default = true
567 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
570 'use_custom_immun_list' => array(
571 xl('Use Custom Immunization List'),
572 'bool', // data type
573 '0', // default = true
574 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
579 // Calendar Tab
581 'Calendar' => array(
583 'disable_calendar' => array(
584 xl('Disable Calendar'),
585 'bool', // data type
586 '0', // default
587 xl('Do not display the calendar.')
590 'schedule_start' => array(
591 xl('Calendar Starting Hour'),
592 'hour',
593 '8', // default
594 xl('Beginning hour of day for calendar events.')
597 'schedule_end' => array(
598 xl('Calendar Ending Hour'),
599 'hour',
600 '17', // default
601 xl('Ending hour of day for calendar events.')
604 'calendar_interval' => array(
605 xl('Calendar Interval'),
606 array(
607 '5' => '5',
608 '10' => '10',
609 '15' => '15',
610 '20' => '20',
611 '30' => '30',
612 '60' => '60',
614 '15', // default
615 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
618 'calendar_appt_style' => array(
619 xl('Appointment Display Style'),
620 array(
621 '1' => 'Last name',
622 '2' => 'Last name, first name',
623 '3' => 'Last name, first name (title)',
624 '4' => 'Last name, first name (title: description)',
626 '2', // default
627 xl('This determines how appointments display on the calendar.')
630 'docs_see_entire_calendar' => array(
631 xl('Providers See Entire Calendar'),
632 'bool', // data type
633 '0', // default
634 xl('Check this if you want providers to see all appointments by default and not just their own.')
637 'auto_create_new_encounters' => array(
638 xl('Auto-Create New Encounters'),
639 'bool', // data type
640 '1', // default
641 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
644 'event_color' => array(
645 xl('Appointment/Event Color'),
646 array(
647 '1' => 'Category Color Schema',
648 '2' => 'Facility Color Schema',
649 ), // data type
650 '1', // default
651 xl('This determines which color schema used for appointment')
656 // Security Tab
658 'Security' => array(
660 'timeout' => array(
661 xl('Idle Session Timeout Seconds'),
662 'num', // data type
663 '7200', // default
664 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
667 'secure_password' => array(
668 xl('Require Strong Passwords'),
669 'bool', // data type
670 '0', // default
671 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
674 'password_history' => array(
675 xl('Require Unique Passwords'),
676 'bool', // data type
677 '0', // default
678 xl('Means none of last three passwords are allowed when changing a password.')
681 'password_expiration_days' => array(
682 xl('Default Password Expiration Days'),
683 'num', // data type
684 '0', // default
685 xl('Default password expiration period in days. 0 means this feature is disabled.')
688 'password_grace_time' => array(
689 xl('Password Expiration Grace Period'),
690 'num', // data type
691 '0', // default
692 xl('Period in days where a user may login with an expired password.')
695 'is_client_ssl_enabled' => array(
696 xl('Enable Client SSL'),
697 'bool', // data type
698 '0', // default
699 xl('Enable client SSL certificate authentication.')
702 'certificate_authority_crt' => array(
703 xl('Path to CA Certificate File'),
704 'text', // data type
705 '', // default
706 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
709 'certificate_authority_key' => array(
710 xl('Path to CA Key File'),
711 'text', // data type
712 '', // default
713 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
716 'client_certificate_valid_in_days' => array(
717 xl('Client Certificate Expiration Days'),
718 'num', // data type
719 '365', // default
720 xl('Number of days that the client certificate is valid.')
723 'Emergency_Login_email_id' => array(
724 xl('Emergency Login Email Address'),
725 'text', // data type
726 '', // default
727 xl('Email address, if any, to receive emergency login user activation messages.')
732 // Notifications Tab
734 'Notifications' => array(
736 'patient_reminder_sender_name' => array(
737 xl('Patient Reminder Sender Name'),
738 'text', // data type
739 '', // default
740 xl('Name of the sender for patient reminders.')
743 'patient_reminder_sender_email' => array(
744 xl('Patient Reminder Sender Email'),
745 'text', // data type
746 '', // default
747 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.')
750 'practice_return_email_path' => array(
751 xl('Notification Email Address'),
752 'text', // data type
753 '', // default
754 xl('Email address, if any, to receive administrative notifications.')
757 'EMAIL_METHOD' => array(
758 xl('Email Transport Method'),
759 array(
760 'PHPMAIL' => 'PHPMAIL',
761 'SENDMAIL' => 'SENDMAIL',
762 'SMTP' => 'SMTP',
764 'SMTP', // default
765 xl('Method for sending outgoing email.')
768 'SMTP_HOST' => array(
769 xl('SMTP Server Hostname'),
770 'text', // data type
771 'localhost', // default
772 xl('If SMTP is used, the server`s hostname or IP address.')
775 'SMTP_PORT' => array(
776 xl('SMTP Server Port Number'),
777 'num', // data type
778 '25', // default
779 xl('If SMTP is used, the server`s TCP port number (usually 25).')
782 'SMTP_USER' => array(
783 xl('SMTP User for Authentication'),
784 'text', // data type
785 '', // default
786 xl('Must be empty if SMTP authentication is not used.')
789 'SMTP_PASS' => array(
790 xl('SMTP Password for Authentication'),
791 'text', // data type
792 '', // default
793 xl('Must be empty if SMTP authentication is not used.')
796 'EMAIL_NOTIFICATION_HOUR' => array(
797 xl('Email Notification Hours'),
798 'num', // data type
799 '50', // default
800 xl('Number of hours in advance to send email notifications.')
803 'SMS_NOTIFICATION_HOUR' => array(
804 xl('SMS Notification Hours'),
805 'num', // data type
806 '50', // default
807 xl('Number of hours in advance to send SMS notifications.')
810 'SMS_GATEWAY_USENAME' => array(
811 xl('SMS Gateway Username'),
812 'text', // data type
813 '', // default
814 xl('Username for SMS Gateway.')
817 'SMS_GATEWAY_PASSWORD' => array(
818 xl('SMS Gateway Password'),
819 'text', // data type
820 '', // default
821 xl('Password for SMS Gateway.')
824 'SMS_GATEWAY_APIKEY' => array(
825 xl('SMS Gateway API Key'),
826 'text', // data type
827 '', // default
828 xl('API key for SMS Gateway.')
831 'phone_notification_hour' => array(
832 xl('Phone Notification Hour'),
833 'num', // data type
834 '50', // default
835 xl('Number of hours in advance to send Phone notification.')
838 'phone_gateway_username' => array(
839 xl('Phone Gateway Username'),
840 'text', // data type
841 '', // default
842 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
845 'phone_gateway_password' => array(
846 xl('Phone Gateway Password'),
847 'text', // data type
848 '', // default
849 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
852 'phone_gateway_url' => array(
853 xl('Phone Gateway URL'),
854 'text', // data type
855 '', // default
856 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
861 // CDR (Clinical Decision Rules)
863 'CDR' => array(
865 'enable_cdr' => array(
866 xl('Enable Clinical Decisions Rules (CDR)'),
867 'bool', // data type
868 '1', // default
869 xl('Enable Clinical Decisions Rules (CDR)')
872 'enable_cdr_crw' => array(
873 xl('Enable Clinical Reminder Widget'),
874 'bool', // data type
875 '1', // default
876 xl('Enable Clinical Reminder Widget')
879 'enable_cdr_crp' => array(
880 xl('Enable Clinical Reminder Popup'),
881 'bool', // data type
882 '1', // default
883 xl('Enable Clinical Reminder Popup')
886 'enable_cdr_prw' => array(
887 xl('Enable Patient Reminder Widget'),
888 'bool', // data type
889 '1', // default
890 xl('Enable Patient Reminder Widget')
893 'enable_cqm' => array(
894 xl('Enable CQM Reporting'),
895 'bool', // data type
896 '1', // default
897 xl('Enable Clinical Quality Measure (CQM) Reporting')
900 'pqri_registry_name' => array(
901 xl('PQRI Registry Name'),
902 'text', // data type
903 'Model Registry', // default
904 xl('PQRI Registry Name')
907 'pqri_registry_id' => array(
908 xl('PQRI Registry ID'),
909 'text', // data type
910 '125789123', // default
911 xl('PQRI Registry ID')
914 'enable_amc' => array(
915 xl('Enable AMC Reporting'),
916 'bool', // data type
917 '1', // default
918 xl('Enable Automated Measure Calculations (AMC) Reporting')
921 'enable_amc_prompting' => array(
922 xl('Enable AMC Prompting'),
923 'bool', // data type
924 '1', // default
925 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
928 'enable_amc_tracking' => array(
929 xl('Enable AMC Tracking'),
930 'bool', // data type
931 '1', // default
932 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
937 // Logging
939 'Logging' => array(
941 'enable_auditlog' => array(
942 xl('Enable Audit Logging'),
943 'bool', // data type
944 '1', // default
945 xl('Enable Audit Logging')
948 'audit_events_patient-record' => array(
949 xl('Audit Logging Patient Record'),
950 'bool', // data type
951 '1', // default
952 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
955 'audit_events_scheduling' => array(
956 xl('Audit Logging Scheduling'),
957 'bool', // data type
958 '1', // default
959 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
962 'audit_events_order' => array(
963 xl('Audit Logging Order'),
964 'bool', // data type
965 '1', // default
966 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
969 'audit_events_security-administration' => array(
970 xl('Audit Logging Security Administration'),
971 'bool', // data type
972 '1', // default
973 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
976 'audit_events_backup' => array(
977 xl('Audit Logging Backups'),
978 'bool', // data type
979 '1', // default
980 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
983 'audit_events_other' => array(
984 xl('Audit Logging Miscellaneous'),
985 'bool', // data type
986 '1', // default
987 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
990 'audit_events_query' => array(
991 xl('Audit Logging SELECT Query'),
992 'bool', // data type
993 '0', // default
994 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
997 'enable_atna_audit' => array(
998 xl('Enable ATNA Auditing'),
999 'bool', // data type
1000 '0', // default
1001 xl('Enable Audit Trail and Node Authentication (ATNA).')
1004 'atna_audit_host' => array(
1005 xl('ATNA audit host'),
1006 'text', // data type
1007 '', // default
1008 xl('The hostname of the ATNA audit repository machine.')
1011 'atna_audit_port' => array(
1012 xl('ATNA audit port'),
1013 'text', // data type
1014 '6514', // default
1015 xl('Listening port of the RFC 5425 TLS syslog server.')
1018 'atna_audit_localcert' => array(
1019 xl('ATNA audit local certificate'),
1020 'text', // data type
1021 '', // default
1022 xl('Certificate to send to RFC 5425 TLS syslog server.')
1025 'atna_audit_cacert' => array(
1026 xl('ATNA audit CA certificate'),
1027 'text', // data type
1028 '', // default
1029 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1034 // Miscellaneous Tab
1036 'Miscellaneous' => array(
1038 'mysql_bin_dir' => array(
1039 xl('Path to MySQL Binaries'),
1040 'text', // data type
1041 $mysql_bin_dir, // default
1042 xl('Full path to directory containing MySQL executables.')
1045 'perl_bin_dir' => array(
1046 xl('Path to Perl Binaries'),
1047 'text', // data type
1048 $perl_bin_dir, // default
1049 xl('Full path to directory containing Perl executables.')
1052 'temporary_files_dir' => array(
1053 xl('Path to Temporary Files'),
1054 'text', // data type
1055 $temporary_files_dir, // default
1056 xl('Full path to directory used for temporary files.')
1059 'backup_log_dir' => array(
1060 xl('Path for Event Log Backup'),
1061 'text', // data type
1062 $backup_log_dir, // default
1063 xl('Full path to directory for event log backup.')
1066 'state_data_type' => array(
1067 xl('State Data Type'),
1068 array(
1069 '2' => xl('Text field'),
1070 '1' => xl('Single-selection list'),
1071 '26' => xl('Single-selection list with ability to add to the list'),
1073 '26', // default
1074 xl('Field type to use for employer or subscriber state in demographics.')
1077 'state_list' => array(
1078 xl('State list'),
1079 'text', // data type
1080 'state', // default
1081 xl('List used by above State Data Type option.')
1084 'state_custom_addlist_widget' => array(
1085 xl('State List Widget Custom Fields'),
1086 'bool', // data type
1087 '1', // default
1088 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1091 'country_data_type' => array(
1092 xl('Country Data Type'),
1093 array(
1094 '2' => xl('Text field'),
1095 '1' => xl('Single-selection list'),
1096 '26' => xl('Single-selection list with ability to add to the list'),
1098 '26', // default
1099 xl('Field type to use for employer or subscriber country in demographics.')
1102 'country_list' => array(
1103 xl('Country list'),
1104 'text', // data type
1105 'country', // default
1106 xl('List used by above Country Data Type option.')
1109 'print_command' => array(
1110 xl('Print Command'),
1111 'text', // data type
1112 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1113 xl('Shell command for printing from the server.')
1116 'default_chief_complaint' => array(
1117 xl('Default Reason for Visit'),
1118 'text', // data type
1120 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1123 'default_new_encounter_form' => array(
1124 xl('Default Encounter Form ID'),
1125 'text', // data type
1127 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1130 'patient_id_category_name' => array(
1131 xl('Patient ID Category Name'),
1132 'text', // data type
1133 'Patient ID card', // default
1134 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1137 'patient_photo_category_name' => array(
1138 xl('Patient Photo Category Name'),
1139 'text', // data type
1140 'Patient Photograph', // default
1141 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1144 'MedicareReferrerIsRenderer' => array(
1145 xl('Medicare Referrer Is Renderer'),
1146 'bool', // data type
1147 '0', // default = true
1148 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1151 'post_to_date_benchmark' => array(
1152 xl('Financial Close Date (yyyy-mm-dd)'),
1153 'text', // data type
1154 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1155 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1158 'enable_hylafax' => array(
1159 xl('Enable Hylafax Support'),
1160 'bool', // data type
1161 '0', // default
1162 xl('Enable Hylafax Support')
1165 'hylafax_server' => array(
1166 xl('Hylafax Server'),
1167 'text', // data type
1168 'localhost', // default
1169 xl('Hylafax server hostname.')
1172 'hylafax_basedir' => array(
1173 xl('Hylafax Directory'),
1174 'text', // data type
1175 '/var/spool/fax', // default
1176 xl('Location where Hylafax stores faxes.')
1179 'hylafax_enscript' => array(
1180 xl('Hylafax Enscript Command'),
1181 'text', // data type
1182 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1183 xl('Enscript command used by Hylafax.')
1186 'enable_scanner' => array(
1187 xl('Enable Scanner Support'),
1188 'bool', // data type
1189 '0', // default
1190 xl('Enable Scanner Support')
1193 'scanner_output_directory' => array(
1194 xl('Scanner Directory'),
1195 'text', // data type
1196 '/mnt/scan_docs', // default
1197 xl('Location where scans are stored.')
1202 // Portal Tab
1204 'Portal' => array(
1206 'portal_onsite_enable' => array(
1207 xl('Enable Onsite Patient Portal'),
1208 'bool', // data type
1209 '0',
1210 xl('Enable Onsite Patient Portal.')
1213 'portal_onsite_address' => array(
1214 xl('Onsite Patient Portal Site Address'),
1215 'text', // data type
1216 'https://your_web_site.com/openemr/patients',
1217 xl('Website link for the Onsite Patient Portal.')
1220 'portal_offsite_enable' => array(
1221 xl('Enable Offsite Patient Portal'),
1222 'bool', // data type
1223 '0',
1224 xl('Enable Offsite Patient Portal.')
1227 'portal_offsite_username' => array(
1228 xl('Offsite Patient Portal Username'),
1229 'text', // data type
1231 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1234 'portal_offsite_password' => array(
1235 xl('Offsite Patient Portal Password'),
1236 'pwd', // data type
1238 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1241 'portal_offsite_address' => array(
1242 xl('Offsite Patient Portal Site Address'),
1243 'text', // data type
1244 'https://mydocsportal.com/provider.php',
1245 xl('Offsite Https link for the Patient Portal.')
1247 'portal_offsite_address_patient_link' => array(
1248 xl('Offsite Patient Portal Site Address (Patient Link)'),
1249 'text', // data type
1250 'https://mydocsportal.com',
1251 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1256 // Connectors Tab
1258 'Connectors' => array(
1260 'lab_exchange_enable' => array(
1261 xl('Enable Lab Exchange'),
1262 'bool', // data type
1263 '0',
1264 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1267 'lab_exchange_siteid' => array(
1268 xl('Lab Exchange Site ID'),
1269 'text', // data type
1270 '3',
1271 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1274 'lab_exchange_token' => array(
1275 xl('Lab Exchange Token ID'),
1276 'text', // data type
1277 '12345',
1278 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1281 'lab_exchange_endpoint' => array(
1282 xl('Lab Exchange Site Address'),
1283 'text', // data type
1284 'https://openemrsupport.com:29443/len/api',
1285 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1288 'erx_enable' => array(
1289 xl('Enable NewCrop eRx Service'),
1290 'bool', // data type
1291 '0',
1292 xl('Enable ZMG, LLC eRx service')
1295 'erx_path_production' => array(
1296 xl('NewCrop eRx Site Address'),
1297 'text', // data type
1298 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1299 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1302 'erx_path_soap_production' => array(
1303 xl('NewCrop eRx Web Service Address'),
1304 'text', // data type
1305 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1306 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1309 'partner_name_production' => array(
1310 xl('NewCrop eRx Partner Name'),
1311 'text', // data type
1313 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1316 'erx_name_production' => array(
1317 xl('NewCrop eRx Name'),
1318 'text', // data type
1320 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1323 'erx_password_production' => array(
1324 xl('NewCrop eRx Password'),
1325 'pass', // data type
1327 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1330 'erx_upload_active' => array(
1331 xl('Only upload active prescriptions'),
1332 'bool', // data type
1333 '0',
1334 xl('Only upload active prescriptions')
1337 'erx_import_status_message' => array(
1338 xl('Enable import status message for NewCrop erx'),
1339 'bool', // data type
1340 '0',
1341 xl('Enable import status message for NewCrop erx')
1344 'erx_medication_display' => array(
1345 xl('Do not display Medications uploaded to NewCrop'),
1346 'bool', // data type
1347 '0',
1348 xl('Do not display Medications uploaded to NewCrop')
1351 'erx_allergy_display' => array(
1352 xl('Do not display Allergy uploaded to NewCrop'),
1353 'bool', // data type
1354 '0',
1355 xl('Do not display Allergy uploaded to NewCrop')
1358 'erx_default_patient_country' => array(
1359 xl('Default Patient Country'),
1360 array(
1361 '' => '',
1362 'US' => 'USA',
1363 'CA' => 'Canada',
1364 'MX' => 'Mexico'
1367 xl('Default Patient Country'),
1371 'Rx' => array(
1372 'rx_enable_DEA' => array(
1373 xl('Rx Enable DEA #'),
1374 'bool', // data type
1375 '1',
1376 xl('Rx Enable DEA #')
1378 'rx_show_DEA' => array(
1379 xl('Rx Show DEA #'),
1380 'bool', // data type
1381 '0',
1382 xl('Rx Show DEA #')
1384 'rx_enable_NPI' => array(
1385 xl('Rx Enable NPI'),
1386 'bool', // data type
1387 '0',
1388 xl('Rx Enable NPI')
1390 'rx_show_NPI' => array(
1391 xl('Rx Show NPI'),
1392 'bool', // data type
1393 '0',
1394 xl('Rx Show NPI')
1396 'rx_enable_SLN' => array(
1397 xl('Rx Enable State Lic. #'),
1398 'bool', // data type
1399 '0',
1400 xl('Rx Enable State Lic. #')
1402 'rx_show_SLN' => array(
1403 xl('Rx Show State Lic. #'),
1404 'bool', // data type
1405 '0',
1406 xl('Rx Show State Lic. #')
1408 'rx_paper_size' => array(
1409 xl('Rx Paper Size'), // descriptive name
1410 array(
1411 'LETTER' => xl('Letter Paper Size'),
1412 'LEGAL' => xl('Legal Paper Size'),
1413 'FOLIO' => xl('Folio Paper Size'),
1414 'EXECUTIVE' => xl('Executive Paper Size'),
1415 '4A0' => ('4A0' . " " . xl('Paper Size')),
1416 '2A0' => ('2A0' . " " . xl('Paper Size')),
1417 'A0' => ('A0' . " " . xl('Paper Size')),
1418 'A1' => ('A1' . " " . xl('Paper Size')),
1419 'A2' => ('A2' . " " . xl('Paper Size')),
1420 'A3' => ('A3' . " " . xl('Paper Size')),
1421 'A4' => ('A4' . " " . xl('Paper Size')),
1422 'A5' => ('A5' . " " . xl('Paper Size')),
1423 'A6' => ('A6' . " " . xl('Paper Size')),
1424 'A7' => ('A7' . " " . xl('Paper Size')),
1425 'A8' => ('A8' . " " . xl('Paper Size')),
1426 'A9' => ('A9' . " " . xl('Paper Size')),
1427 'A10' => ('A10' . " " . xl('Paper Size')),
1428 'B0' => ('B0' . " " . xl('Paper Size')),
1429 'B1' => ('B1' . " " . xl('Paper Size')),
1430 'B2' => ('B2' . " " . xl('Paper Size')),
1431 'B3' => ('B3' . " " . xl('Paper Size')),
1432 'B4' => ('B4' . " " . xl('Paper Size')),
1433 'B5' => ('B5' . " " . xl('Paper Size')),
1434 'B6' => ('B6' . " " . xl('Paper Size')),
1435 'B7' => ('B7' . " " . xl('Paper Size')),
1436 'B8' => ('B8' . " " . xl('Paper Size')),
1437 'B9' => ('B9' . " " . xl('Paper Size')),
1438 'B10' => ('B10' . " " . xl('Paper Size')),
1439 'C0' => ('C0' . " " . xl('Paper Size')),
1440 'C1' => ('C1' . " " . xl('Paper Size')),
1441 'C2' => ('C2' . " " . xl('Paper Size')),
1442 'C3' => ('C3' . " " . xl('Paper Size')),
1443 'C4' => ('C4' . " " . xl('Paper Size')),
1444 'C5' => ('C5' . " " . xl('Paper Size')),
1445 'C6' => ('C6' . " " . xl('Paper Size')),
1446 'C7' => ('C7' . " " . xl('Paper Size')),
1447 'C8' => ('C8' . " " . xl('Paper Size')),
1448 'C9' => ('C9' . " " . xl('Paper Size')),
1449 'C10' => ('C10' . " " . xl('Paper Size')),
1450 'RA0' => ('RA0' . " " . xl('Paper Size')),
1451 'RA1' => ('RA1' . " " . xl('Paper Size')),
1452 'RA2' => ('RA2' . " " . xl('Paper Size')),
1453 'RA3' => ('RA3' . " " . xl('Paper Size')),
1454 'RA4' => ('RA4' . " " . xl('Paper Size')),
1455 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1456 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1457 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1458 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1459 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1461 'LETTER', // default = tree menu
1462 xl('Rx Paper Size')
1464 'rx_left_margin' => array(
1465 xl('Rx Left Margin (px)'),
1466 'num',
1467 '30',
1468 xl('Rx Left Margin (px)')
1470 'rx_right_margin' => array(
1471 xl('Rx Right Margin (px)'),
1472 'num',
1473 '30',
1474 xl('Rx Right Margin (px)')
1476 'rx_top_margin' => array(
1477 xl('Rx Top Margin (px)'),
1478 'num',
1479 '72',
1480 xl('Rx Top Margin (px)')
1482 'rx_bottom_margin' => array(
1483 xl('Rx Bottom Margin (px)'),
1484 'num',
1485 '30',
1486 xl('Rx Bottom Margin (px)')