Support for using pounds and ounces on the vitals form.
[openemr.git] / library / globals.inc.php
blob2d22b05f779ff05f8e2718c6695b609a4d6dc5a7
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 // Estonian // xl('Estonian')
34 // French // xl('French (Standard)')
35 // French // xl('French (Canadian)')
36 // German // xl('German')
37 // Greek // xl('Greek')
38 // Hebrew // xl('Hebrew')
39 // Hindi // xl('Hindi')
40 // Hungarian // xl('Hungarian')
41 // Italian // xl('Italian')
42 // Norwegian // xl('Norwegian')
43 // Polish // xl('Polish')
44 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
45 // Portuguese (European) // xl('Portuguese (European)')
46 // Romanian // xl('Romanian')
47 // Russian // xl('Russian')
48 // Slovak // xl('Slovak')
49 // Spanish (Latin American) // xl('Spanish (Latin American)')
50 // Spanish (Spain) // xl('Spanish (Spain)')
51 // Swedish // xl('Swedish')
52 // Turkish // xl('Turkish')
53 // Ukrainian // xl('Ukrainian')
54 // Vietnamese // xl('Vietnamese')
56 // OS-dependent stuff.
57 if (stristr(PHP_OS, 'WIN')) {
58 // MS Windows
59 $mysql_bin_dir = 'C:/xampp/mysql/bin';
60 $perl_bin_dir = 'C:/xampp/perl/bin';
61 $temporary_files_dir = 'C:/windows/temp';
62 $backup_log_dir = 'C:/windows/temp';
64 else {
65 // Everything else
66 $mysql_bin_dir = '/usr/bin';
67 $perl_bin_dir = '/usr/bin';
68 $temporary_files_dir = '/tmp';
69 $backup_log_dir = '/tmp';
72 // Language constant declarations:
73 // xl('Appearance')
74 // xl('Locale')
75 // xl('Features')
76 // xl('Calendar')
77 // xl('Security')
78 // xl('Notifications')
79 // xl('Miscellaneous')
81 // List of user specific tabs and globals
82 $USER_SPECIFIC_TABS = array('Appearance',
83 'Locale',
84 'Calendar',
85 'Connectors');
86 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
87 'concurrent_layout',
88 'css_header',
89 'gbl_pt_list_page_size',
90 'gbl_pt_list_new_window',
91 'units_of_measurement',
92 'us_weight_format',
93 'date_display_format',
94 'time_display_format',
95 'event_color',
96 'erx_import_status_message');
98 $GLOBALS_METADATA = array(
100 // Appearance Tab
102 'Appearance' => array(
104 'default_top_pane' => array(
105 xl('Main Top Pane Screen'), // descriptive name
106 array(
107 'main_info.php' => xl('Calendar Screen'),
108 '../new/new.php' => xl('Patient Search/Add Screen'),
110 'main_info.php', // default = calendar
111 xl('Type of screen layout')
114 'concurrent_layout' => array(
115 xl('Layout Style'), // descriptive name
116 array(
117 '0' => xl('Old style layout with no left menu'),
118 '1' => xl('Navigation menu consists of pairs of radio buttons'),
119 '2' => xl('Navigation menu is a tree view'),
120 '3' => xl('Navigation uses a sliding menu'),
122 '3', // default = tree menu
123 xl('Type of screen layout')
126 'css_header' => array(
127 xl('Theme'),
128 'css',
129 'style_oemr.css',
130 xl('Pick a CSS theme.')
133 'gbl_nav_area_width' => array(
134 xl('Navigation Area Width'),
135 'num',
136 '150',
137 xl('Width in pixels of the left navigation frame.')
140 'openemr_name' => array(
141 xl('Application Title'),
142 'text',
143 'OpenEMR',
144 xl('Application name for login page and main window title.')
147 'full_new_patient_form' => array(
148 xl('New Patient Form'),
149 array(
150 '0' => xl('Old-style static form without search or duplication check'),
151 '1' => xl('All demographics fields, with search and duplication check'),
152 '2' => xl('Mandatory or specified fields only, search and dup check'),
153 '3' => xl('Mandatory or specified fields only, dup check, no search'),
155 '1', // default
156 xl('Style of form used for adding new patients')
159 'patient_search_results_style' => array(
160 xl('Patient Search Results Style'),
161 array(
162 '0' => xl('Encounter statistics'),
163 '1' => xl('Mandatory and specified fields'),
165 '0', // default
166 xl('Type of columns displayed for patient search results')
169 'gbl_tall_nav_area' => array(
170 xl('Tall Navigation Area'),
171 'bool', // data type
172 '0', // default = false
173 xl('Navigation area uses full height of frameset')
176 'gbl_nav_visit_forms' => array(
177 xl('Navigation Area Visit Forms'),
178 'bool', // data type
179 '1', // default = true
180 xl('Navigation area includes encounter forms')
183 'simplified_demographics' => array(
184 xl('Simplified Demographics'),
185 'bool', // data type
186 '0', // default = false
187 xl('Omit insurance and some other things from the demographics form')
190 'simplified_prescriptions' => array(
191 xl('Simplified Prescriptions'),
192 'bool', // data type
193 '0', // default = false
194 xl('Omit form, route and interval which then become part of dosage')
197 'simplified_copay' => array(
198 xl('Simplified Co-Pay'),
199 'bool', // data type
200 '0', // default = false
201 xl('Omit method of payment from the co-pay panel')
204 'use_charges_panel' => array(
205 xl('Use Charges Panel'),
206 'bool', // data type
207 '0', // default = false
208 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
211 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
212 'enable_fees_in_left_menu' => array(
213 xl('Enable Fees In Left Menu'),
214 'bool', // data type
215 '1', // default = true
216 xl('Enable Fees In Left Menu')
218 // EDI history 2012-09-13
219 'enable_edihistory_in_left_menu' => array(
220 xl('Enable EDI History In Left Menu'),
221 'bool', // data type
222 '1', // default = true
223 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
226 'online_support_link' => array(
227 xl('Online Support Link'),
228 'text', // data type
229 'http://open-emr.org/',
230 xl('URL for OpenEMR support.')
233 'encounter_page_size' => array(
234 xl('Encounter Page Size'),
235 array(
236 '0' => xl('Show All'),
237 '5' => '5',
238 '10' => '10',
239 '15' => '15',
240 '20' => '20',
241 '25' => '25',
242 '50' => '50',
244 '20',
245 xl('Number of encounters to display per page.')
248 'gbl_pt_list_page_size' => array(
249 xl('Patient List Page Size'),
250 array(
251 '10' => '10',
252 '25' => '25',
253 '50' => '50',
254 '100' => '100',
256 '10',
257 xl('Number of patients to display per page in the patient list.')
260 'gbl_pt_list_new_window' => array(
261 xl('Patient List New Window'),
262 'bool', // data type
263 '0', // default = false
264 xl('Default state of New Window checkbox in the patient list.')
269 // Locale Tab
271 'Locale' => array(
273 'language_default' => array(
274 xl('Default Language'),
275 'lang', // data type
276 'English (Standard)', // default = english
277 xl('Default language if no other is allowed or chosen.')
280 'language_menu_showall' => array(
281 xl('All Languages Allowed'),
282 'bool', // data type
283 '1', // default = true
284 xl('Allow all available languages as choices on menu at login.')
287 'language_menu_other' => array(
288 xl('Allowed Languages'),
289 'm_lang', // data type
290 '', // default = none
291 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
294 'allow_debug_language' => array(
295 xl('Allow Debugging Language'),
296 'bool', // data type
297 '1', // default = true during development and false for production releases
298 xl('This will allow selection of the debugging (\'dummy\') language.')
301 'translate_layout' => array(
302 xl('Translate Layouts'),
303 'bool', // data type
304 '1', // default = true
305 xl('Is text from form layouts to be translated?')
308 'translate_lists' => array(
309 xl('Translate Lists'),
310 'bool', // data type
311 '1', // default = true
312 xl('Is text from lists to be translated?')
315 'translate_gacl_groups' => array(
316 xl('Translate Access Control Groups'),
317 'bool', // data type
318 '1', // default = true
319 xl('Are access control group names to be translated?')
322 'translate_form_titles' => array(
323 xl('Translate Patient Note Titles'),
324 'bool', // data type
325 '1', // default = true
326 xl('Are patient note titles to be translated?')
329 'translate_document_categories' => array(
330 xl('Translate Document Categories'),
331 'bool', // data type
332 '1', // default = true
333 xl('Are document category names to be translated?')
336 'translate_appt_categories' => array(
337 xl('Translate Appointment Categories'),
338 'bool', // data type
339 '1', // default = true
340 xl('Are appointment category names to be translated?')
343 'units_of_measurement' => array(
344 xl('Units for Visit Forms'),
345 array(
346 '1' => xl('Show both US and metric (main unit is US)'),
347 '2' => xl('Show both US and metric (main unit is metric)'),
348 '3' => xl('Show US only'),
349 '4' => xl('Show metric only'),
351 '1', // default = Both/US
352 xl('Applies to the Vitals form and Growth Chart')
355 'us_weight_format' => array(
356 xl('Display Format for US Weights'),
357 array(
358 '1'=>xl('Show pounds as decimal value'),
359 '2'=>xl('Show pounds and ounces')
361 '1',
362 xl('Applies to Vitals form')
365 'disable_deprecated_metrics_form' => array(
366 xl('Disable Old Metric Vitals Form'),
367 'bool', // data type
368 '1', // default = true
369 xl('This was the older metric-only Vitals form, now deprecated.')
372 'phone_country_code' => array(
373 xl('Telephone Country Code'),
374 'num',
375 '1', // default = North America
376 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
379 'date_display_format' => array(
380 xl('Date Display Format'),
381 array(
382 '0' => xl('YYYY-MM-DD'),
383 '1' => xl('MM/DD/YYYY'),
384 '2' => xl('DD/MM/YYYY'),
386 '0',
387 xl('Format used to display most dates.')
390 'time_display_format' => array(
391 xl('Time Display Format'),
392 array(
393 '0' => xl('24 hr'),
394 '1' => xl('12 hr'),
396 '0',
397 xl('Format used to display most times.')
400 'currency_decimals' => array(
401 xl('Currency Decimal Places'),
402 array(
403 '0' => xl('0'),
404 '1' => xl('1'),
405 '2' => xl('2'),
407 '2',
408 xl('Number of digits after decimal point for currency, usually 0 or 2.')
411 'currency_dec_point' => array(
412 xl('Currency Decimal Point Symbol'),
413 array(
414 '.' => xl('Period'),
415 ',' => xl('Comma'),
417 '.',
418 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
421 'currency_thousands_sep' => array(
422 xl('Currency Thousands Separator'),
423 array(
424 ',' => xl('Comma'),
425 '.' => xl('Period'),
426 ' ' => xl('Space'),
427 '' => xl('None'),
429 ',',
430 xl('Symbol used to separate thousands for currency.')
433 'gbl_currency_symbol' => array(
434 xl('Currency Designator'),
435 'text', // data type
436 '$', // default
437 xl('Code or symbol to indicate currency')
442 // Features Tab
444 'Features' => array(
446 'specific_application' => array(
447 xl('Specific Application'),
448 array(
449 '0' => xl('None'),
450 '1' => xl('Athletic team'),
451 '2' => xl('IPPF'),
452 '3' => xl('Weight loss clinic'),
454 '0', // default
455 xl('Indicator for specialized usage')
458 'inhouse_pharmacy' => array(
459 xl('Drugs and Products'),
460 array(
461 '0' => xl('Do not inventory and sell any products'),
462 '1' => xl('Inventory and sell drugs only'),
463 '2' => xl('Inventory and sell both drugs and non-drug products'),
464 '3' => xl('Products but no prescription drugs and no templates'),
466 '0', // default
467 xl('Option to support inventory and sales of products')
470 'disable_chart_tracker' => array(
471 xl('Disable Chart Tracker'),
472 'bool', // data type
473 '0', // default = false
474 xl('Removes the Chart Tracker feature')
477 'disable_phpmyadmin_link' => array(
478 xl('Disable phpMyAdmin'),
479 'bool', // data type
480 '0', // default = false
481 xl('Removes support for phpMyAdmin')
484 'disable_immunizations' => array(
485 xl('Disable Immunizations'),
486 'bool', // data type
487 '0', // default = false
488 xl('Removes support for immunizations')
491 'disable_prescriptions' => array(
492 xl('Disable Prescriptions'),
493 'bool', // data type
494 '0', // default = false
495 xl('Removes support for prescriptions')
498 'omit_employers' => array(
499 xl('Omit Employers'),
500 'bool', // data type
501 '0', // default = false
502 xl('Omit employer information in patient demographics')
505 'select_multi_providers' => array(
506 xl('Support Multi-Provider Events'),
507 'bool', // data type
508 '0', // default = false
509 xl('Support calendar events that apply to multiple providers')
512 'disable_non_default_groups' => array(
513 xl('Disable User Groups'),
514 'bool', // data type
515 '1', // default = true
516 xl('Normally this should be checked. Not related to access control.')
519 'ignore_pnotes_authorization' => array(
520 xl('Skip Authorization of Patient Notes'),
521 'bool', // data type
522 '1', // default = true
523 xl('Do not require patient notes to be authorized')
526 'support_encounter_claims' => array(
527 xl('Allow Encounter Claims'),
528 'bool', // data type
529 '0', // default = false
530 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
533 'advance_directives_warning' => array(
534 xl('Advance Directives Warning'),
535 'bool', // data type
536 '0', // default = false
537 xl('Display advance directives in the demographics page.')
540 'configuration_import_export' => array(
541 xl('Configuration Export/Import'),
542 'bool', // data type
543 '0', // default = false
544 xl('Support export/import of configuration data via the Backup page.')
547 'restrict_user_facility' => array(
548 xl('Restrict Users to Facilities'),
549 'bool', // data type
550 '0', // default
551 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
554 'set_facility_cookie' => array(
555 xl('Remember Selected Facility'),
556 'bool', // data type
557 '0', // default
558 xl('Set a facility cookie to remember the selected facility between logins.')
561 'receipts_by_provider' => array(
562 xl('Print Receipts by Provider'),
563 'bool',
564 '0', // default
565 xl('Causes Receipts to Print Encounter/Primary Provider Info')
568 'discount_by_money' => array(
569 xl('Discounts as Monetary Amounts'),
570 'bool', // data type
571 '1', // default = true
572 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
575 'gbl_visit_referral_source' => array(
576 xl('Referral Source for Encounters'),
577 'bool', // data type
578 '0', // default = false
579 xl('A referral source may be specified for each visit.')
582 'gbl_mask_patient_id' => array(
583 xl('Mask for Patient IDs'),
584 'text', // data type
585 '', // default
586 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
589 'gbl_mask_invoice_number' => array(
590 xl('Mask for Invoice Numbers'),
591 'text', // data type
592 '', // default
593 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
596 'gbl_mask_product_id' => array(
597 xl('Mask for Product IDs'),
598 'text', // data type
599 '', // default
600 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
603 'force_billing_widget_open' => array(
604 xl('Force Billing Widget Open'),
605 'bool', // data type
606 '0', // default = false
607 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
610 'num_past_appointments_to_show' => array(
611 xl('Past Appointment Display Widget'),
612 'num', // data type
613 '0', // default = false
614 xl('A positive number will show that many past appointments on a Widget in the Patient Summary screen.')
617 'activate_ccr_ccd_report' => array(
618 xl('Activate CCR/CCD Reporting'),
619 'bool', // data type
620 '1', // default = true
621 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
624 'hide_document_encryption' => array(
625 xl('Hide Encryption/Decryption Options In Document Management'),
626 'bool', // data type
627 '1', // default = true
628 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
631 'use_custom_immun_list' => array(
632 xl('Use Custom Immunization List'),
633 'bool', // data type
634 '0', // default = true
635 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
640 //Documents Tab
641 'Documents' => array(
642 'document_storage_method' => array(
643 xl('Document Storage Method'),
644 array(
645 '0' => xl('Hard Disk'),
646 '1' => xl('CouchDB')
648 '0', // default
649 xl('Option to save method of document storage.')
651 'couchdb_host' => array(
652 xl('CouchDB HostName'),
653 'text',
654 'localhost',
655 xl('CouchDB host'),
657 'couchdb_user' => array(
658 xl('CouchDB UserName'),
659 'text',
661 xl('Username to connect to CouchDB'),
663 'couchdb_pass' => array(
664 xl('CouchDB Password'),
665 'text',
667 xl('Password to connect to CouchDB'),
669 'couchdb_port' => array(
670 xl('CouchDB Port'),
671 'text',
672 '5984',
673 xl('CouchDB port'),
675 'couchdb_dbase' => array(
676 xl('CouchDB Database'),
677 'text',
679 xl('CouchDB database name'),
681 'couchdb_log' => array(
682 xl('CouchDB Log Enable'),
683 'bool',
684 '0',
685 xl('Enable log for document uploads/downloads to CouchDB'),
689 // Calendar Tab
691 'Calendar' => array(
693 'disable_calendar' => array(
694 xl('Disable Calendar'),
695 'bool', // data type
696 '0', // default
697 xl('Do not display the calendar.')
700 'schedule_start' => array(
701 xl('Calendar Starting Hour'),
702 'hour',
703 '8', // default
704 xl('Beginning hour of day for calendar events.')
707 'schedule_end' => array(
708 xl('Calendar Ending Hour'),
709 'hour',
710 '17', // default
711 xl('Ending hour of day for calendar events.')
714 'calendar_interval' => array(
715 xl('Calendar Interval'),
716 array(
717 '5' => '5',
718 '10' => '10',
719 '15' => '15',
720 '20' => '20',
721 '30' => '30',
722 '60' => '60',
724 '15', // default
725 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
728 'calendar_appt_style' => array(
729 xl('Appointment Display Style'),
730 array(
731 '1' => 'Last name',
732 '2' => 'Last name, first name',
733 '3' => 'Last name, first name (title)',
734 '4' => 'Last name, first name (title: description)',
736 '2', // default
737 xl('This determines how appointments display on the calendar.')
740 'docs_see_entire_calendar' => array(
741 xl('Providers See Entire Calendar'),
742 'bool', // data type
743 '0', // default
744 xl('Check this if you want providers to see all appointments by default and not just their own.')
747 'auto_create_new_encounters' => array(
748 xl('Auto-Create New Encounters'),
749 'bool', // data type
750 '1', // default
751 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
754 'event_color' => array(
755 xl('Appointment/Event Color'),
756 array(
757 '1' => 'Category Color Schema',
758 '2' => 'Facility Color Schema',
759 ), // data type
760 '1', // default
761 xl('This determines which color schema used for appointment')
766 // Security Tab
768 'Security' => array(
770 'timeout' => array(
771 xl('Idle Session Timeout Seconds'),
772 'num', // data type
773 '7200', // default
774 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
777 'secure_password' => array(
778 xl('Require Strong Passwords'),
779 'bool', // data type
780 '0', // default
781 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
784 'password_history' => array(
785 xl('Require Unique Passwords'),
786 'bool', // data type
787 '0', // default
788 xl('Means none of last three passwords are allowed when changing a password.')
791 'password_expiration_days' => array(
792 xl('Default Password Expiration Days'),
793 'num', // data type
794 '0', // default
795 xl('Default password expiration period in days. 0 means this feature is disabled.')
798 'password_grace_time' => array(
799 xl('Password Expiration Grace Period'),
800 'num', // data type
801 '0', // default
802 xl('Period in days where a user may login with an expired password.')
805 'is_client_ssl_enabled' => array(
806 xl('Enable Client SSL'),
807 'bool', // data type
808 '0', // default
809 xl('Enable client SSL certificate authentication.')
812 'certificate_authority_crt' => array(
813 xl('Path to CA Certificate File'),
814 'text', // data type
815 '', // default
816 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
819 'certificate_authority_key' => array(
820 xl('Path to CA Key File'),
821 'text', // data type
822 '', // default
823 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
826 'client_certificate_valid_in_days' => array(
827 xl('Client Certificate Expiration Days'),
828 'num', // data type
829 '365', // default
830 xl('Number of days that the client certificate is valid.')
833 'Emergency_Login_email_id' => array(
834 xl('Emergency Login Email Address'),
835 'text', // data type
836 '', // default
837 xl('Email address, if any, to receive emergency login user activation messages.')
842 // Notifications Tab
844 'Notifications' => array(
846 'patient_reminder_sender_name' => array(
847 xl('Patient Reminder Sender Name'),
848 'text', // data type
849 '', // default
850 xl('Name of the sender for patient reminders.')
853 'patient_reminder_sender_email' => array(
854 xl('Patient Reminder Sender Email'),
855 'text', // data type
856 '', // default
857 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.')
860 'practice_return_email_path' => array(
861 xl('Notification Email Address'),
862 'text', // data type
863 '', // default
864 xl('Email address, if any, to receive administrative notifications.')
867 'EMAIL_METHOD' => array(
868 xl('Email Transport Method'),
869 array(
870 'PHPMAIL' => 'PHPMAIL',
871 'SENDMAIL' => 'SENDMAIL',
872 'SMTP' => 'SMTP',
874 'SMTP', // default
875 xl('Method for sending outgoing email.')
878 'SMTP_HOST' => array(
879 xl('SMTP Server Hostname'),
880 'text', // data type
881 'localhost', // default
882 xl('If SMTP is used, the server`s hostname or IP address.')
885 'SMTP_PORT' => array(
886 xl('SMTP Server Port Number'),
887 'num', // data type
888 '25', // default
889 xl('If SMTP is used, the server`s TCP port number (usually 25).')
892 'SMTP_USER' => array(
893 xl('SMTP User for Authentication'),
894 'text', // data type
895 '', // default
896 xl('Must be empty if SMTP authentication is not used.')
899 'SMTP_PASS' => array(
900 xl('SMTP Password for Authentication'),
901 'text', // data type
902 '', // default
903 xl('Must be empty if SMTP authentication is not used.')
906 'EMAIL_NOTIFICATION_HOUR' => array(
907 xl('Email Notification Hours'),
908 'num', // data type
909 '50', // default
910 xl('Number of hours in advance to send email notifications.')
913 'SMS_NOTIFICATION_HOUR' => array(
914 xl('SMS Notification Hours'),
915 'num', // data type
916 '50', // default
917 xl('Number of hours in advance to send SMS notifications.')
920 'SMS_GATEWAY_USENAME' => array(
921 xl('SMS Gateway Username'),
922 'text', // data type
923 '', // default
924 xl('Username for SMS Gateway.')
927 'SMS_GATEWAY_PASSWORD' => array(
928 xl('SMS Gateway Password'),
929 'text', // data type
930 '', // default
931 xl('Password for SMS Gateway.')
934 'SMS_GATEWAY_APIKEY' => array(
935 xl('SMS Gateway API Key'),
936 'text', // data type
937 '', // default
938 xl('API key for SMS Gateway.')
941 'phone_notification_hour' => array(
942 xl('Phone Notification Hour'),
943 'num', // data type
944 '50', // default
945 xl('Number of hours in advance to send Phone notification.')
948 'phone_gateway_username' => array(
949 xl('Phone Gateway Username'),
950 'text', // data type
951 '', // default
952 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
955 'phone_gateway_password' => array(
956 xl('Phone Gateway Password'),
957 'text', // data type
958 '', // default
959 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
962 'phone_gateway_url' => array(
963 xl('Phone Gateway URL'),
964 'text', // data type
965 '', // default
966 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
971 // CDR (Clinical Decision Rules)
973 'CDR' => array(
975 'enable_cdr' => array(
976 xl('Enable Clinical Decisions Rules (CDR)'),
977 'bool', // data type
978 '1', // default
979 xl('Enable Clinical Decisions Rules (CDR)')
982 'enable_cdr_crw' => array(
983 xl('Enable Clinical Reminder Widget'),
984 'bool', // data type
985 '1', // default
986 xl('Enable Clinical Reminder Widget')
989 'enable_cdr_crp' => array(
990 xl('Enable Clinical Reminder Popup'),
991 'bool', // data type
992 '1', // default
993 xl('Enable Clinical Reminder Popup')
996 'enable_cdr_prw' => array(
997 xl('Enable Patient Reminder Widget'),
998 'bool', // data type
999 '1', // default
1000 xl('Enable Patient Reminder Widget')
1003 'enable_cqm' => array(
1004 xl('Enable CQM Reporting'),
1005 'bool', // data type
1006 '1', // default
1007 xl('Enable Clinical Quality Measure (CQM) Reporting')
1010 'pqri_registry_name' => array(
1011 xl('PQRI Registry Name'),
1012 'text', // data type
1013 'Model Registry', // default
1014 xl('PQRI Registry Name')
1017 'pqri_registry_id' => array(
1018 xl('PQRI Registry ID'),
1019 'text', // data type
1020 '125789123', // default
1021 xl('PQRI Registry ID')
1024 'enable_amc' => array(
1025 xl('Enable AMC Reporting'),
1026 'bool', // data type
1027 '1', // default
1028 xl('Enable Automated Measure Calculations (AMC) Reporting')
1031 'enable_amc_prompting' => array(
1032 xl('Enable AMC Prompting'),
1033 'bool', // data type
1034 '1', // default
1035 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1038 'enable_amc_tracking' => array(
1039 xl('Enable AMC Tracking'),
1040 'bool', // data type
1041 '1', // default
1042 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1045 'cdr_report_nice' => array(
1046 xl('CDR Reports Processing Priority'),
1047 array(
1048 '' => xl('Default Priority'),
1049 '5' => xl('Moderate Priority'),
1050 '10' => xl('Moderate/Low Priority'),
1051 '15' => xl('Low Priority'),
1052 '20' => xl('Lowest Priority')
1054 '', // default
1055 xl('Set processing priority for CDR engine based reports.')
1058 'pat_rem_clin_nice' => array(
1059 xl('Patient Reminder Creation Processing Priority'),
1060 array(
1061 '' => xl('Default Priority'),
1062 '5' => xl('Moderate Priority'),
1063 '10' => xl('Moderate/Low Priority'),
1064 '15' => xl('Low Priority'),
1065 '20' => xl('Lowest Priority')
1067 '', // default
1068 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1073 // Logging
1075 'Logging' => array(
1077 'enable_auditlog' => array(
1078 xl('Enable Audit Logging'),
1079 'bool', // data type
1080 '1', // default
1081 xl('Enable Audit Logging')
1084 'audit_events_patient-record' => array(
1085 xl('Audit Logging Patient Record'),
1086 'bool', // data type
1087 '1', // default
1088 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1091 'audit_events_scheduling' => array(
1092 xl('Audit Logging Scheduling'),
1093 'bool', // data type
1094 '1', // default
1095 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1098 'audit_events_order' => array(
1099 xl('Audit Logging Order'),
1100 'bool', // data type
1101 '1', // default
1102 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1105 'audit_events_security-administration' => array(
1106 xl('Audit Logging Security Administration'),
1107 'bool', // data type
1108 '1', // default
1109 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1112 'audit_events_backup' => array(
1113 xl('Audit Logging Backups'),
1114 'bool', // data type
1115 '1', // default
1116 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1119 'audit_events_other' => array(
1120 xl('Audit Logging Miscellaneous'),
1121 'bool', // data type
1122 '1', // default
1123 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1126 'audit_events_query' => array(
1127 xl('Audit Logging SELECT Query'),
1128 'bool', // data type
1129 '0', // default
1130 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1133 'audit_events_cdr' => array(
1134 xl('Audit CDR Engine Queries'),
1135 'bool', // data type
1136 '0', // default
1137 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1140 'enable_atna_audit' => array(
1141 xl('Enable ATNA Auditing'),
1142 'bool', // data type
1143 '0', // default
1144 xl('Enable Audit Trail and Node Authentication (ATNA).')
1147 'atna_audit_host' => array(
1148 xl('ATNA audit host'),
1149 'text', // data type
1150 '', // default
1151 xl('The hostname of the ATNA audit repository machine.')
1154 'atna_audit_port' => array(
1155 xl('ATNA audit port'),
1156 'text', // data type
1157 '6514', // default
1158 xl('Listening port of the RFC 5425 TLS syslog server.')
1161 'atna_audit_localcert' => array(
1162 xl('ATNA audit local certificate'),
1163 'text', // data type
1164 '', // default
1165 xl('Certificate to send to RFC 5425 TLS syslog server.')
1168 'atna_audit_cacert' => array(
1169 xl('ATNA audit CA certificate'),
1170 'text', // data type
1171 '', // default
1172 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1177 // Miscellaneous Tab
1179 'Miscellaneous' => array(
1181 'mysql_bin_dir' => array(
1182 xl('Path to MySQL Binaries'),
1183 'text', // data type
1184 $mysql_bin_dir, // default
1185 xl('Full path to directory containing MySQL executables.')
1188 'perl_bin_dir' => array(
1189 xl('Path to Perl Binaries'),
1190 'text', // data type
1191 $perl_bin_dir, // default
1192 xl('Full path to directory containing Perl executables.')
1195 'temporary_files_dir' => array(
1196 xl('Path to Temporary Files'),
1197 'text', // data type
1198 $temporary_files_dir, // default
1199 xl('Full path to directory used for temporary files.')
1202 'backup_log_dir' => array(
1203 xl('Path for Event Log Backup'),
1204 'text', // data type
1205 $backup_log_dir, // default
1206 xl('Full path to directory for event log backup.')
1209 'state_data_type' => array(
1210 xl('State Data Type'),
1211 array(
1212 '2' => xl('Text field'),
1213 '1' => xl('Single-selection list'),
1214 '26' => xl('Single-selection list with ability to add to the list'),
1216 '26', // default
1217 xl('Field type to use for employer or subscriber state in demographics.')
1220 'state_list' => array(
1221 xl('State list'),
1222 'text', // data type
1223 'state', // default
1224 xl('List used by above State Data Type option.')
1227 'state_custom_addlist_widget' => array(
1228 xl('State List Widget Custom Fields'),
1229 'bool', // data type
1230 '1', // default
1231 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1234 'country_data_type' => array(
1235 xl('Country Data Type'),
1236 array(
1237 '2' => xl('Text field'),
1238 '1' => xl('Single-selection list'),
1239 '26' => xl('Single-selection list with ability to add to the list'),
1241 '26', // default
1242 xl('Field type to use for employer or subscriber country in demographics.')
1245 'country_list' => array(
1246 xl('Country list'),
1247 'text', // data type
1248 'country', // default
1249 xl('List used by above Country Data Type option.')
1252 'print_command' => array(
1253 xl('Print Command'),
1254 'text', // data type
1255 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1256 xl('Shell command for printing from the server.')
1259 'default_chief_complaint' => array(
1260 xl('Default Reason for Visit'),
1261 'text', // data type
1263 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1266 'default_new_encounter_form' => array(
1267 xl('Default Encounter Form ID'),
1268 'text', // data type
1270 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1273 'patient_id_category_name' => array(
1274 xl('Patient ID Category Name'),
1275 'text', // data type
1276 'Patient ID card', // default
1277 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1280 'patient_photo_category_name' => array(
1281 xl('Patient Photo Category Name'),
1282 'text', // data type
1283 'Patient Photograph', // default
1284 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1287 'MedicareReferrerIsRenderer' => array(
1288 xl('Medicare Referrer Is Renderer'),
1289 'bool', // data type
1290 '0', // default = true
1291 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1294 'post_to_date_benchmark' => array(
1295 xl('Financial Close Date (yyyy-mm-dd)'),
1296 'text', // data type
1297 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1298 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1301 'enable_hylafax' => array(
1302 xl('Enable Hylafax Support'),
1303 'bool', // data type
1304 '0', // default
1305 xl('Enable Hylafax Support')
1308 'hylafax_server' => array(
1309 xl('Hylafax Server'),
1310 'text', // data type
1311 'localhost', // default
1312 xl('Hylafax server hostname.')
1315 'hylafax_basedir' => array(
1316 xl('Hylafax Directory'),
1317 'text', // data type
1318 '/var/spool/fax', // default
1319 xl('Location where Hylafax stores faxes.')
1322 'hylafax_enscript' => array(
1323 xl('Hylafax Enscript Command'),
1324 'text', // data type
1325 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1326 xl('Enscript command used by Hylafax.')
1329 'enable_scanner' => array(
1330 xl('Enable Scanner Support'),
1331 'bool', // data type
1332 '0', // default
1333 xl('Enable Scanner Support')
1336 'scanner_output_directory' => array(
1337 xl('Scanner Directory'),
1338 'text', // data type
1339 '/mnt/scan_docs', // default
1340 xl('Location where scans are stored.')
1345 // Portal Tab
1347 'Portal' => array(
1349 'portal_onsite_enable' => array(
1350 xl('Enable Onsite Patient Portal'),
1351 'bool', // data type
1352 '0',
1353 xl('Enable Onsite Patient Portal.')
1356 'portal_onsite_address' => array(
1357 xl('Onsite Patient Portal Site Address'),
1358 'text', // data type
1359 'https://your_web_site.com/openemr/patients',
1360 xl('Website link for the Onsite Patient Portal.')
1363 'portal_offsite_enable' => array(
1364 xl('Enable Offsite Patient Portal'),
1365 'bool', // data type
1366 '0',
1367 xl('Enable Offsite Patient Portal.')
1370 'portal_offsite_username' => array(
1371 xl('Offsite Patient Portal Username'),
1372 'text', // data type
1374 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1377 'portal_offsite_password' => array(
1378 xl('Offsite Patient Portal Password'),
1379 'pwd', // data type
1381 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1384 'portal_offsite_address' => array(
1385 xl('Offsite Patient Portal Site Address'),
1386 'text', // data type
1387 'https://mydocsportal.com/provider.php',
1388 xl('Offsite Https link for the Patient Portal.')
1390 'portal_offsite_address_patient_link' => array(
1391 xl('Offsite Patient Portal Site Address (Patient Link)'),
1392 'text', // data type
1393 'https://mydocsportal.com',
1394 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1399 // Connectors Tab
1401 'Connectors' => array(
1403 'lab_exchange_enable' => array(
1404 xl('Enable Lab Exchange'),
1405 'bool', // data type
1406 '0',
1407 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1410 'lab_exchange_siteid' => array(
1411 xl('Lab Exchange Site ID'),
1412 'text', // data type
1413 '3',
1414 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1417 'lab_exchange_token' => array(
1418 xl('Lab Exchange Token ID'),
1419 'text', // data type
1420 '12345',
1421 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1424 'lab_exchange_endpoint' => array(
1425 xl('Lab Exchange Site Address'),
1426 'text', // data type
1427 'https://openemrsupport.com:29443/len/api',
1428 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1431 'erx_enable' => array(
1432 xl('Enable NewCrop eRx Service'),
1433 'bool', // data type
1434 '0',
1435 xl('Enable ZMG, LLC eRx service')
1438 'erx_path_production' => array(
1439 xl('NewCrop eRx Site Address'),
1440 'text', // data type
1441 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1442 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1445 'erx_path_soap_production' => array(
1446 xl('NewCrop eRx Web Service Address'),
1447 'text', // data type
1448 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1449 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1452 'partner_name_production' => array(
1453 xl('NewCrop eRx Partner Name'),
1454 'text', // data type
1456 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1459 'erx_name_production' => array(
1460 xl('NewCrop eRx Name'),
1461 'text', // data type
1463 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1466 'erx_password_production' => array(
1467 xl('NewCrop eRx Password'),
1468 'pass', // data type
1470 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1473 'erx_upload_active' => array(
1474 xl('Only upload active prescriptions'),
1475 'bool', // data type
1476 '0',
1477 xl('Only upload active prescriptions')
1480 'erx_import_status_message' => array(
1481 xl('Enable import status message for NewCrop erx'),
1482 'bool', // data type
1483 '0',
1484 xl('Enable import status message for NewCrop erx')
1487 'erx_medication_display' => array(
1488 xl('Do not display Medications uploaded to NewCrop'),
1489 'bool', // data type
1490 '0',
1491 xl('Do not display Medications uploaded to NewCrop')
1494 'erx_allergy_display' => array(
1495 xl('Do not display Allergy uploaded to NewCrop'),
1496 'bool', // data type
1497 '0',
1498 xl('Do not display Allergy uploaded to NewCrop')
1501 'erx_default_patient_country' => array(
1502 xl('Default Patient Country'),
1503 array(
1504 '' => '',
1505 'US' => 'USA',
1506 'CA' => 'Canada',
1507 'MX' => 'Mexico'
1510 xl('Default Patient Country'),
1514 'Rx' => array(
1515 'rx_enable_DEA' => array(
1516 xl('Rx Enable DEA #'),
1517 'bool', // data type
1518 '1',
1519 xl('Rx Enable DEA #')
1521 'rx_show_DEA' => array(
1522 xl('Rx Show DEA #'),
1523 'bool', // data type
1524 '0',
1525 xl('Rx Show DEA #')
1527 'rx_enable_NPI' => array(
1528 xl('Rx Enable NPI'),
1529 'bool', // data type
1530 '0',
1531 xl('Rx Enable NPI')
1533 'rx_show_NPI' => array(
1534 xl('Rx Show NPI'),
1535 'bool', // data type
1536 '0',
1537 xl('Rx Show NPI')
1539 'rx_enable_SLN' => array(
1540 xl('Rx Enable State Lic. #'),
1541 'bool', // data type
1542 '0',
1543 xl('Rx Enable State Lic. #')
1545 'rx_show_SLN' => array(
1546 xl('Rx Show State Lic. #'),
1547 'bool', // data type
1548 '0',
1549 xl('Rx Show State Lic. #')
1551 'rx_paper_size' => array(
1552 xl('Rx Paper Size'), // descriptive name
1553 array(
1554 'LETTER' => xl('Letter Paper Size'),
1555 'LEGAL' => xl('Legal Paper Size'),
1556 'FOLIO' => xl('Folio Paper Size'),
1557 'EXECUTIVE' => xl('Executive Paper Size'),
1558 '4A0' => ('4A0' . " " . xl('Paper Size')),
1559 '2A0' => ('2A0' . " " . xl('Paper Size')),
1560 'A0' => ('A0' . " " . xl('Paper Size')),
1561 'A1' => ('A1' . " " . xl('Paper Size')),
1562 'A2' => ('A2' . " " . xl('Paper Size')),
1563 'A3' => ('A3' . " " . xl('Paper Size')),
1564 'A4' => ('A4' . " " . xl('Paper Size')),
1565 'A5' => ('A5' . " " . xl('Paper Size')),
1566 'A6' => ('A6' . " " . xl('Paper Size')),
1567 'A7' => ('A7' . " " . xl('Paper Size')),
1568 'A8' => ('A8' . " " . xl('Paper Size')),
1569 'A9' => ('A9' . " " . xl('Paper Size')),
1570 'A10' => ('A10' . " " . xl('Paper Size')),
1571 'B0' => ('B0' . " " . xl('Paper Size')),
1572 'B1' => ('B1' . " " . xl('Paper Size')),
1573 'B2' => ('B2' . " " . xl('Paper Size')),
1574 'B3' => ('B3' . " " . xl('Paper Size')),
1575 'B4' => ('B4' . " " . xl('Paper Size')),
1576 'B5' => ('B5' . " " . xl('Paper Size')),
1577 'B6' => ('B6' . " " . xl('Paper Size')),
1578 'B7' => ('B7' . " " . xl('Paper Size')),
1579 'B8' => ('B8' . " " . xl('Paper Size')),
1580 'B9' => ('B9' . " " . xl('Paper Size')),
1581 'B10' => ('B10' . " " . xl('Paper Size')),
1582 'C0' => ('C0' . " " . xl('Paper Size')),
1583 'C1' => ('C1' . " " . xl('Paper Size')),
1584 'C2' => ('C2' . " " . xl('Paper Size')),
1585 'C3' => ('C3' . " " . xl('Paper Size')),
1586 'C4' => ('C4' . " " . xl('Paper Size')),
1587 'C5' => ('C5' . " " . xl('Paper Size')),
1588 'C6' => ('C6' . " " . xl('Paper Size')),
1589 'C7' => ('C7' . " " . xl('Paper Size')),
1590 'C8' => ('C8' . " " . xl('Paper Size')),
1591 'C9' => ('C9' . " " . xl('Paper Size')),
1592 'C10' => ('C10' . " " . xl('Paper Size')),
1593 'RA0' => ('RA0' . " " . xl('Paper Size')),
1594 'RA1' => ('RA1' . " " . xl('Paper Size')),
1595 'RA2' => ('RA2' . " " . xl('Paper Size')),
1596 'RA3' => ('RA3' . " " . xl('Paper Size')),
1597 'RA4' => ('RA4' . " " . xl('Paper Size')),
1598 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1599 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1600 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1601 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1602 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1604 'LETTER', // default = tree menu
1605 xl('Rx Paper Size')
1607 'rx_left_margin' => array(
1608 xl('Rx Left Margin (px)'),
1609 'num',
1610 '30',
1611 xl('Rx Left Margin (px)')
1613 'rx_right_margin' => array(
1614 xl('Rx Right Margin (px)'),
1615 'num',
1616 '30',
1617 xl('Rx Right Margin (px)')
1619 'rx_top_margin' => array(
1620 xl('Rx Top Margin (px)'),
1621 'num',
1622 '72',
1623 xl('Rx Top Margin (px)')
1625 'rx_bottom_margin' => array(
1626 xl('Rx Bottom Margin (px)'),
1627 'num',
1628 '30',
1629 xl('Rx Bottom Margin (px)')