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