Bug fix in populating the form elements when editing an immunization
[openemr.git] / library / globals.inc.php
blob3bb2047f70804600636f65f92a2ff0313858e643
1 <?php
2 // Copyright (C) 2010 Rod Roark <rod@sunsetsystems.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 // $GLOBALS['print_command'] is the
10 // Print command for spooling to printers, used by statements.inc.php
11 // This is the command to be used for printing (without the filename).
12 // The word following "-P" should be the name of your printer. This
13 // example is designed for 8.5x11-inch paper with 1-inch margins,
14 // 10 CPI, 6 LPI, 65 columns, 54 lines per page.
16 // IF lpr services are installed on Windows this setting will be similar
17 // Otherwise configure it as needed (print /d:PRN) might be an option for Windows parallel printers
19 // Current supported languages: // Allow capture of term for translation:
20 // Amharic // xl('Amharic')
21 // Arabic // xl('Arabic')
22 // Armenian // xl('Armenian')
23 // Bahasa Indonesia // xl('Bahasa Indonesia')
24 // Chinese (Simplified) // xl('Chinese (Simplified)')
25 // Chinese (Traditional) // xl('Chinese (Traditional)')
26 // Danish // xl('Danish')
27 // Dutch // xl('Dutch')
28 // English (Indian) // xl('English (Indian)')
29 // English (Standard) // xl('English (Standard)')
30 // French // xl('French')
31 // German // xl('German')
32 // Greek // xl('Greek')
33 // Hebrew // xl('Hebrew')
34 // Hindi // xl('Hindi')
35 // Italian // xl('Italian')
36 // Norwegian // xl('Norwegian')
37 // Polish // xl('Polish')
38 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
39 // Portuguese (European) // xl('Portuguese (European)')
40 // Russian // xl('Russian')
41 // Slovak // xl('Slovak')
42 // Spanish // xl('Spanish')
43 // Swedish // xl('Swedish')
44 // Turkish // xl('Turkish')
46 // OS-dependent stuff.
47 if (stristr(PHP_OS, 'WIN')) {
48 // MS Windows
49 $mysql_bin_dir = 'C:/xampp/mysql/bin';
50 $perl_bin_dir = 'C:/xampp/perl/bin';
51 $temporary_files_dir = 'C:/windows/temp';
52 $backup_log_dir = 'C:/windows/temp';
54 else {
55 // Everything else
56 $mysql_bin_dir = '/usr/bin';
57 $perl_bin_dir = '/usr/bin';
58 $temporary_files_dir = '/tmp';
59 $backup_log_dir = '/tmp';
62 // Language constant declarations:
63 // xl('Appearance')
64 // xl('Locale')
65 // xl('Features')
66 // xl('Calendar')
67 // xl('Security')
68 // xl('Notifications')
69 // xl('Miscellaneous')
71 // List of user specific tabs and globals
72 $USER_SPECIFIC_TABS = array('Appearance',
73 'Locale',
74 'Calendar',
75 'Connectors');
76 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
77 'concurrent_layout',
78 'css_header',
79 'units_of_measurement',
80 'date_display_format',
81 'time_display_format',
82 'event_color',
83 'erx_import_status_message');
85 $GLOBALS_METADATA = array(
87 // Appearance Tab
89 'Appearance' => array(
91 'default_top_pane' => array(
92 xl('Main Top Pane Screen'), // descriptive name
93 array(
94 'main_info.php' => xl('Calendar Screen'),
95 '../new/new.php' => xl('Patient Search/Add Screen'),
97 'main_info.php', // default = calendar
98 xl('Type of screen layout')
101 'concurrent_layout' => array(
102 xl('Layout Style'), // descriptive name
103 array(
104 '0' => xl('Old style layout with no left menu'),
105 '1' => xl('Navigation menu consists of pairs of radio buttons'),
106 '2' => xl('Navigation menu is a tree view'),
107 '3' => xl('Navigation uses a sliding menu'),
109 '3', // default = tree menu
110 xl('Type of screen layout')
113 'css_header' => array(
114 xl('Theme'),
115 'css',
116 'style_oemr.css',
117 xl('Pick a CSS theme.')
120 'gbl_nav_area_width' => array(
121 xl('Navigation Area Width'),
122 'num',
123 '150',
124 xl('Width in pixels of the left navigation frame.')
127 'openemr_name' => array(
128 xl('Application Title'),
129 'text',
130 'OpenEMR',
131 xl('Application name for login page and main window title.')
134 'full_new_patient_form' => array(
135 xl('New Patient Form'),
136 array(
137 '0' => xl('Old-style static form without search or duplication check'),
138 '1' => xl('All demographics fields, with search and duplication check'),
139 '2' => xl('Mandatory or specified fields only, search and dup check'),
140 '3' => xl('Mandatory or specified fields only, dup check, no search'),
142 '1', // default
143 xl('Style of form used for adding new patients')
146 'patient_search_results_style' => array(
147 xl('Patient Search Results Style'),
148 array(
149 '0' => xl('Encounter statistics'),
150 '1' => xl('Mandatory and specified fields'),
152 '0', // default
153 xl('Type of columns displayed for patient search results')
156 'gbl_tall_nav_area' => array(
157 xl('Tall Navigation Area'),
158 'bool', // data type
159 '0', // default = false
160 xl('Navigation area uses full height of frameset')
163 'gbl_nav_visit_forms' => array(
164 xl('Navigation Area Visit Forms'),
165 'bool', // data type
166 '1', // default = true
167 xl('Navigation area includes encounter forms')
170 'simplified_demographics' => array(
171 xl('Simplified Demographics'),
172 'bool', // data type
173 '0', // default = false
174 xl('Omit insurance and some other things from the demographics form')
177 'simplified_prescriptions' => array(
178 xl('Simplified Prescriptions'),
179 'bool', // data type
180 '0', // default = false
181 xl('Omit form, route and interval which then become part of dosage')
184 'simplified_copay' => array(
185 xl('Simplified Co-Pay'),
186 'bool', // data type
187 '0', // default = false
188 xl('Omit method of payment from the co-pay panel')
191 'use_charges_panel' => array(
192 xl('Use Charges Panel'),
193 'bool', // data type
194 '0', // default = false
195 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
198 'online_support_link' => array(
199 xl('Online Support Link'),
200 'text', // data type
201 'http://open-emr.org/',
202 xl('URL for OpenEMR support.')
205 'encounter_page_size' => array(
206 xl('Encounter Page Size'),
207 array(
208 '0' => xl('Show All'),
209 '5' => '5',
210 '10' => '10',
211 '15' => '15',
212 '20' => '20',
213 '25' => '25',
214 '50' => '50',
216 '20',
217 xl('Number of encounters to display per page.')
222 // Locale Tab
224 'Locale' => array(
226 'language_default' => array(
227 xl('Default Language'),
228 'lang', // data type
229 'English (Standard)', // default = english
230 xl('Default language if no other is allowed or chosen.')
233 'language_menu_showall' => array(
234 xl('All Languages Allowed'),
235 'bool', // data type
236 '1', // default = true
237 xl('Allow all available languages as choices on menu at login.')
240 'language_menu_other' => array(
241 xl('Allowed Languages'),
242 'm_lang', // data type
243 '', // default = none
244 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
247 'allow_debug_language' => array(
248 xl('Allow Debugging Language'),
249 'bool', // data type
250 '0', // default = true during development and false for production releases
251 xl('This will allow selection of the debugging (\'dummy\') language.')
254 'translate_layout' => array(
255 xl('Translate Layouts'),
256 'bool', // data type
257 '1', // default = true
258 xl('Is text from form layouts to be translated?')
261 'translate_lists' => array(
262 xl('Translate Lists'),
263 'bool', // data type
264 '1', // default = true
265 xl('Is text from lists to be translated?')
268 'translate_gacl_groups' => array(
269 xl('Translate Access Control Groups'),
270 'bool', // data type
271 '1', // default = true
272 xl('Are access control group names to be translated?')
275 'translate_form_titles' => array(
276 xl('Translate Patient Note Titles'),
277 'bool', // data type
278 '1', // default = true
279 xl('Are patient note titles to be translated?')
282 'translate_document_categories' => array(
283 xl('Translate Document Categories'),
284 'bool', // data type
285 '1', // default = true
286 xl('Are document category names to be translated?')
289 'translate_appt_categories' => array(
290 xl('Translate Appointment Categories'),
291 'bool', // data type
292 '1', // default = true
293 xl('Are appointment category names to be translated?')
296 'units_of_measurement' => array(
297 xl('Units for Visit Forms'),
298 array(
299 '1' => xl('Show both US and metric (main unit is US)'),
300 '2' => xl('Show both US and metric (main unit is metric)'),
301 '3' => xl('Show US only'),
302 '4' => xl('Show metric only'),
304 '1', // default = Both/US
305 xl('Applies to the Vitals form and Growth Chart')
308 'disable_deprecated_metrics_form' => array(
309 xl('Disable Old Metric Vitals Form'),
310 'bool', // data type
311 '1', // default = true
312 xl('This was the older metric-only Vitals form, now deprecated.')
315 'phone_country_code' => array(
316 xl('Telephone Country Code'),
317 'num',
318 '1', // default = North America
319 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
322 'date_display_format' => array(
323 xl('Date Display Format'),
324 array(
325 '0' => xl('YYYY-MM-DD'),
326 '1' => xl('MM/DD/YYYY'),
327 '2' => xl('DD/MM/YYYY'),
329 '0',
330 xl('Format used to display most dates.')
333 'time_display_format' => array(
334 xl('Time Display Format'),
335 array(
336 '0' => xl('24 hr'),
337 '1' => xl('12 hr'),
339 '0',
340 xl('Format used to display most times.')
343 'currency_decimals' => array(
344 xl('Currency Decimal Places'),
345 array(
346 '0' => xl('0'),
347 '1' => xl('1'),
348 '2' => xl('2'),
350 '2',
351 xl('Number of digits after decimal point for currency, usually 0 or 2.')
354 'currency_dec_point' => array(
355 xl('Currency Decimal Point Symbol'),
356 array(
357 '.' => xl('Period'),
358 ',' => xl('Comma'),
360 '.',
361 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
364 'currency_thousands_sep' => array(
365 xl('Currency Thousands Separator'),
366 array(
367 ',' => xl('Comma'),
368 '.' => xl('Period'),
369 ' ' => xl('Space'),
370 '' => xl('None'),
372 ',',
373 xl('Symbol used to separate thousands for currency.')
376 'gbl_currency_symbol' => array(
377 xl('Currency Designator'),
378 'text', // data type
379 '$', // default
380 xl('Code or symbol to indicate currency')
385 // Features Tab
387 'Features' => array(
389 'specific_application' => array(
390 xl('Specific Application'),
391 array(
392 '0' => xl('None'),
393 '1' => xl('Athletic team'),
394 '2' => xl('IPPF'),
395 '3' => xl('Weight loss clinic'),
397 '0', // default
398 xl('Indicator for specialized usage')
401 'inhouse_pharmacy' => array(
402 xl('Drugs and Products'),
403 array(
404 '0' => xl('Do not inventory and sell any products'),
405 '1' => xl('Inventory and sell drugs only'),
406 '2' => xl('Inventory and sell both drugs and non-drug products'),
407 '3' => xl('Products but no prescription drugs and no templates'),
409 '0', // default
410 xl('Option to support inventory and sales of products')
413 'disable_chart_tracker' => array(
414 xl('Disable Chart Tracker'),
415 'bool', // data type
416 '0', // default = false
417 xl('Removes the Chart Tracker feature')
420 'disable_phpmyadmin_link' => array(
421 xl('Disable phpMyAdmin'),
422 'bool', // data type
423 '0', // default = false
424 xl('Removes support for phpMyAdmin')
427 'disable_immunizations' => array(
428 xl('Disable Immunizations'),
429 'bool', // data type
430 '0', // default = false
431 xl('Removes support for immunizations')
434 'disable_prescriptions' => array(
435 xl('Disable Prescriptions'),
436 'bool', // data type
437 '0', // default = false
438 xl('Removes support for prescriptions')
441 'omit_employers' => array(
442 xl('Omit Employers'),
443 'bool', // data type
444 '0', // default = false
445 xl('Omit employer information in patient demographics')
448 'select_multi_providers' => array(
449 xl('Support Multi-Provider Events'),
450 'bool', // data type
451 '0', // default = false
452 xl('Support calendar events that apply to multiple providers')
455 'disable_non_default_groups' => array(
456 xl('Disable User Groups'),
457 'bool', // data type
458 '1', // default = true
459 xl('Normally this should be checked. Not related to access control.')
462 'ignore_pnotes_authorization' => array(
463 xl('Skip Authorization of Patient Notes'),
464 'bool', // data type
465 '1', // default = true
466 xl('Do not require patient notes to be authorized')
469 'support_encounter_claims' => array(
470 xl('Allow Encounter Claims'),
471 'bool', // data type
472 '0', // default = false
473 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
476 'advance_directives_warning' => array(
477 xl('Advance Directives Warning'),
478 'bool', // data type
479 '0', // default = false
480 xl('Display advance directives in the demographics page.')
483 'configuration_import_export' => array(
484 xl('Configuration Export/Import'),
485 'bool', // data type
486 '0', // default = false
487 xl('Support export/import of configuration data via the Backup page.')
490 'restrict_user_facility' => array(
491 xl('Restrict Users to Facilities'),
492 'bool', // data type
493 '0', // default
494 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
497 'set_facility_cookie' => array(
498 xl('Remember Selected Facility'),
499 'bool', // data type
500 '0', // default
501 xl('Set a facility cookie to remember the selected facility between logins.')
504 'receipts_by_provider' => array(
505 xl('Print Receipts by Provider'),
506 'bool',
507 '0', // default
508 xl('Causes Receipts to Print Encounter/Primary Provider Info')
511 'discount_by_money' => array(
512 xl('Discounts as Monetary Amounts'),
513 'bool', // data type
514 '1', // default = true
515 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
518 'gbl_visit_referral_source' => array(
519 xl('Referral Source for Encounters'),
520 'bool', // data type
521 '0', // default = false
522 xl('A referral source may be specified for each visit.')
525 'gbl_mask_patient_id' => array(
526 xl('Mask for Patient IDs'),
527 'text', // data type
528 '', // default
529 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
532 'gbl_mask_invoice_number' => array(
533 xl('Mask for Invoice Numbers'),
534 'text', // data type
535 '', // default
536 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
539 'gbl_mask_product_id' => array(
540 xl('Mask for Product IDs'),
541 'text', // data type
542 '', // default
543 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
546 'force_billing_widget_open' => array(
547 xl('Force Billing Widget Open'),
548 'bool', // data type
549 '0', // default = false
550 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
553 'activate_ccr_ccd_report' => array(
554 xl('Activate CCR/CCD Reporting'),
555 'bool', // data type
556 '1', // default = true
557 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
560 'hide_document_encryption' => array(
561 xl('Hide Encryption/Decryption Options In Document Management'),
562 'bool', // data type
563 '1', // default = true
564 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
567 'use_custom_immun_list' => array(
568 xl('Use Custom Immunization List'),
569 'bool', // data type
570 '0', // default = true
571 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
576 // Calendar Tab
578 'Calendar' => array(
580 'disable_calendar' => array(
581 xl('Disable Calendar'),
582 'bool', // data type
583 '0', // default
584 xl('Do not display the calendar.')
587 'schedule_start' => array(
588 xl('Calendar Starting Hour'),
589 'hour',
590 '8', // default
591 xl('Beginning hour of day for calendar events.')
594 'schedule_end' => array(
595 xl('Calendar Ending Hour'),
596 'hour',
597 '17', // default
598 xl('Ending hour of day for calendar events.')
601 'calendar_interval' => array(
602 xl('Calendar Interval'),
603 array(
604 '5' => '5',
605 '10' => '10',
606 '15' => '15',
607 '20' => '20',
608 '30' => '30',
609 '60' => '60',
611 '15', // default
612 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
615 'calendar_appt_style' => array(
616 xl('Appointment Display Style'),
617 array(
618 '1' => 'Last name',
619 '2' => 'Last name, first name',
620 '3' => 'Last name, first name (title)',
621 '4' => 'Last name, first name (title: description)',
623 '2', // default
624 xl('This determines how appointments display on the calendar.')
627 'docs_see_entire_calendar' => array(
628 xl('Providers See Entire Calendar'),
629 'bool', // data type
630 '0', // default
631 xl('Check this if you want providers to see all appointments by default and not just their own.')
634 'auto_create_new_encounters' => array(
635 xl('Auto-Create New Encounters'),
636 'bool', // data type
637 '1', // default
638 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
641 'event_color' => array(
642 xl('Appointment/Event Color'),
643 array(
644 '1' => 'Category Color Schema',
645 '2' => 'Facility Color Schema',
646 ), // data type
647 '1', // default
648 xl('This determines which color schema used for appointment')
653 // Security Tab
655 'Security' => array(
657 'timeout' => array(
658 xl('Idle Session Timeout Seconds'),
659 'num', // data type
660 '7200', // default
661 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
664 'secure_password' => array(
665 xl('Require Strong Passwords'),
666 'bool', // data type
667 '0', // default
668 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
671 'password_history' => array(
672 xl('Require Unique Passwords'),
673 'bool', // data type
674 '0', // default
675 xl('Means none of last three passwords are allowed when changing a password.')
678 'password_expiration_days' => array(
679 xl('Default Password Expiration Days'),
680 'num', // data type
681 '0', // default
682 xl('Default password expiration period in days. 0 means this feature is disabled.')
685 'password_grace_time' => array(
686 xl('Password Expiration Grace Period'),
687 'num', // data type
688 '0', // default
689 xl('Period in days where a user may login with an expired password.')
692 'is_client_ssl_enabled' => array(
693 xl('Enable Client SSL'),
694 'bool', // data type
695 '0', // default
696 xl('Enable client SSL certificate authentication.')
699 'certificate_authority_crt' => array(
700 xl('Path to CA Certificate File'),
701 'text', // data type
702 '', // default
703 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
706 'certificate_authority_key' => array(
707 xl('Path to CA Key File'),
708 'text', // data type
709 '', // default
710 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
713 'client_certificate_valid_in_days' => array(
714 xl('Client Certificate Expiration Days'),
715 'num', // data type
716 '365', // default
717 xl('Number of days that the client certificate is valid.')
720 'Emergency_Login_email_id' => array(
721 xl('Emergency Login Email Address'),
722 'text', // data type
723 '', // default
724 xl('Email address, if any, to receive emergency login user activation messages.')
729 // Notifications Tab
731 'Notifications' => array(
733 'patient_reminder_sender_name' => array(
734 xl('Patient Reminder Sender Name'),
735 'text', // data type
736 '', // default
737 xl('Name of the sender for patient reminders.')
740 'patient_reminder_sender_email' => array(
741 xl('Patient Reminder Sender Email'),
742 'text', // data type
743 '', // default
744 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.')
747 'practice_return_email_path' => array(
748 xl('Notification Email Address'),
749 'text', // data type
750 '', // default
751 xl('Email address, if any, to receive administrative notifications.')
754 'EMAIL_METHOD' => array(
755 xl('Email Transport Method'),
756 array(
757 'PHPMAIL' => 'PHPMAIL',
758 'SENDMAIL' => 'SENDMAIL',
759 'SMTP' => 'SMTP',
761 'SMTP', // default
762 xl('Method for sending outgoing email.')
765 'SMTP_HOST' => array(
766 xl('SMTP Server Hostname'),
767 'text', // data type
768 'localhost', // default
769 xl('If SMTP is used, the server`s hostname or IP address.')
772 'SMTP_PORT' => array(
773 xl('SMTP Server Port Number'),
774 'num', // data type
775 '25', // default
776 xl('If SMTP is used, the server`s TCP port number (usually 25).')
779 'SMTP_USER' => array(
780 xl('SMTP User for Authentication'),
781 'text', // data type
782 '', // default
783 xl('Must be empty if SMTP authentication is not used.')
786 'SMTP_PASS' => array(
787 xl('SMTP Password for Authentication'),
788 'text', // data type
789 '', // default
790 xl('Must be empty if SMTP authentication is not used.')
793 'EMAIL_NOTIFICATION_HOUR' => array(
794 xl('Email Notification Hours'),
795 'num', // data type
796 '50', // default
797 xl('Number of hours in advance to send email notifications.')
800 'SMS_NOTIFICATION_HOUR' => array(
801 xl('SMS Notification Hours'),
802 'num', // data type
803 '50', // default
804 xl('Number of hours in advance to send SMS notifications.')
807 'SMS_GATEWAY_USENAME' => array(
808 xl('SMS Gateway Username'),
809 'text', // data type
810 '', // default
811 xl('Username for SMS Gateway.')
814 'SMS_GATEWAY_PASSWORD' => array(
815 xl('SMS Gateway Password'),
816 'text', // data type
817 '', // default
818 xl('Password for SMS Gateway.')
821 'SMS_GATEWAY_APIKEY' => array(
822 xl('SMS Gateway API Key'),
823 'text', // data type
824 '', // default
825 xl('API key for SMS Gateway.')
828 'phone_notification_hour' => array(
829 xl('Phone Notification Hour'),
830 'num', // data type
831 '50', // default
832 xl('Number of hours in advance to send Phone notification.')
835 'phone_gateway_username' => array(
836 xl('Phone Gateway Username'),
837 'text', // data type
838 '', // default
839 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
842 'phone_gateway_password' => array(
843 xl('Phone Gateway Password'),
844 'text', // data type
845 '', // default
846 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
849 'phone_gateway_url' => array(
850 xl('Phone Gateway URL'),
851 'text', // data type
852 '', // default
853 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
858 // CDR (Clinical Decision Rules)
860 'CDR' => array(
862 'enable_cdr' => array(
863 xl('Enable Clinical Decisions Rules (CDR)'),
864 'bool', // data type
865 '1', // default
866 xl('Enable Clinical Decisions Rules (CDR)')
869 'enable_cdr_crw' => array(
870 xl('Enable Clinical Reminder Widget'),
871 'bool', // data type
872 '1', // default
873 xl('Enable Clinical Reminder Widget')
876 'enable_cdr_crp' => array(
877 xl('Enable Clinical Reminder Popup'),
878 'bool', // data type
879 '1', // default
880 xl('Enable Clinical Reminder Popup')
883 'enable_cdr_prw' => array(
884 xl('Enable Patient Reminder Widget'),
885 'bool', // data type
886 '1', // default
887 xl('Enable Patient Reminder Widget')
890 'enable_cqm' => array(
891 xl('Enable CQM Reporting'),
892 'bool', // data type
893 '1', // default
894 xl('Enable Clinical Quality Measure (CQM) Reporting')
897 'pqri_registry_name' => array(
898 xl('PQRI Registry Name'),
899 'text', // data type
900 'Model Registry', // default
901 xl('PQRI Registry Name')
904 'pqri_registry_id' => array(
905 xl('PQRI Registry ID'),
906 'text', // data type
907 '125789123', // default
908 xl('PQRI Registry ID')
911 'enable_amc' => array(
912 xl('Enable AMC Reporting'),
913 'bool', // data type
914 '1', // default
915 xl('Enable Automated Measure Calculations (AMC) Reporting')
918 'enable_amc_prompting' => array(
919 xl('Enable AMC Prompting'),
920 'bool', // data type
921 '1', // default
922 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
925 'enable_amc_tracking' => array(
926 xl('Enable AMC Tracking'),
927 'bool', // data type
928 '1', // default
929 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
934 // Logging
936 'Logging' => array(
938 'enable_auditlog' => array(
939 xl('Enable Audit Logging'),
940 'bool', // data type
941 '1', // default
942 xl('Enable Audit Logging')
945 'audit_events_patient-record' => array(
946 xl('Audit Logging Patient Record'),
947 'bool', // data type
948 '1', // default
949 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
952 'audit_events_scheduling' => array(
953 xl('Audit Logging Scheduling'),
954 'bool', // data type
955 '1', // default
956 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
959 'audit_events_order' => array(
960 xl('Audit Logging Order'),
961 'bool', // data type
962 '1', // default
963 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
966 'audit_events_security-administration' => array(
967 xl('Audit Logging Security Administration'),
968 'bool', // data type
969 '1', // default
970 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
973 'audit_events_backup' => array(
974 xl('Audit Logging Backups'),
975 'bool', // data type
976 '1', // default
977 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
980 'audit_events_other' => array(
981 xl('Audit Logging Miscellaneous'),
982 'bool', // data type
983 '1', // default
984 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
987 'audit_events_query' => array(
988 xl('Audit Logging SELECT Query'),
989 'bool', // data type
990 '0', // default
991 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
994 'enable_atna_audit' => array(
995 xl('Enable ATNA Auditing'),
996 'bool', // data type
997 '0', // default
998 xl('Enable Audit Trail and Node Authentication (ATNA).')
1001 'atna_audit_host' => array(
1002 xl('ATNA audit host'),
1003 'text', // data type
1004 '', // default
1005 xl('The hostname of the ATNA audit repository machine.')
1008 'atna_audit_port' => array(
1009 xl('ATNA audit port'),
1010 'text', // data type
1011 '6514', // default
1012 xl('Listening port of the RFC 5425 TLS syslog server.')
1015 'atna_audit_localcert' => array(
1016 xl('ATNA audit local certificate'),
1017 'text', // data type
1018 '', // default
1019 xl('Certificate to send to RFC 5425 TLS syslog server.')
1022 'atna_audit_cacert' => array(
1023 xl('ATNA audit CA certificate'),
1024 'text', // data type
1025 '', // default
1026 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1031 // Miscellaneous Tab
1033 'Miscellaneous' => array(
1035 'mysql_bin_dir' => array(
1036 xl('Path to MySQL Binaries'),
1037 'text', // data type
1038 $mysql_bin_dir, // default
1039 xl('Full path to directory containing MySQL executables.')
1042 'perl_bin_dir' => array(
1043 xl('Path to Perl Binaries'),
1044 'text', // data type
1045 $perl_bin_dir, // default
1046 xl('Full path to directory containing Perl executables.')
1049 'temporary_files_dir' => array(
1050 xl('Path to Temporary Files'),
1051 'text', // data type
1052 $temporary_files_dir, // default
1053 xl('Full path to directory used for temporary files.')
1056 'backup_log_dir' => array(
1057 xl('Path for Event Log Backup'),
1058 'text', // data type
1059 $backup_log_dir, // default
1060 xl('Full path to directory for event log backup.')
1063 'state_data_type' => array(
1064 xl('State Data Type'),
1065 array(
1066 '2' => xl('Text field'),
1067 '1' => xl('Single-selection list'),
1068 '26' => xl('Single-selection list with ability to add to the list'),
1070 '26', // default
1071 xl('Field type to use for employer or subscriber state in demographics.')
1074 'state_list' => array(
1075 xl('State list'),
1076 'text', // data type
1077 'state', // default
1078 xl('List used by above State Data Type option.')
1081 'state_custom_addlist_widget' => array(
1082 xl('State List Widget Custom Fields'),
1083 'bool', // data type
1084 '1', // default
1085 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1088 'country_data_type' => array(
1089 xl('Country Data Type'),
1090 array(
1091 '2' => xl('Text field'),
1092 '1' => xl('Single-selection list'),
1093 '26' => xl('Single-selection list with ability to add to the list'),
1095 '26', // default
1096 xl('Field type to use for employer or subscriber country in demographics.')
1099 'country_list' => array(
1100 xl('Country list'),
1101 'text', // data type
1102 'country', // default
1103 xl('List used by above Country Data Type option.')
1106 'print_command' => array(
1107 xl('Print Command'),
1108 'text', // data type
1109 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1110 xl('Shell command for printing from the server.')
1113 'default_chief_complaint' => array(
1114 xl('Default Reason for Visit'),
1115 'text', // data type
1117 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1120 'default_new_encounter_form' => array(
1121 xl('Default Encounter Form ID'),
1122 'text', // data type
1124 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1127 'patient_id_category_name' => array(
1128 xl('Patient ID Category Name'),
1129 'text', // data type
1130 'Patient ID card', // default
1131 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1134 'patient_photo_category_name' => array(
1135 xl('Patient Photo Category Name'),
1136 'text', // data type
1137 'Patient Photograph', // default
1138 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1141 'MedicareReferrerIsRenderer' => array(
1142 xl('Medicare Referrer Is Renderer'),
1143 'bool', // data type
1144 '0', // default = true
1145 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1148 'post_to_date_benchmark' => array(
1149 xl('Financial Close Date (yyyy-mm-dd)'),
1150 'text', // data type
1151 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1152 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1155 'enable_hylafax' => array(
1156 xl('Enable Hylafax Support'),
1157 'bool', // data type
1158 '0', // default
1159 xl('Enable Hylafax Support')
1162 'hylafax_server' => array(
1163 xl('Hylafax Server'),
1164 'text', // data type
1165 'localhost', // default
1166 xl('Hylafax server hostname.')
1169 'hylafax_basedir' => array(
1170 xl('Hylafax Directory'),
1171 'text', // data type
1172 '/var/spool/fax', // default
1173 xl('Location where Hylafax stores faxes.')
1176 'hylafax_enscript' => array(
1177 xl('Hylafax Enscript Command'),
1178 'text', // data type
1179 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1180 xl('Enscript command used by Hylafax.')
1183 'enable_scanner' => array(
1184 xl('Enable Scanner Support'),
1185 'bool', // data type
1186 '0', // default
1187 xl('Enable Scanner Support')
1190 'scanner_output_directory' => array(
1191 xl('Scanner Directory'),
1192 'text', // data type
1193 '/mnt/scan_docs', // default
1194 xl('Location where scans are stored.')
1199 // Portal Tab
1201 'Portal' => array(
1203 'portal_onsite_enable' => array(
1204 xl('Enable Onsite Patient Portal'),
1205 'bool', // data type
1206 '0',
1207 xl('Enable Onsite Patient Portal.')
1210 'portal_onsite_address' => array(
1211 xl('Onsite Patient Portal Site Address'),
1212 'text', // data type
1213 'https://your_web_site.com/openemr/patients',
1214 xl('Website link for the Onsite Patient Portal.')
1217 'portal_offsite_enable' => array(
1218 xl('Enable Offsite Patient Portal'),
1219 'bool', // data type
1220 '0',
1221 xl('Enable Offsite Patient Portal.')
1224 'portal_offsite_username' => array(
1225 xl('Offsite Patient Portal Username'),
1226 'text', // data type
1228 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1231 'portal_offsite_password' => array(
1232 xl('Offsite Patient Portal Password'),
1233 'pwd', // data type
1235 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1238 'portal_offsite_address' => array(
1239 xl('Offsite Patient Portal Site Address'),
1240 'text', // data type
1241 'https://mydocsportal.com/provider.php',
1242 xl('Offsite Https link for the Patient Portal.')
1244 'portal_offsite_address_patient_link' => array(
1245 xl('Offsite Patient Portal Site Address (Patient Link)'),
1246 'text', // data type
1247 'https://mydocsportal.com',
1248 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1253 // Connectors Tab
1255 'Connectors' => array(
1257 'lab_exchange_enable' => array(
1258 xl('Enable Lab Exchange'),
1259 'bool', // data type
1260 '0',
1261 xl('Enable the OpenEMR Support LLC Lab Exchange Service.')
1264 'lab_exchange_siteid' => array(
1265 xl('Lab Exchange Site ID'),
1266 'text', // data type
1267 '3',
1268 xl('Site ID for the OpenEMR Support LLC Lab Exchange Service.')
1271 'lab_exchange_token' => array(
1272 xl('Lab Exchange Token ID'),
1273 'text', // data type
1274 '12345',
1275 xl('Token ID for the OpenEMR Support LLC Lab Exchange Service.')
1278 'lab_exchange_endpoint' => array(
1279 xl('Lab Exchange Site Address'),
1280 'text', // data type
1281 'https://openemrsupport.com:29443/len/api',
1282 xl('Https link for the OpenEMR Support LLC Lab Exchange Service.')
1285 'erx_enable' => array(
1286 xl('Enable NewCrop eRx Service'),
1287 'bool', // data type
1288 '0',
1289 xl('Enable ZMG, LLC eRx service')
1292 'erx_path_production' => array(
1293 xl('NewCrop eRx Site Address'),
1294 'text', // data type
1295 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1296 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1299 'erx_path_soap_production' => array(
1300 xl('NewCrop eRx Web Service Address'),
1301 'text', // data type
1302 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1303 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1306 'partner_name_production' => array(
1307 xl('NewCrop eRx Partner Name'),
1308 'text', // data type
1310 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1313 'erx_name_production' => array(
1314 xl('NewCrop eRx Name'),
1315 'text', // data type
1317 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1320 'erx_password_production' => array(
1321 xl('NewCrop eRx Password'),
1322 'pass', // data type
1324 xl('Contact ZMG, LLC (zmghealth@gmail.com) for subscribing the eRx service')
1327 'erx_upload_active' => array(
1328 xl('Only upload active prescriptions'),
1329 'bool', // data type
1330 '0',
1331 xl('Only upload active prescriptions')
1334 'erx_import_status_message' => array(
1335 xl('Enable import status message for NewCrop erx'),
1336 'bool', // data type
1337 '0',
1338 xl('Enable import status message for NewCrop erx')
1341 'erx_medication_display' => array(
1342 xl('Do not display Medications uploaded to NewCrop'),
1343 'bool', // data type
1344 '0',
1345 xl('Do not display Medications uploaded to NewCrop')
1348 'erx_allergy_display' => array(
1349 xl('Do not display Allergy uploaded to NewCrop'),
1350 'bool', // data type
1351 '0',
1352 xl('Do not display Allergy uploaded to NewCrop')