Added DataTables 1.9.0, minus examples and documentation.
[openemr.git] / library / globals.inc.php
bloba3a4a4de93178b46b021690cebfa40037d82559c
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 // Chinese (Simplified) // xl('Chinese (Simplified)')
26 // Chinese (Traditional) // xl('Chinese (Traditional)')
27 // Czech // xl('Czech')
28 // Danish // xl('Danish')
29 // Dutch // xl('Dutch')
30 // English (Indian) // xl('English (Indian)')
31 // English (Standard) // xl('English (Standard)')
32 // French // xl('French (Standard)')
33 // French // xl('French (Canadian)')
34 // German // xl('German')
35 // Greek // xl('Greek')
36 // Hebrew // xl('Hebrew')
37 // Hindi // xl('Hindi')
38 // Hungarian // xl('Hungarian')
39 // Italian // xl('Italian')
40 // Norwegian // xl('Norwegian')
41 // Polish // xl('Polish')
42 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
43 // Portuguese (European) // xl('Portuguese (European)')
44 // Romanian // xl('Romanian')
45 // Russian // xl('Russian')
46 // Slovak // xl('Slovak')
47 // Spanish (Latin American) // xl('Spanish (Latin American)')
48 // Spanish (Spain) // xl('Spanish (Spain)')
49 // Swedish // xl('Swedish')
50 // Turkish // xl('Turkish')
51 // Ukrainian // xl('Ukrainian')
52 // Vietnamese // xl('Vietnamese')
54 // OS-dependent stuff.
55 if (stristr(PHP_OS, 'WIN')) {
56 // MS Windows
57 $mysql_bin_dir = 'C:/xampp/mysql/bin';
58 $perl_bin_dir = 'C:/xampp/perl/bin';
59 $temporary_files_dir = 'C:/windows/temp';
60 $backup_log_dir = 'C:/windows/temp';
62 else {
63 // Everything else
64 $mysql_bin_dir = '/usr/bin';
65 $perl_bin_dir = '/usr/bin';
66 $temporary_files_dir = '/tmp';
67 $backup_log_dir = '/tmp';
70 // Language constant declarations:
71 // xl('Appearance')
72 // xl('Locale')
73 // xl('Features')
74 // xl('Calendar')
75 // xl('Security')
76 // xl('Notifications')
77 // xl('Miscellaneous')
79 // List of user specific tabs and globals
80 $USER_SPECIFIC_TABS = array('Appearance',
81 'Locale',
82 'Calendar',
83 'Connectors');
84 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
85 'concurrent_layout',
86 'css_header',
87 'units_of_measurement',
88 'date_display_format',
89 'time_display_format',
90 'event_color',
91 'erx_import_status_message');
93 $GLOBALS_METADATA = array(
95 // Appearance Tab
97 'Appearance' => array(
99 'default_top_pane' => array(
100 xl('Main Top Pane Screen'), // descriptive name
101 array(
102 'main_info.php' => xl('Calendar Screen'),
103 '../new/new.php' => xl('Patient Search/Add Screen'),
105 'main_info.php', // default = calendar
106 xl('Type of screen layout')
109 'concurrent_layout' => array(
110 xl('Layout Style'), // descriptive name
111 array(
112 '0' => xl('Old style layout with no left menu'),
113 '1' => xl('Navigation menu consists of pairs of radio buttons'),
114 '2' => xl('Navigation menu is a tree view'),
115 '3' => xl('Navigation uses a sliding menu'),
117 '3', // default = tree menu
118 xl('Type of screen layout')
121 'css_header' => array(
122 xl('Theme'),
123 'css',
124 'style_oemr.css',
125 xl('Pick a CSS theme.')
128 'gbl_nav_area_width' => array(
129 xl('Navigation Area Width'),
130 'num',
131 '150',
132 xl('Width in pixels of the left navigation frame.')
135 'openemr_name' => array(
136 xl('Application Title'),
137 'text',
138 'OpenEMR',
139 xl('Application name for login page and main window title.')
142 'full_new_patient_form' => array(
143 xl('New Patient Form'),
144 array(
145 '0' => xl('Old-style static form without search or duplication check'),
146 '1' => xl('All demographics fields, with search and duplication check'),
147 '2' => xl('Mandatory or specified fields only, search and dup check'),
148 '3' => xl('Mandatory or specified fields only, dup check, no search'),
150 '1', // default
151 xl('Style of form used for adding new patients')
154 'patient_search_results_style' => array(
155 xl('Patient Search Results Style'),
156 array(
157 '0' => xl('Encounter statistics'),
158 '1' => xl('Mandatory and specified fields'),
160 '0', // default
161 xl('Type of columns displayed for patient search results')
164 'gbl_tall_nav_area' => array(
165 xl('Tall Navigation Area'),
166 'bool', // data type
167 '0', // default = false
168 xl('Navigation area uses full height of frameset')
171 'gbl_nav_visit_forms' => array(
172 xl('Navigation Area Visit Forms'),
173 'bool', // data type
174 '1', // default = true
175 xl('Navigation area includes encounter forms')
178 'simplified_demographics' => array(
179 xl('Simplified Demographics'),
180 'bool', // data type
181 '0', // default = false
182 xl('Omit insurance and some other things from the demographics form')
185 'simplified_prescriptions' => array(
186 xl('Simplified Prescriptions'),
187 'bool', // data type
188 '0', // default = false
189 xl('Omit form, route and interval which then become part of dosage')
192 'simplified_copay' => array(
193 xl('Simplified Co-Pay'),
194 'bool', // data type
195 '0', // default = false
196 xl('Omit method of payment from the co-pay panel')
199 'use_charges_panel' => array(
200 xl('Use Charges Panel'),
201 'bool', // data type
202 '0', // default = false
203 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
206 'online_support_link' => array(
207 xl('Online Support Link'),
208 'text', // data type
209 'http://open-emr.org/',
210 xl('URL for OpenEMR support.')
213 'encounter_page_size' => array(
214 xl('Encounter Page Size'),
215 array(
216 '0' => xl('Show All'),
217 '5' => '5',
218 '10' => '10',
219 '15' => '15',
220 '20' => '20',
221 '25' => '25',
222 '50' => '50',
224 '20',
225 xl('Number of encounters to display per page.')
230 // Locale Tab
232 'Locale' => array(
234 'language_default' => array(
235 xl('Default Language'),
236 'lang', // data type
237 'English (Standard)', // default = english
238 xl('Default language if no other is allowed or chosen.')
241 'language_menu_showall' => array(
242 xl('All Languages Allowed'),
243 'bool', // data type
244 '1', // default = true
245 xl('Allow all available languages as choices on menu at login.')
248 'language_menu_other' => array(
249 xl('Allowed Languages'),
250 'm_lang', // data type
251 '', // default = none
252 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
255 'allow_debug_language' => array(
256 xl('Allow Debugging Language'),
257 'bool', // data type
258 '1', // default = true during development and false for production releases
259 xl('This will allow selection of the debugging (\'dummy\') language.')
262 'translate_layout' => array(
263 xl('Translate Layouts'),
264 'bool', // data type
265 '1', // default = true
266 xl('Is text from form layouts to be translated?')
269 'translate_lists' => array(
270 xl('Translate Lists'),
271 'bool', // data type
272 '1', // default = true
273 xl('Is text from lists to be translated?')
276 'translate_gacl_groups' => array(
277 xl('Translate Access Control Groups'),
278 'bool', // data type
279 '1', // default = true
280 xl('Are access control group names to be translated?')
283 'translate_form_titles' => array(
284 xl('Translate Patient Note Titles'),
285 'bool', // data type
286 '1', // default = true
287 xl('Are patient note titles to be translated?')
290 'translate_document_categories' => array(
291 xl('Translate Document Categories'),
292 'bool', // data type
293 '1', // default = true
294 xl('Are document category names to be translated?')
297 'translate_appt_categories' => array(
298 xl('Translate Appointment Categories'),
299 'bool', // data type
300 '1', // default = true
301 xl('Are appointment category names to be translated?')
304 'units_of_measurement' => array(
305 xl('Units for Visit Forms'),
306 array(
307 '1' => xl('Show both US and metric (main unit is US)'),
308 '2' => xl('Show both US and metric (main unit is metric)'),
309 '3' => xl('Show US only'),
310 '4' => xl('Show metric only'),
312 '1', // default = Both/US
313 xl('Applies to the Vitals form and Growth Chart')
316 'disable_deprecated_metrics_form' => array(
317 xl('Disable Old Metric Vitals Form'),
318 'bool', // data type
319 '1', // default = true
320 xl('This was the older metric-only Vitals form, now deprecated.')
323 'phone_country_code' => array(
324 xl('Telephone Country Code'),
325 'num',
326 '1', // default = North America
327 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
330 'date_display_format' => array(
331 xl('Date Display Format'),
332 array(
333 '0' => xl('YYYY-MM-DD'),
334 '1' => xl('MM/DD/YYYY'),
335 '2' => xl('DD/MM/YYYY'),
337 '0',
338 xl('Format used to display most dates.')
341 'time_display_format' => array(
342 xl('Time Display Format'),
343 array(
344 '0' => xl('24 hr'),
345 '1' => xl('12 hr'),
347 '0',
348 xl('Format used to display most times.')
351 'currency_decimals' => array(
352 xl('Currency Decimal Places'),
353 array(
354 '0' => xl('0'),
355 '1' => xl('1'),
356 '2' => xl('2'),
358 '2',
359 xl('Number of digits after decimal point for currency, usually 0 or 2.')
362 'currency_dec_point' => array(
363 xl('Currency Decimal Point Symbol'),
364 array(
365 '.' => xl('Period'),
366 ',' => xl('Comma'),
368 '.',
369 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
372 'currency_thousands_sep' => array(
373 xl('Currency Thousands Separator'),
374 array(
375 ',' => xl('Comma'),
376 '.' => xl('Period'),
377 ' ' => xl('Space'),
378 '' => xl('None'),
380 ',',
381 xl('Symbol used to separate thousands for currency.')
384 'gbl_currency_symbol' => array(
385 xl('Currency Designator'),
386 'text', // data type
387 '$', // default
388 xl('Code or symbol to indicate currency')
393 // Features Tab
395 'Features' => array(
397 'specific_application' => array(
398 xl('Specific Application'),
399 array(
400 '0' => xl('None'),
401 '1' => xl('Athletic team'),
402 '2' => xl('IPPF'),
403 '3' => xl('Weight loss clinic'),
405 '0', // default
406 xl('Indicator for specialized usage')
409 'inhouse_pharmacy' => array(
410 xl('Drugs and Products'),
411 array(
412 '0' => xl('Do not inventory and sell any products'),
413 '1' => xl('Inventory and sell drugs only'),
414 '2' => xl('Inventory and sell both drugs and non-drug products'),
415 '3' => xl('Products but no prescription drugs and no templates'),
417 '0', // default
418 xl('Option to support inventory and sales of products')
421 'disable_chart_tracker' => array(
422 xl('Disable Chart Tracker'),
423 'bool', // data type
424 '0', // default = false
425 xl('Removes the Chart Tracker feature')
428 'disable_phpmyadmin_link' => array(
429 xl('Disable phpMyAdmin'),
430 'bool', // data type
431 '0', // default = false
432 xl('Removes support for phpMyAdmin')
435 'disable_immunizations' => array(
436 xl('Disable Immunizations'),
437 'bool', // data type
438 '0', // default = false
439 xl('Removes support for immunizations')
442 'disable_prescriptions' => array(
443 xl('Disable Prescriptions'),
444 'bool', // data type
445 '0', // default = false
446 xl('Removes support for prescriptions')
449 'omit_employers' => array(
450 xl('Omit Employers'),
451 'bool', // data type
452 '0', // default = false
453 xl('Omit employer information in patient demographics')
456 'select_multi_providers' => array(
457 xl('Support Multi-Provider Events'),
458 'bool', // data type
459 '0', // default = false
460 xl('Support calendar events that apply to multiple providers')
463 'disable_non_default_groups' => array(
464 xl('Disable User Groups'),
465 'bool', // data type
466 '1', // default = true
467 xl('Normally this should be checked. Not related to access control.')
470 'ignore_pnotes_authorization' => array(
471 xl('Skip Authorization of Patient Notes'),
472 'bool', // data type
473 '1', // default = true
474 xl('Do not require patient notes to be authorized')
477 'support_encounter_claims' => array(
478 xl('Allow Encounter Claims'),
479 'bool', // data type
480 '0', // default = false
481 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
484 'advance_directives_warning' => array(
485 xl('Advance Directives Warning'),
486 'bool', // data type
487 '0', // default = false
488 xl('Display advance directives in the demographics page.')
491 'configuration_import_export' => array(
492 xl('Configuration Export/Import'),
493 'bool', // data type
494 '0', // default = false
495 xl('Support export/import of configuration data via the Backup page.')
498 'restrict_user_facility' => array(
499 xl('Restrict Users to Facilities'),
500 'bool', // data type
501 '0', // default
502 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
505 'set_facility_cookie' => array(
506 xl('Remember Selected Facility'),
507 'bool', // data type
508 '0', // default
509 xl('Set a facility cookie to remember the selected facility between logins.')
512 'receipts_by_provider' => array(
513 xl('Print Receipts by Provider'),
514 'bool',
515 '0', // default
516 xl('Causes Receipts to Print Encounter/Primary Provider Info')
519 'discount_by_money' => array(
520 xl('Discounts as Monetary Amounts'),
521 'bool', // data type
522 '1', // default = true
523 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
526 'gbl_visit_referral_source' => array(
527 xl('Referral Source for Encounters'),
528 'bool', // data type
529 '0', // default = false
530 xl('A referral source may be specified for each visit.')
533 'gbl_mask_patient_id' => array(
534 xl('Mask for Patient IDs'),
535 'text', // data type
536 '', // default
537 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
540 'gbl_mask_invoice_number' => array(
541 xl('Mask for Invoice Numbers'),
542 'text', // data type
543 '', // default
544 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
547 'gbl_mask_product_id' => array(
548 xl('Mask for Product IDs'),
549 'text', // data type
550 '', // default
551 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
554 'force_billing_widget_open' => array(
555 xl('Force Billing Widget Open'),
556 'bool', // data type
557 '0', // default = false
558 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
561 'activate_ccr_ccd_report' => array(
562 xl('Activate CCR/CCD Reporting'),
563 'bool', // data type
564 '1', // default = true
565 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
568 'hide_document_encryption' => array(
569 xl('Hide Encryption/Decryption Options In Document Management'),
570 'bool', // data type
571 '1', // default = true
572 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
575 'use_custom_immun_list' => array(
576 xl('Use Custom Immunization List'),
577 'bool', // data type
578 '0', // default = true
579 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
584 //Documents Tab
585 'Documents' => array(
586 'document_storage_method' => array(
587 xl('Document Storage Method'),
588 array(
589 '0' => xl('Hard Disk'),
590 '1' => xl('CouchDB')
592 '0', // default
593 xl('Option to save method of document storage.')
595 'couchdb_host' => array(
596 xl('CouchDB HostName'),
597 'text',
598 'localhost',
599 xl('CouchDB host'),
601 'couchdb_user' => array(
602 xl('CouchDB UserName'),
603 'text',
605 xl('Username to connect to CouchDB'),
607 'couchdb_pass' => array(
608 xl('CouchDB Password'),
609 'pwd',
611 xl('Password to connect to CouchDB'),
613 'couchdb_port' => array(
614 xl('CouchDB Port'),
615 'text',
616 '5984',
617 xl('CouchDB port'),
619 'couchdb_dbase' => array(
620 xl('CouchDB Database'),
621 'text',
623 xl('CouchDB database name'),
625 'couchdb_log' => array(
626 xl('CouchDB Log Enable'),
627 'bool',
628 '0',
629 xl('Enable log for document uploads/downloads to CouchDB'),
633 // Calendar Tab
635 'Calendar' => array(
637 'disable_calendar' => array(
638 xl('Disable Calendar'),
639 'bool', // data type
640 '0', // default
641 xl('Do not display the calendar.')
644 'schedule_start' => array(
645 xl('Calendar Starting Hour'),
646 'hour',
647 '8', // default
648 xl('Beginning hour of day for calendar events.')
651 'schedule_end' => array(
652 xl('Calendar Ending Hour'),
653 'hour',
654 '17', // default
655 xl('Ending hour of day for calendar events.')
658 'calendar_interval' => array(
659 xl('Calendar Interval'),
660 array(
661 '5' => '5',
662 '10' => '10',
663 '15' => '15',
664 '20' => '20',
665 '30' => '30',
666 '60' => '60',
668 '15', // default
669 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
672 'calendar_appt_style' => array(
673 xl('Appointment Display Style'),
674 array(
675 '1' => 'Last name',
676 '2' => 'Last name, first name',
677 '3' => 'Last name, first name (title)',
678 '4' => 'Last name, first name (title: description)',
680 '2', // default
681 xl('This determines how appointments display on the calendar.')
684 'docs_see_entire_calendar' => array(
685 xl('Providers See Entire Calendar'),
686 'bool', // data type
687 '0', // default
688 xl('Check this if you want providers to see all appointments by default and not just their own.')
691 'auto_create_new_encounters' => array(
692 xl('Auto-Create New Encounters'),
693 'bool', // data type
694 '1', // default
695 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
698 'event_color' => array(
699 xl('Appointment/Event Color'),
700 array(
701 '1' => 'Category Color Schema',
702 '2' => 'Facility Color Schema',
703 ), // data type
704 '1', // default
705 xl('This determines which color schema used for appointment')
710 // Security Tab
712 'Security' => array(
714 'timeout' => array(
715 xl('Idle Session Timeout Seconds'),
716 'num', // data type
717 '7200', // default
718 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
721 'secure_password' => array(
722 xl('Require Strong Passwords'),
723 'bool', // data type
724 '0', // default
725 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
728 'password_history' => array(
729 xl('Require Unique Passwords'),
730 'bool', // data type
731 '0', // default
732 xl('Means none of last three passwords are allowed when changing a password.')
735 'password_expiration_days' => array(
736 xl('Default Password Expiration Days'),
737 'num', // data type
738 '0', // default
739 xl('Default password expiration period in days. 0 means this feature is disabled.')
742 'password_grace_time' => array(
743 xl('Password Expiration Grace Period'),
744 'num', // data type
745 '0', // default
746 xl('Period in days where a user may login with an expired password.')
749 'is_client_ssl_enabled' => array(
750 xl('Enable Client SSL'),
751 'bool', // data type
752 '0', // default
753 xl('Enable client SSL certificate authentication.')
756 'certificate_authority_crt' => array(
757 xl('Path to CA Certificate File'),
758 'text', // data type
759 '', // default
760 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
763 'certificate_authority_key' => array(
764 xl('Path to CA Key File'),
765 'text', // data type
766 '', // default
767 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
770 'client_certificate_valid_in_days' => array(
771 xl('Client Certificate Expiration Days'),
772 'num', // data type
773 '365', // default
774 xl('Number of days that the client certificate is valid.')
777 'Emergency_Login_email_id' => array(
778 xl('Emergency Login Email Address'),
779 'text', // data type
780 '', // default
781 xl('Email address, if any, to receive emergency login user activation messages.')
786 // Notifications Tab
788 'Notifications' => array(
790 'patient_reminder_sender_name' => array(
791 xl('Patient Reminder Sender Name'),
792 'text', // data type
793 '', // default
794 xl('Name of the sender for patient reminders.')
797 'patient_reminder_sender_email' => array(
798 xl('Patient Reminder Sender Email'),
799 'text', // data type
800 '', // default
801 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.')
804 'practice_return_email_path' => array(
805 xl('Notification Email Address'),
806 'text', // data type
807 '', // default
808 xl('Email address, if any, to receive administrative notifications.')
811 'EMAIL_METHOD' => array(
812 xl('Email Transport Method'),
813 array(
814 'PHPMAIL' => 'PHPMAIL',
815 'SENDMAIL' => 'SENDMAIL',
816 'SMTP' => 'SMTP',
818 'SMTP', // default
819 xl('Method for sending outgoing email.')
822 'SMTP_HOST' => array(
823 xl('SMTP Server Hostname'),
824 'text', // data type
825 'localhost', // default
826 xl('If SMTP is used, the server`s hostname or IP address.')
829 'SMTP_PORT' => array(
830 xl('SMTP Server Port Number'),
831 'num', // data type
832 '25', // default
833 xl('If SMTP is used, the server`s TCP port number (usually 25).')
836 'SMTP_USER' => array(
837 xl('SMTP User for Authentication'),
838 'text', // data type
839 '', // default
840 xl('Must be empty if SMTP authentication is not used.')
843 'SMTP_PASS' => array(
844 xl('SMTP Password for Authentication'),
845 'text', // data type
846 '', // default
847 xl('Must be empty if SMTP authentication is not used.')
850 'EMAIL_NOTIFICATION_HOUR' => array(
851 xl('Email Notification Hours'),
852 'num', // data type
853 '50', // default
854 xl('Number of hours in advance to send email notifications.')
857 'SMS_NOTIFICATION_HOUR' => array(
858 xl('SMS Notification Hours'),
859 'num', // data type
860 '50', // default
861 xl('Number of hours in advance to send SMS notifications.')
864 'SMS_GATEWAY_USENAME' => array(
865 xl('SMS Gateway Username'),
866 'text', // data type
867 '', // default
868 xl('Username for SMS Gateway.')
871 'SMS_GATEWAY_PASSWORD' => array(
872 xl('SMS Gateway Password'),
873 'text', // data type
874 '', // default
875 xl('Password for SMS Gateway.')
878 'SMS_GATEWAY_APIKEY' => array(
879 xl('SMS Gateway API Key'),
880 'text', // data type
881 '', // default
882 xl('API key for SMS Gateway.')
885 'phone_notification_hour' => array(
886 xl('Phone Notification Hour'),
887 'num', // data type
888 '50', // default
889 xl('Number of hours in advance to send Phone notification.')
892 'phone_gateway_username' => array(
893 xl('Phone Gateway Username'),
894 'text', // data type
895 '', // default
896 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
899 'phone_gateway_password' => array(
900 xl('Phone Gateway Password'),
901 'text', // data type
902 '', // default
903 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
906 'phone_gateway_url' => array(
907 xl('Phone Gateway URL'),
908 'text', // data type
909 '', // default
910 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
915 // CDR (Clinical Decision Rules)
917 'CDR' => array(
919 'enable_cdr' => array(
920 xl('Enable Clinical Decisions Rules (CDR)'),
921 'bool', // data type
922 '1', // default
923 xl('Enable Clinical Decisions Rules (CDR)')
926 'enable_cdr_crw' => array(
927 xl('Enable Clinical Reminder Widget'),
928 'bool', // data type
929 '1', // default
930 xl('Enable Clinical Reminder Widget')
933 'enable_cdr_crp' => array(
934 xl('Enable Clinical Reminder Popup'),
935 'bool', // data type
936 '1', // default
937 xl('Enable Clinical Reminder Popup')
940 'enable_cdr_prw' => array(
941 xl('Enable Patient Reminder Widget'),
942 'bool', // data type
943 '1', // default
944 xl('Enable Patient Reminder Widget')
947 'enable_cqm' => array(
948 xl('Enable CQM Reporting'),
949 'bool', // data type
950 '1', // default
951 xl('Enable Clinical Quality Measure (CQM) Reporting')
954 'pqri_registry_name' => array(
955 xl('PQRI Registry Name'),
956 'text', // data type
957 'Model Registry', // default
958 xl('PQRI Registry Name')
961 'pqri_registry_id' => array(
962 xl('PQRI Registry ID'),
963 'text', // data type
964 '125789123', // default
965 xl('PQRI Registry ID')
968 'enable_amc' => array(
969 xl('Enable AMC Reporting'),
970 'bool', // data type
971 '1', // default
972 xl('Enable Automated Measure Calculations (AMC) Reporting')
975 'enable_amc_prompting' => array(
976 xl('Enable AMC Prompting'),
977 'bool', // data type
978 '1', // default
979 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
982 'enable_amc_tracking' => array(
983 xl('Enable AMC Tracking'),
984 'bool', // data type
985 '1', // default
986 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
991 // Logging
993 'Logging' => array(
995 'enable_auditlog' => array(
996 xl('Enable Audit Logging'),
997 'bool', // data type
998 '1', // default
999 xl('Enable Audit Logging')
1002 'audit_events_patient-record' => array(
1003 xl('Audit Logging Patient Record'),
1004 'bool', // data type
1005 '1', // default
1006 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1009 'audit_events_scheduling' => array(
1010 xl('Audit Logging Scheduling'),
1011 'bool', // data type
1012 '1', // default
1013 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1016 'audit_events_order' => array(
1017 xl('Audit Logging Order'),
1018 'bool', // data type
1019 '1', // default
1020 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1023 'audit_events_security-administration' => array(
1024 xl('Audit Logging Security Administration'),
1025 'bool', // data type
1026 '1', // default
1027 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1030 'audit_events_backup' => array(
1031 xl('Audit Logging Backups'),
1032 'bool', // data type
1033 '1', // default
1034 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1037 'audit_events_other' => array(
1038 xl('Audit Logging Miscellaneous'),
1039 'bool', // data type
1040 '1', // default
1041 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1044 'audit_events_query' => array(
1045 xl('Audit Logging SELECT Query'),
1046 'bool', // data type
1047 '0', // default
1048 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1051 'enable_atna_audit' => array(
1052 xl('Enable ATNA Auditing'),
1053 'bool', // data type
1054 '0', // default
1055 xl('Enable Audit Trail and Node Authentication (ATNA).')
1058 'atna_audit_host' => array(
1059 xl('ATNA audit host'),
1060 'text', // data type
1061 '', // default
1062 xl('The hostname of the ATNA audit repository machine.')
1065 'atna_audit_port' => array(
1066 xl('ATNA audit port'),
1067 'text', // data type
1068 '6514', // default
1069 xl('Listening port of the RFC 5425 TLS syslog server.')
1072 'atna_audit_localcert' => array(
1073 xl('ATNA audit local certificate'),
1074 'text', // data type
1075 '', // default
1076 xl('Certificate to send to RFC 5425 TLS syslog server.')
1079 'atna_audit_cacert' => array(
1080 xl('ATNA audit CA certificate'),
1081 'text', // data type
1082 '', // default
1083 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1088 // Miscellaneous Tab
1090 'Miscellaneous' => array(
1092 'mysql_bin_dir' => array(
1093 xl('Path to MySQL Binaries'),
1094 'text', // data type
1095 $mysql_bin_dir, // default
1096 xl('Full path to directory containing MySQL executables.')
1099 'perl_bin_dir' => array(
1100 xl('Path to Perl Binaries'),
1101 'text', // data type
1102 $perl_bin_dir, // default
1103 xl('Full path to directory containing Perl executables.')
1106 'temporary_files_dir' => array(
1107 xl('Path to Temporary Files'),
1108 'text', // data type
1109 $temporary_files_dir, // default
1110 xl('Full path to directory used for temporary files.')
1113 'backup_log_dir' => array(
1114 xl('Path for Event Log Backup'),
1115 'text', // data type
1116 $backup_log_dir, // default
1117 xl('Full path to directory for event log backup.')
1120 'state_data_type' => array(
1121 xl('State Data Type'),
1122 array(
1123 '2' => xl('Text field'),
1124 '1' => xl('Single-selection list'),
1125 '26' => xl('Single-selection list with ability to add to the list'),
1127 '26', // default
1128 xl('Field type to use for employer or subscriber state in demographics.')
1131 'state_list' => array(
1132 xl('State list'),
1133 'text', // data type
1134 'state', // default
1135 xl('List used by above State Data Type option.')
1138 'state_custom_addlist_widget' => array(
1139 xl('State List Widget Custom Fields'),
1140 'bool', // data type
1141 '1', // default
1142 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1145 'country_data_type' => array(
1146 xl('Country Data Type'),
1147 array(
1148 '2' => xl('Text field'),
1149 '1' => xl('Single-selection list'),
1150 '26' => xl('Single-selection list with ability to add to the list'),
1152 '26', // default
1153 xl('Field type to use for employer or subscriber country in demographics.')
1156 'country_list' => array(
1157 xl('Country list'),
1158 'text', // data type
1159 'country', // default
1160 xl('List used by above Country Data Type option.')
1163 'print_command' => array(
1164 xl('Print Command'),
1165 'text', // data type
1166 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1167 xl('Shell command for printing from the server.')
1170 'default_chief_complaint' => array(
1171 xl('Default Reason for Visit'),
1172 'text', // data type
1174 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1177 'default_new_encounter_form' => array(
1178 xl('Default Encounter Form ID'),
1179 'text', // data type
1181 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1184 'patient_id_category_name' => array(
1185 xl('Patient ID Category Name'),
1186 'text', // data type
1187 'Patient ID card', // default
1188 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1191 'patient_photo_category_name' => array(
1192 xl('Patient Photo Category Name'),
1193 'text', // data type
1194 'Patient Photograph', // default
1195 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1198 'MedicareReferrerIsRenderer' => array(
1199 xl('Medicare Referrer Is Renderer'),
1200 'bool', // data type
1201 '0', // default = true
1202 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1205 'post_to_date_benchmark' => array(
1206 xl('Financial Close Date (yyyy-mm-dd)'),
1207 'text', // data type
1208 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1209 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1212 'enable_hylafax' => array(
1213 xl('Enable Hylafax Support'),
1214 'bool', // data type
1215 '0', // default
1216 xl('Enable Hylafax Support')
1219 'hylafax_server' => array(
1220 xl('Hylafax Server'),
1221 'text', // data type
1222 'localhost', // default
1223 xl('Hylafax server hostname.')
1226 'hylafax_basedir' => array(
1227 xl('Hylafax Directory'),
1228 'text', // data type
1229 '/var/spool/fax', // default
1230 xl('Location where Hylafax stores faxes.')
1233 'hylafax_enscript' => array(
1234 xl('Hylafax Enscript Command'),
1235 'text', // data type
1236 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1237 xl('Enscript command used by Hylafax.')
1240 'enable_scanner' => array(
1241 xl('Enable Scanner Support'),
1242 'bool', // data type
1243 '0', // default
1244 xl('Enable Scanner Support')
1247 'scanner_output_directory' => array(
1248 xl('Scanner Directory'),
1249 'text', // data type
1250 '/mnt/scan_docs', // default
1251 xl('Location where scans are stored.')
1256 // Portal Tab
1258 'Portal' => array(
1260 'portal_onsite_enable' => array(
1261 xl('Enable Onsite Patient Portal'),
1262 'bool', // data type
1263 '0',
1264 xl('Enable Onsite Patient Portal.')
1267 'portal_onsite_address' => array(
1268 xl('Onsite Patient Portal Site Address'),
1269 'text', // data type
1270 'https://your_web_site.com/openemr/patients',
1271 xl('Website link for the Onsite Patient Portal.')
1274 'portal_offsite_enable' => array(
1275 xl('Enable Offsite Patient Portal'),
1276 'bool', // data type
1277 '0',
1278 xl('Enable Offsite Patient Portal.')
1281 'portal_offsite_username' => array(
1282 xl('Offsite Patient Portal Username'),
1283 'text', // data type
1285 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1288 'portal_offsite_password' => array(
1289 xl('Offsite Patient Portal Password'),
1290 'pwd', // data type
1292 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1295 'portal_offsite_address' => array(
1296 xl('Offsite Patient Portal Site Address'),
1297 'text', // data type
1298 'https://mydocsportal.com/provider.php',
1299 xl('Offsite Https link for the Patient Portal.')
1301 'portal_offsite_address_patient_link' => array(
1302 xl('Offsite Patient Portal Site Address (Patient Link)'),
1303 'text', // data type
1304 'https://mydocsportal.com',
1305 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1310 // Connectors Tab
1312 'Connectors' => array(
1314 'lab_exchange_enable' => array(
1315 xl('Enable Lab Exchange'),
1316 'bool', // data type
1317 '0',
1318 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1321 'lab_exchange_siteid' => array(
1322 xl('Lab Exchange Site ID'),
1323 'text', // data type
1324 '3',
1325 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1328 'lab_exchange_token' => array(
1329 xl('Lab Exchange Token ID'),
1330 'text', // data type
1331 '12345',
1332 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1335 'lab_exchange_endpoint' => array(
1336 xl('Lab Exchange Site Address'),
1337 'text', // data type
1338 'https://openemrsupport.com:29443/len/api',
1339 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1342 'erx_enable' => array(
1343 xl('Enable NewCrop eRx Service'),
1344 'bool', // data type
1345 '0',
1346 xl('Enable ZMG, LLC eRx service')
1349 'erx_path_production' => array(
1350 xl('NewCrop eRx Site Address'),
1351 'text', // data type
1352 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1353 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1356 'erx_path_soap_production' => array(
1357 xl('NewCrop eRx Web Service Address'),
1358 'text', // data type
1359 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1360 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1363 'partner_name_production' => array(
1364 xl('NewCrop eRx Partner Name'),
1365 'text', // data type
1367 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1370 'erx_name_production' => array(
1371 xl('NewCrop eRx Name'),
1372 'text', // data type
1374 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1377 'erx_password_production' => array(
1378 xl('NewCrop eRx Password'),
1379 'pass', // data type
1381 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1384 'erx_upload_active' => array(
1385 xl('Only upload active prescriptions'),
1386 'bool', // data type
1387 '0',
1388 xl('Only upload active prescriptions')
1391 'erx_import_status_message' => array(
1392 xl('Enable import status message for NewCrop erx'),
1393 'bool', // data type
1394 '0',
1395 xl('Enable import status message for NewCrop erx')
1398 'erx_medication_display' => array(
1399 xl('Do not display Medications uploaded to NewCrop'),
1400 'bool', // data type
1401 '0',
1402 xl('Do not display Medications uploaded to NewCrop')
1405 'erx_allergy_display' => array(
1406 xl('Do not display Allergy uploaded to NewCrop'),
1407 'bool', // data type
1408 '0',
1409 xl('Do not display Allergy uploaded to NewCrop')
1412 'erx_default_patient_country' => array(
1413 xl('Default Patient Country'),
1414 array(
1415 '' => '',
1416 'US' => 'USA',
1417 'CA' => 'Canada',
1418 'MX' => 'Mexico'
1421 xl('Default Patient Country'),
1425 'Rx' => array(
1426 'rx_enable_DEA' => array(
1427 xl('Rx Enable DEA #'),
1428 'bool', // data type
1429 '1',
1430 xl('Rx Enable DEA #')
1432 'rx_show_DEA' => array(
1433 xl('Rx Show DEA #'),
1434 'bool', // data type
1435 '0',
1436 xl('Rx Show DEA #')
1438 'rx_enable_NPI' => array(
1439 xl('Rx Enable NPI'),
1440 'bool', // data type
1441 '0',
1442 xl('Rx Enable NPI')
1444 'rx_show_NPI' => array(
1445 xl('Rx Show NPI'),
1446 'bool', // data type
1447 '0',
1448 xl('Rx Show NPI')
1450 'rx_enable_SLN' => array(
1451 xl('Rx Enable State Lic. #'),
1452 'bool', // data type
1453 '0',
1454 xl('Rx Enable State Lic. #')
1456 'rx_show_SLN' => array(
1457 xl('Rx Show State Lic. #'),
1458 'bool', // data type
1459 '0',
1460 xl('Rx Show State Lic. #')
1462 'rx_paper_size' => array(
1463 xl('Rx Paper Size'), // descriptive name
1464 array(
1465 'LETTER' => xl('Letter Paper Size'),
1466 'LEGAL' => xl('Legal Paper Size'),
1467 'FOLIO' => xl('Folio Paper Size'),
1468 'EXECUTIVE' => xl('Executive Paper Size'),
1469 '4A0' => ('4A0' . " " . xl('Paper Size')),
1470 '2A0' => ('2A0' . " " . xl('Paper Size')),
1471 'A0' => ('A0' . " " . xl('Paper Size')),
1472 'A1' => ('A1' . " " . xl('Paper Size')),
1473 'A2' => ('A2' . " " . xl('Paper Size')),
1474 'A3' => ('A3' . " " . xl('Paper Size')),
1475 'A4' => ('A4' . " " . xl('Paper Size')),
1476 'A5' => ('A5' . " " . xl('Paper Size')),
1477 'A6' => ('A6' . " " . xl('Paper Size')),
1478 'A7' => ('A7' . " " . xl('Paper Size')),
1479 'A8' => ('A8' . " " . xl('Paper Size')),
1480 'A9' => ('A9' . " " . xl('Paper Size')),
1481 'A10' => ('A10' . " " . xl('Paper Size')),
1482 'B0' => ('B0' . " " . xl('Paper Size')),
1483 'B1' => ('B1' . " " . xl('Paper Size')),
1484 'B2' => ('B2' . " " . xl('Paper Size')),
1485 'B3' => ('B3' . " " . xl('Paper Size')),
1486 'B4' => ('B4' . " " . xl('Paper Size')),
1487 'B5' => ('B5' . " " . xl('Paper Size')),
1488 'B6' => ('B6' . " " . xl('Paper Size')),
1489 'B7' => ('B7' . " " . xl('Paper Size')),
1490 'B8' => ('B8' . " " . xl('Paper Size')),
1491 'B9' => ('B9' . " " . xl('Paper Size')),
1492 'B10' => ('B10' . " " . xl('Paper Size')),
1493 'C0' => ('C0' . " " . xl('Paper Size')),
1494 'C1' => ('C1' . " " . xl('Paper Size')),
1495 'C2' => ('C2' . " " . xl('Paper Size')),
1496 'C3' => ('C3' . " " . xl('Paper Size')),
1497 'C4' => ('C4' . " " . xl('Paper Size')),
1498 'C5' => ('C5' . " " . xl('Paper Size')),
1499 'C6' => ('C6' . " " . xl('Paper Size')),
1500 'C7' => ('C7' . " " . xl('Paper Size')),
1501 'C8' => ('C8' . " " . xl('Paper Size')),
1502 'C9' => ('C9' . " " . xl('Paper Size')),
1503 'C10' => ('C10' . " " . xl('Paper Size')),
1504 'RA0' => ('RA0' . " " . xl('Paper Size')),
1505 'RA1' => ('RA1' . " " . xl('Paper Size')),
1506 'RA2' => ('RA2' . " " . xl('Paper Size')),
1507 'RA3' => ('RA3' . " " . xl('Paper Size')),
1508 'RA4' => ('RA4' . " " . xl('Paper Size')),
1509 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1510 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1511 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1512 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1513 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1515 'LETTER', // default = tree menu
1516 xl('Rx Paper Size')
1518 'rx_left_margin' => array(
1519 xl('Rx Left Margin (px)'),
1520 'num',
1521 '30',
1522 xl('Rx Left Margin (px)')
1524 'rx_right_margin' => array(
1525 xl('Rx Right Margin (px)'),
1526 'num',
1527 '30',
1528 xl('Rx Right Margin (px)')
1530 'rx_top_margin' => array(
1531 xl('Rx Top Margin (px)'),
1532 'num',
1533 '72',
1534 xl('Rx Top Margin (px)')
1536 'rx_bottom_margin' => array(
1537 xl('Rx Bottom Margin (px)'),
1538 'num',
1539 '30',
1540 xl('Rx Bottom Margin (px)')