erx globals
[openemr.git] / library / globals.inc.php
blob6a1c59e0c02b0009f62281c84ea24d748af08acd
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 // Russian // xl('Russian')
42 // Slovak // xl('Slovak')
43 // Spanish // xl('Spanish')
44 // Swedish // xl('Swedish')
45 // Turkish // xl('Turkish')
47 // OS-dependent stuff.
48 if (stristr(PHP_OS, 'WIN')) {
49 // MS Windows
50 $mysql_bin_dir = 'C:/xampp/mysql/bin';
51 $perl_bin_dir = 'C:/xampp/perl/bin';
52 $temporary_files_dir = 'C:/windows/temp';
53 $backup_log_dir = 'C:/windows/temp';
55 else {
56 // Everything else
57 $mysql_bin_dir = '/usr/bin';
58 $perl_bin_dir = '/usr/bin';
59 $temporary_files_dir = '/tmp';
60 $backup_log_dir = '/tmp';
63 // Language constant declarations:
64 // xl('Appearance')
65 // xl('Locale')
66 // xl('Features')
67 // xl('Calendar')
68 // xl('Security')
69 // xl('Notifications')
70 // xl('Miscellaneous')
72 // List of user specific tabs and globals
73 $USER_SPECIFIC_TABS = array('Appearance',
74 'Locale',
75 'Calendar',
76 'Connectors');
77 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
78 'concurrent_layout',
79 'css_header',
80 'units_of_measurement',
81 'date_display_format',
82 'time_display_format',
83 'event_color',
84 'erx_import_status_message');
86 $GLOBALS_METADATA = array(
88 // Appearance Tab
90 'Appearance' => array(
92 'default_top_pane' => array(
93 xl('Main Top Pane Screen'), // descriptive name
94 array(
95 'main_info.php' => xl('Calendar Screen'),
96 '../new/new.php' => xl('Patient Search/Add Screen'),
98 'main_info.php', // default = calendar
99 xl('Type of screen layout')
102 'concurrent_layout' => array(
103 xl('Layout Style'), // descriptive name
104 array(
105 '0' => xl('Old style layout with no left menu'),
106 '1' => xl('Navigation menu consists of pairs of radio buttons'),
107 '2' => xl('Navigation menu is a tree view'),
108 '3' => xl('Navigation uses a sliding menu'),
110 '3', // default = tree menu
111 xl('Type of screen layout')
114 'css_header' => array(
115 xl('Theme'),
116 'css',
117 'style_oemr.css',
118 xl('Pick a CSS theme.')
121 'gbl_nav_area_width' => array(
122 xl('Navigation Area Width'),
123 'num',
124 '150',
125 xl('Width in pixels of the left navigation frame.')
128 'openemr_name' => array(
129 xl('Application Title'),
130 'text',
131 'OpenEMR',
132 xl('Application name for login page and main window title.')
135 'full_new_patient_form' => array(
136 xl('New Patient Form'),
137 array(
138 '0' => xl('Old-style static form without search or duplication check'),
139 '1' => xl('All demographics fields, with search and duplication check'),
140 '2' => xl('Mandatory or specified fields only, search and dup check'),
141 '3' => xl('Mandatory or specified fields only, dup check, no search'),
143 '1', // default
144 xl('Style of form used for adding new patients')
147 'patient_search_results_style' => array(
148 xl('Patient Search Results Style'),
149 array(
150 '0' => xl('Encounter statistics'),
151 '1' => xl('Mandatory and specified fields'),
153 '0', // default
154 xl('Type of columns displayed for patient search results')
157 'gbl_tall_nav_area' => array(
158 xl('Tall Navigation Area'),
159 'bool', // data type
160 '0', // default = false
161 xl('Navigation area uses full height of frameset')
164 'gbl_nav_visit_forms' => array(
165 xl('Navigation Area Visit Forms'),
166 'bool', // data type
167 '1', // default = true
168 xl('Navigation area includes encounter forms')
171 'simplified_demographics' => array(
172 xl('Simplified Demographics'),
173 'bool', // data type
174 '0', // default = false
175 xl('Omit insurance and some other things from the demographics form')
178 'simplified_prescriptions' => array(
179 xl('Simplified Prescriptions'),
180 'bool', // data type
181 '0', // default = false
182 xl('Omit form, route and interval which then become part of dosage')
185 'simplified_copay' => array(
186 xl('Simplified Co-Pay'),
187 'bool', // data type
188 '0', // default = false
189 xl('Omit method of payment from the co-pay panel')
192 'use_charges_panel' => array(
193 xl('Use Charges Panel'),
194 'bool', // data type
195 '0', // default = false
196 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
199 'online_support_link' => array(
200 xl('Online Support Link'),
201 'text', // data type
202 'http://open-emr.org/',
203 xl('URL for OpenEMR support.')
206 'encounter_page_size' => array(
207 xl('Encounter Page Size'),
208 array(
209 '0' => xl('Show All'),
210 '5' => '5',
211 '10' => '10',
212 '15' => '15',
213 '20' => '20',
214 '25' => '25',
215 '50' => '50',
217 '20',
218 xl('Number of encounters to display per page.')
223 // Locale Tab
225 'Locale' => array(
227 'language_default' => array(
228 xl('Default Language'),
229 'lang', // data type
230 'English (Standard)', // default = english
231 xl('Default language if no other is allowed or chosen.')
234 'language_menu_showall' => array(
235 xl('All Languages Allowed'),
236 'bool', // data type
237 '1', // default = true
238 xl('Allow all available languages as choices on menu at login.')
241 'language_menu_other' => array(
242 xl('Allowed Languages'),
243 'm_lang', // data type
244 '', // default = none
245 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
248 'allow_debug_language' => array(
249 xl('Allow Debugging Language'),
250 'bool', // data type
251 '1', // default = true during development and false for production releases
252 xl('This will allow selection of the debugging (\'dummy\') language.')
255 'translate_layout' => array(
256 xl('Translate Layouts'),
257 'bool', // data type
258 '1', // default = true
259 xl('Is text from form layouts to be translated?')
262 'translate_lists' => array(
263 xl('Translate Lists'),
264 'bool', // data type
265 '1', // default = true
266 xl('Is text from lists to be translated?')
269 'translate_gacl_groups' => array(
270 xl('Translate Access Control Groups'),
271 'bool', // data type
272 '1', // default = true
273 xl('Are access control group names to be translated?')
276 'translate_form_titles' => array(
277 xl('Translate Patient Note Titles'),
278 'bool', // data type
279 '1', // default = true
280 xl('Are patient note titles to be translated?')
283 'translate_document_categories' => array(
284 xl('Translate Document Categories'),
285 'bool', // data type
286 '1', // default = true
287 xl('Are document category names to be translated?')
290 'translate_appt_categories' => array(
291 xl('Translate Appointment Categories'),
292 'bool', // data type
293 '1', // default = true
294 xl('Are appointment category names to be translated?')
297 'units_of_measurement' => array(
298 xl('Units for Visit Forms'),
299 array(
300 '1' => xl('Show both US and metric (main unit is US)'),
301 '2' => xl('Show both US and metric (main unit is metric)'),
302 '3' => xl('Show US only'),
303 '4' => xl('Show metric only'),
305 '1', // default = Both/US
306 xl('Applies to the Vitals form and Growth Chart')
309 'disable_deprecated_metrics_form' => array(
310 xl('Disable Old Metric Vitals Form'),
311 'bool', // data type
312 '1', // default = true
313 xl('This was the older metric-only Vitals form, now deprecated.')
316 'phone_country_code' => array(
317 xl('Telephone Country Code'),
318 'num',
319 '1', // default = North America
320 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
323 'date_display_format' => array(
324 xl('Date Display Format'),
325 array(
326 '0' => xl('YYYY-MM-DD'),
327 '1' => xl('MM/DD/YYYY'),
328 '2' => xl('DD/MM/YYYY'),
330 '0',
331 xl('Format used to display most dates.')
334 'time_display_format' => array(
335 xl('Time Display Format'),
336 array(
337 '0' => xl('24 hr'),
338 '1' => xl('12 hr'),
340 '0',
341 xl('Format used to display most times.')
344 'currency_decimals' => array(
345 xl('Currency Decimal Places'),
346 array(
347 '0' => xl('0'),
348 '1' => xl('1'),
349 '2' => xl('2'),
351 '2',
352 xl('Number of digits after decimal point for currency, usually 0 or 2.')
355 'currency_dec_point' => array(
356 xl('Currency Decimal Point Symbol'),
357 array(
358 '.' => xl('Period'),
359 ',' => xl('Comma'),
361 '.',
362 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
365 'currency_thousands_sep' => array(
366 xl('Currency Thousands Separator'),
367 array(
368 ',' => xl('Comma'),
369 '.' => xl('Period'),
370 ' ' => xl('Space'),
371 '' => xl('None'),
373 ',',
374 xl('Symbol used to separate thousands for currency.')
377 'gbl_currency_symbol' => array(
378 xl('Currency Designator'),
379 'text', // data type
380 '$', // default
381 xl('Code or symbol to indicate currency')
386 // Features Tab
388 'Features' => array(
390 'specific_application' => array(
391 xl('Specific Application'),
392 array(
393 '0' => xl('None'),
394 '1' => xl('Athletic team'),
395 '2' => xl('IPPF'),
396 '3' => xl('Weight loss clinic'),
398 '0', // default
399 xl('Indicator for specialized usage')
402 'inhouse_pharmacy' => array(
403 xl('Drugs and Products'),
404 array(
405 '0' => xl('Do not inventory and sell any products'),
406 '1' => xl('Inventory and sell drugs only'),
407 '2' => xl('Inventory and sell both drugs and non-drug products'),
408 '3' => xl('Products but no prescription drugs and no templates'),
410 '0', // default
411 xl('Option to support inventory and sales of products')
414 'disable_chart_tracker' => array(
415 xl('Disable Chart Tracker'),
416 'bool', // data type
417 '0', // default = false
418 xl('Removes the Chart Tracker feature')
421 'disable_phpmyadmin_link' => array(
422 xl('Disable phpMyAdmin'),
423 'bool', // data type
424 '0', // default = false
425 xl('Removes support for phpMyAdmin')
428 'disable_immunizations' => array(
429 xl('Disable Immunizations'),
430 'bool', // data type
431 '0', // default = false
432 xl('Removes support for immunizations')
435 'disable_prescriptions' => array(
436 xl('Disable Prescriptions'),
437 'bool', // data type
438 '0', // default = false
439 xl('Removes support for prescriptions')
442 'omit_employers' => array(
443 xl('Omit Employers'),
444 'bool', // data type
445 '0', // default = false
446 xl('Omit employer information in patient demographics')
449 'select_multi_providers' => array(
450 xl('Support Multi-Provider Events'),
451 'bool', // data type
452 '0', // default = false
453 xl('Support calendar events that apply to multiple providers')
456 'disable_non_default_groups' => array(
457 xl('Disable User Groups'),
458 'bool', // data type
459 '1', // default = true
460 xl('Normally this should be checked. Not related to access control.')
463 'ignore_pnotes_authorization' => array(
464 xl('Skip Authorization of Patient Notes'),
465 'bool', // data type
466 '1', // default = true
467 xl('Do not require patient notes to be authorized')
470 'support_encounter_claims' => array(
471 xl('Allow Encounter Claims'),
472 'bool', // data type
473 '0', // default = false
474 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
477 'advance_directives_warning' => array(
478 xl('Advance Directives Warning'),
479 'bool', // data type
480 '0', // default = false
481 xl('Display advance directives in the demographics page.')
484 'configuration_import_export' => array(
485 xl('Configuration Export/Import'),
486 'bool', // data type
487 '0', // default = false
488 xl('Support export/import of configuration data via the Backup page.')
491 'restrict_user_facility' => array(
492 xl('Restrict Users to Facilities'),
493 'bool', // data type
494 '0', // default
495 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
498 'set_facility_cookie' => array(
499 xl('Remember Selected Facility'),
500 'bool', // data type
501 '0', // default
502 xl('Set a facility cookie to remember the selected facility between logins.')
505 'receipts_by_provider' => array(
506 xl('Print Receipts by Provider'),
507 'bool',
508 '0', // default
509 xl('Causes Receipts to Print Encounter/Primary Provider Info')
512 'discount_by_money' => array(
513 xl('Discounts as Monetary Amounts'),
514 'bool', // data type
515 '1', // default = true
516 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
519 'gbl_visit_referral_source' => array(
520 xl('Referral Source for Encounters'),
521 'bool', // data type
522 '0', // default = false
523 xl('A referral source may be specified for each visit.')
526 'gbl_mask_patient_id' => array(
527 xl('Mask for Patient IDs'),
528 'text', // data type
529 '', // default
530 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
533 'gbl_mask_invoice_number' => array(
534 xl('Mask for Invoice Numbers'),
535 'text', // data type
536 '', // default
537 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
540 'gbl_mask_product_id' => array(
541 xl('Mask for Product IDs'),
542 'text', // data type
543 '', // default
544 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
547 'force_billing_widget_open' => array(
548 xl('Force Billing Widget Open'),
549 'bool', // data type
550 '0', // default = false
551 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
554 'activate_ccr_ccd_report' => array(
555 xl('Activate CCR/CCD Reporting'),
556 'bool', // data type
557 '1', // default = true
558 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
561 'hide_document_encryption' => array(
562 xl('Hide Encryption/Decryption Options In Document Management'),
563 'bool', // data type
564 '1', // default = true
565 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
568 'use_custom_immun_list' => array(
569 xl('Use Custom Immunization List'),
570 'bool', // data type
571 '0', // default = true
572 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
577 // Calendar Tab
579 'Calendar' => array(
581 'disable_calendar' => array(
582 xl('Disable Calendar'),
583 'bool', // data type
584 '0', // default
585 xl('Do not display the calendar.')
588 'schedule_start' => array(
589 xl('Calendar Starting Hour'),
590 'hour',
591 '8', // default
592 xl('Beginning hour of day for calendar events.')
595 'schedule_end' => array(
596 xl('Calendar Ending Hour'),
597 'hour',
598 '17', // default
599 xl('Ending hour of day for calendar events.')
602 'calendar_interval' => array(
603 xl('Calendar Interval'),
604 array(
605 '5' => '5',
606 '10' => '10',
607 '15' => '15',
608 '20' => '20',
609 '30' => '30',
610 '60' => '60',
612 '15', // default
613 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
616 'calendar_appt_style' => array(
617 xl('Appointment Display Style'),
618 array(
619 '1' => 'Last name',
620 '2' => 'Last name, first name',
621 '3' => 'Last name, first name (title)',
622 '4' => 'Last name, first name (title: description)',
624 '2', // default
625 xl('This determines how appointments display on the calendar.')
628 'docs_see_entire_calendar' => array(
629 xl('Providers See Entire Calendar'),
630 'bool', // data type
631 '0', // default
632 xl('Check this if you want providers to see all appointments by default and not just their own.')
635 'auto_create_new_encounters' => array(
636 xl('Auto-Create New Encounters'),
637 'bool', // data type
638 '1', // default
639 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
642 'event_color' => array(
643 xl('Appointment/Event Color'),
644 array(
645 '1' => 'Category Color Schema',
646 '2' => 'Facility Color Schema',
647 ), // data type
648 '1', // default
649 xl('This determines which color schema used for appointment')
654 // Security Tab
656 'Security' => array(
658 'timeout' => array(
659 xl('Idle Session Timeout Seconds'),
660 'num', // data type
661 '7200', // default
662 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
665 'secure_password' => array(
666 xl('Require Strong Passwords'),
667 'bool', // data type
668 '0', // default
669 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
672 'password_history' => array(
673 xl('Require Unique Passwords'),
674 'bool', // data type
675 '0', // default
676 xl('Means none of last three passwords are allowed when changing a password.')
679 'password_expiration_days' => array(
680 xl('Default Password Expiration Days'),
681 'num', // data type
682 '0', // default
683 xl('Default password expiration period in days. 0 means this feature is disabled.')
686 'password_grace_time' => array(
687 xl('Password Expiration Grace Period'),
688 'num', // data type
689 '0', // default
690 xl('Period in days where a user may login with an expired password.')
693 'is_client_ssl_enabled' => array(
694 xl('Enable Client SSL'),
695 'bool', // data type
696 '0', // default
697 xl('Enable client SSL certificate authentication.')
700 'certificate_authority_crt' => array(
701 xl('Path to CA Certificate File'),
702 'text', // data type
703 '', // default
704 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
707 'certificate_authority_key' => array(
708 xl('Path to CA Key File'),
709 'text', // data type
710 '', // default
711 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
714 'client_certificate_valid_in_days' => array(
715 xl('Client Certificate Expiration Days'),
716 'num', // data type
717 '365', // default
718 xl('Number of days that the client certificate is valid.')
721 'Emergency_Login_email_id' => array(
722 xl('Emergency Login Email Address'),
723 'text', // data type
724 '', // default
725 xl('Email address, if any, to receive emergency login user activation messages.')
730 // Notifications Tab
732 'Notifications' => array(
734 'patient_reminder_sender_name' => array(
735 xl('Patient Reminder Sender Name'),
736 'text', // data type
737 '', // default
738 xl('Name of the sender for patient reminders.')
741 'patient_reminder_sender_email' => array(
742 xl('Patient Reminder Sender Email'),
743 'text', // data type
744 '', // default
745 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.')
748 'practice_return_email_path' => array(
749 xl('Notification Email Address'),
750 'text', // data type
751 '', // default
752 xl('Email address, if any, to receive administrative notifications.')
755 'EMAIL_METHOD' => array(
756 xl('Email Transport Method'),
757 array(
758 'PHPMAIL' => 'PHPMAIL',
759 'SENDMAIL' => 'SENDMAIL',
760 'SMTP' => 'SMTP',
762 'SMTP', // default
763 xl('Method for sending outgoing email.')
766 'SMTP_HOST' => array(
767 xl('SMTP Server Hostname'),
768 'text', // data type
769 'localhost', // default
770 xl('If SMTP is used, the server`s hostname or IP address.')
773 'SMTP_PORT' => array(
774 xl('SMTP Server Port Number'),
775 'num', // data type
776 '25', // default
777 xl('If SMTP is used, the server`s TCP port number (usually 25).')
780 'SMTP_USER' => array(
781 xl('SMTP User for Authentication'),
782 'text', // data type
783 '', // default
784 xl('Must be empty if SMTP authentication is not used.')
787 'SMTP_PASS' => array(
788 xl('SMTP Password for Authentication'),
789 'text', // data type
790 '', // default
791 xl('Must be empty if SMTP authentication is not used.')
794 'EMAIL_NOTIFICATION_HOUR' => array(
795 xl('Email Notification Hours'),
796 'num', // data type
797 '50', // default
798 xl('Number of hours in advance to send email notifications.')
801 'SMS_NOTIFICATION_HOUR' => array(
802 xl('SMS Notification Hours'),
803 'num', // data type
804 '50', // default
805 xl('Number of hours in advance to send SMS notifications.')
808 'SMS_GATEWAY_USENAME' => array(
809 xl('SMS Gateway Username'),
810 'text', // data type
811 '', // default
812 xl('Username for SMS Gateway.')
815 'SMS_GATEWAY_PASSWORD' => array(
816 xl('SMS Gateway Password'),
817 'text', // data type
818 '', // default
819 xl('Password for SMS Gateway.')
822 'SMS_GATEWAY_APIKEY' => array(
823 xl('SMS Gateway API Key'),
824 'text', // data type
825 '', // default
826 xl('API key for SMS Gateway.')
829 'phone_notification_hour' => array(
830 xl('Phone Notification Hour'),
831 'num', // data type
832 '50', // default
833 xl('Number of hours in advance to send Phone notification.')
836 'phone_gateway_username' => array(
837 xl('Phone Gateway Username'),
838 'text', // data type
839 '', // default
840 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
843 'phone_gateway_password' => array(
844 xl('Phone Gateway Password'),
845 'text', // data type
846 '', // default
847 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
850 'phone_gateway_url' => array(
851 xl('Phone Gateway URL'),
852 'text', // data type
853 '', // default
854 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
859 // CDR (Clinical Decision Rules)
861 'CDR' => array(
863 'enable_cdr' => array(
864 xl('Enable Clinical Decisions Rules (CDR)'),
865 'bool', // data type
866 '1', // default
867 xl('Enable Clinical Decisions Rules (CDR)')
870 'enable_cdr_crw' => array(
871 xl('Enable Clinical Reminder Widget'),
872 'bool', // data type
873 '1', // default
874 xl('Enable Clinical Reminder Widget')
877 'enable_cdr_crp' => array(
878 xl('Enable Clinical Reminder Popup'),
879 'bool', // data type
880 '1', // default
881 xl('Enable Clinical Reminder Popup')
884 'enable_cdr_prw' => array(
885 xl('Enable Patient Reminder Widget'),
886 'bool', // data type
887 '1', // default
888 xl('Enable Patient Reminder Widget')
891 'enable_cqm' => array(
892 xl('Enable CQM Reporting'),
893 'bool', // data type
894 '1', // default
895 xl('Enable Clinical Quality Measure (CQM) Reporting')
898 'pqri_registry_name' => array(
899 xl('PQRI Registry Name'),
900 'text', // data type
901 'Model Registry', // default
902 xl('PQRI Registry Name')
905 'pqri_registry_id' => array(
906 xl('PQRI Registry ID'),
907 'text', // data type
908 '125789123', // default
909 xl('PQRI Registry ID')
912 'enable_amc' => array(
913 xl('Enable AMC Reporting'),
914 'bool', // data type
915 '1', // default
916 xl('Enable Automated Measure Calculations (AMC) Reporting')
919 'enable_amc_prompting' => array(
920 xl('Enable AMC Prompting'),
921 'bool', // data type
922 '1', // default
923 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
926 'enable_amc_tracking' => array(
927 xl('Enable AMC Tracking'),
928 'bool', // data type
929 '1', // default
930 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
935 // Logging
937 'Logging' => array(
939 'enable_auditlog' => array(
940 xl('Enable Audit Logging'),
941 'bool', // data type
942 '1', // default
943 xl('Enable Audit Logging')
946 'audit_events_patient-record' => array(
947 xl('Audit Logging Patient Record'),
948 'bool', // data type
949 '1', // default
950 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
953 'audit_events_scheduling' => array(
954 xl('Audit Logging Scheduling'),
955 'bool', // data type
956 '1', // default
957 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
960 'audit_events_order' => array(
961 xl('Audit Logging Order'),
962 'bool', // data type
963 '1', // default
964 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
967 'audit_events_security-administration' => array(
968 xl('Audit Logging Security Administration'),
969 'bool', // data type
970 '1', // default
971 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
974 'audit_events_backup' => array(
975 xl('Audit Logging Backups'),
976 'bool', // data type
977 '1', // default
978 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
981 'audit_events_other' => array(
982 xl('Audit Logging Miscellaneous'),
983 'bool', // data type
984 '1', // default
985 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
988 'audit_events_query' => array(
989 xl('Audit Logging SELECT Query'),
990 'bool', // data type
991 '0', // default
992 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
995 'enable_atna_audit' => array(
996 xl('Enable ATNA Auditing'),
997 'bool', // data type
998 '0', // default
999 xl('Enable Audit Trail and Node Authentication (ATNA).')
1002 'atna_audit_host' => array(
1003 xl('ATNA audit host'),
1004 'text', // data type
1005 '', // default
1006 xl('The hostname of the ATNA audit repository machine.')
1009 'atna_audit_port' => array(
1010 xl('ATNA audit port'),
1011 'text', // data type
1012 '6514', // default
1013 xl('Listening port of the RFC 5425 TLS syslog server.')
1016 'atna_audit_localcert' => array(
1017 xl('ATNA audit local certificate'),
1018 'text', // data type
1019 '', // default
1020 xl('Certificate to send to RFC 5425 TLS syslog server.')
1023 'atna_audit_cacert' => array(
1024 xl('ATNA audit CA certificate'),
1025 'text', // data type
1026 '', // default
1027 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1032 // Miscellaneous Tab
1034 'Miscellaneous' => array(
1036 'mysql_bin_dir' => array(
1037 xl('Path to MySQL Binaries'),
1038 'text', // data type
1039 $mysql_bin_dir, // default
1040 xl('Full path to directory containing MySQL executables.')
1043 'perl_bin_dir' => array(
1044 xl('Path to Perl Binaries'),
1045 'text', // data type
1046 $perl_bin_dir, // default
1047 xl('Full path to directory containing Perl executables.')
1050 'temporary_files_dir' => array(
1051 xl('Path to Temporary Files'),
1052 'text', // data type
1053 $temporary_files_dir, // default
1054 xl('Full path to directory used for temporary files.')
1057 'backup_log_dir' => array(
1058 xl('Path for Event Log Backup'),
1059 'text', // data type
1060 $backup_log_dir, // default
1061 xl('Full path to directory for event log backup.')
1064 'state_data_type' => array(
1065 xl('State Data Type'),
1066 array(
1067 '2' => xl('Text field'),
1068 '1' => xl('Single-selection list'),
1069 '26' => xl('Single-selection list with ability to add to the list'),
1071 '26', // default
1072 xl('Field type to use for employer or subscriber state in demographics.')
1075 'state_list' => array(
1076 xl('State list'),
1077 'text', // data type
1078 'state', // default
1079 xl('List used by above State Data Type option.')
1082 'state_custom_addlist_widget' => array(
1083 xl('State List Widget Custom Fields'),
1084 'bool', // data type
1085 '1', // default
1086 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1089 'country_data_type' => array(
1090 xl('Country Data Type'),
1091 array(
1092 '2' => xl('Text field'),
1093 '1' => xl('Single-selection list'),
1094 '26' => xl('Single-selection list with ability to add to the list'),
1096 '26', // default
1097 xl('Field type to use for employer or subscriber country in demographics.')
1100 'country_list' => array(
1101 xl('Country list'),
1102 'text', // data type
1103 'country', // default
1104 xl('List used by above Country Data Type option.')
1107 'print_command' => array(
1108 xl('Print Command'),
1109 'text', // data type
1110 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1111 xl('Shell command for printing from the server.')
1114 'default_chief_complaint' => array(
1115 xl('Default Reason for Visit'),
1116 'text', // data type
1118 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1121 'default_new_encounter_form' => array(
1122 xl('Default Encounter Form ID'),
1123 'text', // data type
1125 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1128 'patient_id_category_name' => array(
1129 xl('Patient ID Category Name'),
1130 'text', // data type
1131 'Patient ID card', // default
1132 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1135 'patient_photo_category_name' => array(
1136 xl('Patient Photo Category Name'),
1137 'text', // data type
1138 'Patient Photograph', // default
1139 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1142 'MedicareReferrerIsRenderer' => array(
1143 xl('Medicare Referrer Is Renderer'),
1144 'bool', // data type
1145 '0', // default = true
1146 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1149 'post_to_date_benchmark' => array(
1150 xl('Financial Close Date (yyyy-mm-dd)'),
1151 'text', // data type
1152 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1153 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1156 'enable_hylafax' => array(
1157 xl('Enable Hylafax Support'),
1158 'bool', // data type
1159 '0', // default
1160 xl('Enable Hylafax Support')
1163 'hylafax_server' => array(
1164 xl('Hylafax Server'),
1165 'text', // data type
1166 'localhost', // default
1167 xl('Hylafax server hostname.')
1170 'hylafax_basedir' => array(
1171 xl('Hylafax Directory'),
1172 'text', // data type
1173 '/var/spool/fax', // default
1174 xl('Location where Hylafax stores faxes.')
1177 'hylafax_enscript' => array(
1178 xl('Hylafax Enscript Command'),
1179 'text', // data type
1180 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1181 xl('Enscript command used by Hylafax.')
1184 'enable_scanner' => array(
1185 xl('Enable Scanner Support'),
1186 'bool', // data type
1187 '0', // default
1188 xl('Enable Scanner Support')
1191 'scanner_output_directory' => array(
1192 xl('Scanner Directory'),
1193 'text', // data type
1194 '/mnt/scan_docs', // default
1195 xl('Location where scans are stored.')
1200 // Portal Tab
1202 'Portal' => array(
1204 'portal_onsite_enable' => array(
1205 xl('Enable Onsite Patient Portal'),
1206 'bool', // data type
1207 '0',
1208 xl('Enable Onsite Patient Portal.')
1211 'portal_onsite_address' => array(
1212 xl('Onsite Patient Portal Site Address'),
1213 'text', // data type
1214 'https://your_web_site.com/openemr/patients',
1215 xl('Website link for the Onsite Patient Portal.')
1218 'portal_offsite_enable' => array(
1219 xl('Enable Offsite Patient Portal'),
1220 'bool', // data type
1221 '0',
1222 xl('Enable Offsite Patient Portal.')
1225 'portal_offsite_username' => array(
1226 xl('Offsite Patient Portal Username'),
1227 'text', // data type
1229 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1232 'portal_offsite_password' => array(
1233 xl('Offsite Patient Portal Password'),
1234 'pwd', // data type
1236 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1239 'portal_offsite_address' => array(
1240 xl('Offsite Patient Portal Site Address'),
1241 'text', // data type
1242 'https://mydocsportal.com/provider.php',
1243 xl('Offsite Https link for the Patient Portal.')
1248 // Connectors Tab
1250 'Connectors' => array(
1252 'lab_exchange_enable' => array(
1253 xl('Enable Lab Exchange'),
1254 'bool', // data type
1255 '0',
1256 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1259 'lab_exchange_siteid' => array(
1260 xl('Lab Exchange Site ID'),
1261 'text', // data type
1262 '3',
1263 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1266 'lab_exchange_token' => array(
1267 xl('Lab Exchange Token ID'),
1268 'text', // data type
1269 '12345',
1270 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1273 'lab_exchange_endpoint' => array(
1274 xl('Lab Exchange Site Address'),
1275 'text', // data type
1276 'https://openemrsupport.com:29443/len/api',
1277 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1280 'erx_enable' => array(
1281 xl('Enable NewCrop eRx Service'),
1282 'bool', // data type
1283 '0',
1284 xl('Enable ZMG, LLC eRx service')
1287 'erx_path_production' => array(
1288 xl('NewCrop eRx Site Address'),
1289 'text', // data type
1290 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1291 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1294 'erx_path_soap_production' => array(
1295 xl('NewCrop eRx Web Service Address'),
1296 'text', // data type
1297 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1298 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1301 'partner_name_production' => array(
1302 xl('NewCrop eRx Partner Name'),
1303 'text', // data type
1305 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1308 'erx_name_production' => array(
1309 xl('NewCrop eRx Name'),
1310 'text', // data type
1312 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1315 'erx_password_production' => array(
1316 xl('NewCrop eRx Password'),
1317 'pass', // data type
1319 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1322 'erx_upload_active' => array(
1323 xl('Only upload active prescriptions'),
1324 'bool', // data type
1325 '0',
1326 xl('Only upload active prescriptions')
1329 'erx_import_status_message' => array(
1330 xl('Enable import status message for NewCrop erx'),
1331 'bool', // data type
1332 '0',
1333 xl('Enable import status message for NewCrop erx')
1336 'erx_medication_display' => array(
1337 xl('Do not display Medications uploaded to NewCrop'),
1338 'bool', // data type
1339 '0',
1340 xl('Do not display Medications uploaded to NewCrop')
1343 'erx_allergy_display' => array(
1344 xl('Do not display Allergy uploaded to NewCrop'),
1345 'bool', // data type
1346 '0',
1347 xl('Do not display Allergy uploaded to NewCrop')
1351 'Rx' => array(
1352 'rx_enable_DEA' => array(
1353 xl('Rx Enable DEA #'),
1354 'bool', // data type
1355 '1',
1356 xl('Rx Enable DEA #')
1358 'rx_show_DEA' => array(
1359 xl('Rx Show DEA #'),
1360 'bool', // data type
1361 '0',
1362 xl('Rx Show DEA #')
1364 'rx_enable_NPI' => array(
1365 xl('Rx Enable NPI'),
1366 'bool', // data type
1367 '0',
1368 xl('Rx Enable NPI')
1370 'rx_show_NPI' => array(
1371 xl('Rx Show NPI'),
1372 'bool', // data type
1373 '0',
1374 xl('Rx Show NPI')
1376 'rx_enable_SLN' => array(
1377 xl('Rx Enable State Lic. #'),
1378 'bool', // data type
1379 '0',
1380 xl('Rx Enable State Lic. #')
1382 'rx_show_SLN' => array(
1383 xl('Rx Show State Lic. #'),
1384 'bool', // data type
1385 '0',
1386 xl('Rx Show State Lic. #')
1388 'rx_paper_size' => array(
1389 xl('Rx Paper Size'), // descriptive name
1390 array(
1391 'LETTER' => xl('Letter Paper Size'),
1392 'LEGAL' => xl('Legal Paper Size'),
1393 'FOLIO' => xl('Folio Paper Size'),
1394 'EXECUTIVE' => xl('Executive Paper Size'),
1395 '4A0' => ('4A0' . " " . xl('Paper Size')),
1396 '2A0' => ('2A0' . " " . xl('Paper Size')),
1397 'A0' => ('A0' . " " . xl('Paper Size')),
1398 'A1' => ('A1' . " " . xl('Paper Size')),
1399 'A2' => ('A2' . " " . xl('Paper Size')),
1400 'A3' => ('A3' . " " . xl('Paper Size')),
1401 'A4' => ('A4' . " " . xl('Paper Size')),
1402 'A5' => ('A5' . " " . xl('Paper Size')),
1403 'A6' => ('A6' . " " . xl('Paper Size')),
1404 'A7' => ('A7' . " " . xl('Paper Size')),
1405 'A8' => ('A8' . " " . xl('Paper Size')),
1406 'A9' => ('A9' . " " . xl('Paper Size')),
1407 'A10' => ('A10' . " " . xl('Paper Size')),
1408 'B0' => ('B0' . " " . xl('Paper Size')),
1409 'B1' => ('B1' . " " . xl('Paper Size')),
1410 'B2' => ('B2' . " " . xl('Paper Size')),
1411 'B3' => ('B3' . " " . xl('Paper Size')),
1412 'B4' => ('B4' . " " . xl('Paper Size')),
1413 'B5' => ('B5' . " " . xl('Paper Size')),
1414 'B6' => ('B6' . " " . xl('Paper Size')),
1415 'B7' => ('B7' . " " . xl('Paper Size')),
1416 'B8' => ('B8' . " " . xl('Paper Size')),
1417 'B9' => ('B9' . " " . xl('Paper Size')),
1418 'B10' => ('B10' . " " . xl('Paper Size')),
1419 'C0' => ('C0' . " " . xl('Paper Size')),
1420 'C1' => ('C1' . " " . xl('Paper Size')),
1421 'C2' => ('C2' . " " . xl('Paper Size')),
1422 'C3' => ('C3' . " " . xl('Paper Size')),
1423 'C4' => ('C4' . " " . xl('Paper Size')),
1424 'C5' => ('C5' . " " . xl('Paper Size')),
1425 'C6' => ('C6' . " " . xl('Paper Size')),
1426 'C7' => ('C7' . " " . xl('Paper Size')),
1427 'C8' => ('C8' . " " . xl('Paper Size')),
1428 'C9' => ('C9' . " " . xl('Paper Size')),
1429 'C10' => ('C10' . " " . xl('Paper Size')),
1430 'RA0' => ('RA0' . " " . xl('Paper Size')),
1431 'RA1' => ('RA1' . " " . xl('Paper Size')),
1432 'RA2' => ('RA2' . " " . xl('Paper Size')),
1433 'RA3' => ('RA3' . " " . xl('Paper Size')),
1434 'RA4' => ('RA4' . " " . xl('Paper Size')),
1435 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1436 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1437 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1438 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1439 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1441 'LETTER', // default = tree menu
1442 xl('Rx Paper Size')
1444 'rx_left_margin' => array(
1445 xl('Rx Left Margin (px)'),
1446 'num',
1447 '30',
1448 xl('Rx Left Margin (px)')
1450 'rx_right_margin' => array(
1451 xl('Rx Right Margin (px)'),
1452 'num',
1453 '30',
1454 xl('Rx Right Margin (px)')
1456 'rx_top_margin' => array(
1457 xl('Rx Top Margin (px)'),
1458 'num',
1459 '72',
1460 xl('Rx Top Margin (px)')
1462 'rx_bottom_margin' => array(
1463 xl('Rx Bottom Margin (px)'),
1464 'num',
1465 '30',
1466 xl('Rx Bottom Margin (px)')