d0a12ecd1f8110403356fcae69829dd9f3cc6ff4
[openemr.git] / library / globals.inc.php
blobd0a12ecd1f8110403356fcae69829dd9f3cc6ff4
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 // Persian // xl('Persian')
44 // Polish // xl('Polish')
45 // Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
46 // Portuguese (European) // xl('Portuguese (European)')
47 // Romanian // xl('Romanian')
48 // Russian // xl('Russian')
49 // Slovak // xl('Slovak')
50 // Spanish (Latin American) // xl('Spanish (Latin American)')
51 // Spanish (Spain) // xl('Spanish (Spain)')
52 // Swedish // xl('Swedish')
53 // Turkish // xl('Turkish')
54 // Ukrainian // xl('Ukrainian')
55 // Vietnamese // xl('Vietnamese')
57 // OS-dependent stuff.
58 if (stristr(PHP_OS, 'WIN')) {
59 // MS Windows
60 $mysql_bin_dir = 'C:/xampp/mysql/bin';
61 $perl_bin_dir = 'C:/xampp/perl/bin';
62 $temporary_files_dir = 'C:/windows/temp';
63 $backup_log_dir = 'C:/windows/temp';
65 else {
66 // Everything else
67 $mysql_bin_dir = '/usr/bin';
68 $perl_bin_dir = '/usr/bin';
69 $temporary_files_dir = '/tmp';
70 $backup_log_dir = '/tmp';
73 // Language constant declarations:
74 // xl('Appearance')
75 // xl('Locale')
76 // xl('Features')
77 // xl('Calendar')
78 // xl('Security')
79 // xl('Notifications')
80 // xl('Miscellaneous')
82 // List of user specific tabs and globals
83 $USER_SPECIFIC_TABS = array('Appearance',
84 'Locale',
85 'Calendar',
86 'Connectors');
87 $USER_SPECIFIC_GLOBALS = array('default_top_pane',
88 'concurrent_layout',
89 'css_header',
90 'gbl_pt_list_page_size',
91 'gbl_pt_list_new_window',
92 'units_of_measurement',
93 'us_weight_format',
94 'date_display_format',
95 'time_display_format',
96 'event_color',
97 'erx_import_status_message');
99 $GLOBALS_METADATA = array(
101 // Appearance Tab
103 'Appearance' => array(
105 'default_top_pane' => array(
106 xl('Main Top Pane Screen'), // descriptive name
107 array(
108 'main_info.php' => xl('Calendar Screen'),
109 '../new/new.php' => xl('Patient Search/Add Screen'),
111 'main_info.php', // default = calendar
112 xl('Type of screen layout')
115 'concurrent_layout' => array(
116 xl('Layout Style'), // descriptive name
117 array(
118 '0' => xl('Old style layout with no left menu'),
119 '1' => xl('Navigation menu consists of pairs of radio buttons'),
120 '2' => xl('Navigation menu is a tree view'),
121 '3' => xl('Navigation uses a sliding menu'),
123 '3', // default = tree menu
124 xl('Type of screen layout')
127 'css_header' => array(
128 xl('Theme'),
129 'css',
130 'style_oemr.css',
131 xl('Pick a CSS theme.')
134 'gbl_nav_area_width' => array(
135 xl('Navigation Area Width'),
136 'num',
137 '150',
138 xl('Width in pixels of the left navigation frame.')
141 'openemr_name' => array(
142 xl('Application Title'),
143 'text',
144 'OpenEMR',
145 xl('Application name for login page and main window title.')
148 'full_new_patient_form' => array(
149 xl('New Patient Form'),
150 array(
151 '0' => xl('Old-style static form without search or duplication check'),
152 '1' => xl('All demographics fields, with search and duplication check'),
153 '2' => xl('Mandatory or specified fields only, search and dup check'),
154 '3' => xl('Mandatory or specified fields only, dup check, no search'),
156 '1', // default
157 xl('Style of form used for adding new patients')
160 'patient_search_results_style' => array(
161 xl('Patient Search Results Style'),
162 array(
163 '0' => xl('Encounter statistics'),
164 '1' => xl('Mandatory and specified fields'),
166 '0', // default
167 xl('Type of columns displayed for patient search results')
170 'gbl_tall_nav_area' => array(
171 xl('Tall Navigation Area'),
172 'bool', // data type
173 '0', // default = false
174 xl('Navigation area uses full height of frameset')
177 'gbl_nav_visit_forms' => array(
178 xl('Navigation Area Visit Forms'),
179 'bool', // data type
180 '1', // default = true
181 xl('Navigation area includes encounter forms')
184 'simplified_demographics' => array(
185 xl('Simplified Demographics'),
186 'bool', // data type
187 '0', // default = false
188 xl('Omit insurance and some other things from the demographics form')
191 'simplified_prescriptions' => array(
192 xl('Simplified Prescriptions'),
193 'bool', // data type
194 '0', // default = false
195 xl('Omit form, route and interval which then become part of dosage')
198 'simplified_copay' => array(
199 xl('Simplified Co-Pay'),
200 'bool', // data type
201 '0', // default = false
202 xl('Omit method of payment from the co-pay panel')
205 'use_charges_panel' => array(
206 xl('Use Charges Panel'),
207 'bool', // data type
208 '0', // default = false
209 xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
212 // TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
213 'enable_fees_in_left_menu' => array(
214 xl('Enable Fees In Left Menu'),
215 'bool', // data type
216 '1', // default = true
217 xl('Enable Fees In Left Menu')
219 // EDI history 2012-09-13
220 'enable_edihistory_in_left_menu' => array(
221 xl('Enable EDI History In Left Menu'),
222 'bool', // data type
223 '1', // default = true
224 xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
227 'online_support_link' => array(
228 xl('Online Support Link'),
229 'text', // data type
230 'http://open-emr.org/',
231 xl('URL for OpenEMR support.')
234 'encounter_page_size' => array(
235 xl('Encounter Page Size'),
236 array(
237 '0' => xl('Show All'),
238 '5' => '5',
239 '10' => '10',
240 '15' => '15',
241 '20' => '20',
242 '25' => '25',
243 '50' => '50',
245 '20',
246 xl('Number of encounters to display per page.')
249 'gbl_pt_list_page_size' => array(
250 xl('Patient List Page Size'),
251 array(
252 '10' => '10',
253 '25' => '25',
254 '50' => '50',
255 '100' => '100',
257 '10',
258 xl('Number of patients to display per page in the patient list.')
261 'gbl_pt_list_new_window' => array(
262 xl('Patient List New Window'),
263 'bool', // data type
264 '0', // default = false
265 xl('Default state of New Window checkbox in the patient list.')
268 'gbl_vitals_options' => array(
269 xl('Vitals Form Options'),
270 array(
271 '0' => xl('Standard'),
272 '1' => xl('Omit circumferences'),
274 '0', // default
275 xl('Special treatment for the Vitals form')
280 // Locale Tab
282 'Locale' => array(
284 'language_default' => array(
285 xl('Default Language'),
286 'lang', // data type
287 'English (Standard)', // default = english
288 xl('Default language if no other is allowed or chosen.')
291 'language_menu_showall' => array(
292 xl('All Languages Allowed'),
293 'bool', // data type
294 '1', // default = true
295 xl('Allow all available languages as choices on menu at login.')
298 'language_menu_other' => array(
299 xl('Allowed Languages'),
300 'm_lang', // data type
301 '', // default = none
302 xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
305 'allow_debug_language' => array(
306 xl('Allow Debugging Language'),
307 'bool', // data type
308 '1', // default = true during development and false for production releases
309 xl('This will allow selection of the debugging (\'dummy\') language.')
312 'translate_layout' => array(
313 xl('Translate Layouts'),
314 'bool', // data type
315 '1', // default = true
316 xl('Is text from form layouts to be translated?')
319 'translate_lists' => array(
320 xl('Translate Lists'),
321 'bool', // data type
322 '1', // default = true
323 xl('Is text from lists to be translated?')
326 'translate_gacl_groups' => array(
327 xl('Translate Access Control Groups'),
328 'bool', // data type
329 '1', // default = true
330 xl('Are access control group names to be translated?')
333 'translate_form_titles' => array(
334 xl('Translate Patient Note Titles'),
335 'bool', // data type
336 '1', // default = true
337 xl('Are patient note titles to be translated?')
340 'translate_document_categories' => array(
341 xl('Translate Document Categories'),
342 'bool', // data type
343 '1', // default = true
344 xl('Are document category names to be translated?')
347 'translate_appt_categories' => array(
348 xl('Translate Appointment Categories'),
349 'bool', // data type
350 '1', // default = true
351 xl('Are appointment category names to be translated?')
354 'units_of_measurement' => array(
355 xl('Units for Visit Forms'),
356 array(
357 '1' => xl('Show both US and metric (main unit is US)'),
358 '2' => xl('Show both US and metric (main unit is metric)'),
359 '3' => xl('Show US only'),
360 '4' => xl('Show metric only'),
362 '1', // default = Both/US
363 xl('Applies to the Vitals form and Growth Chart')
366 'us_weight_format' => array(
367 xl('Display Format for US Weights'),
368 array(
369 '1'=>xl('Show pounds as decimal value'),
370 '2'=>xl('Show pounds and ounces')
372 '1',
373 xl('Applies to Vitals form')
376 'disable_deprecated_metrics_form' => array(
377 xl('Disable Old Metric Vitals Form'),
378 'bool', // data type
379 '1', // default = true
380 xl('This was the older metric-only Vitals form, now deprecated.')
383 'phone_country_code' => array(
384 xl('Telephone Country Code'),
385 'num',
386 '1', // default = North America
387 xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.')
390 'date_display_format' => array(
391 xl('Date Display Format'),
392 array(
393 '0' => xl('YYYY-MM-DD'),
394 '1' => xl('MM/DD/YYYY'),
395 '2' => xl('DD/MM/YYYY'),
397 '0',
398 xl('Format used to display most dates.')
401 'time_display_format' => array(
402 xl('Time Display Format'),
403 array(
404 '0' => xl('24 hr'),
405 '1' => xl('12 hr'),
407 '0',
408 xl('Format used to display most times.')
411 'currency_decimals' => array(
412 xl('Currency Decimal Places'),
413 array(
414 '0' => xl('0'),
415 '1' => xl('1'),
416 '2' => xl('2'),
418 '2',
419 xl('Number of digits after decimal point for currency, usually 0 or 2.')
422 'currency_dec_point' => array(
423 xl('Currency Decimal Point Symbol'),
424 array(
425 '.' => xl('Period'),
426 ',' => xl('Comma'),
428 '.',
429 xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
432 'currency_thousands_sep' => array(
433 xl('Currency Thousands Separator'),
434 array(
435 ',' => xl('Comma'),
436 '.' => xl('Period'),
437 ' ' => xl('Space'),
438 '' => xl('None'),
440 ',',
441 xl('Symbol used to separate thousands for currency.')
444 'gbl_currency_symbol' => array(
445 xl('Currency Designator'),
446 'text', // data type
447 '$', // default
448 xl('Code or symbol to indicate currency')
450 'age_display_format'=>array(xl('Age Display Format'),
451 array(
452 '0'=>xl('Years or months'),
453 '1'=>xl('Years, months and days')
455 '0',
456 xl('Format for age display')
460 // Features Tab
462 'Features' => array(
464 'specific_application' => array(
465 xl('Specific Application'),
466 array(
467 '0' => xl('None'),
468 '1' => xl('Athletic team'),
469 '2' => xl('IPPF'),
470 '3' => xl('Weight loss clinic'),
472 '0', // default
473 xl('Indicator for specialized usage')
476 'inhouse_pharmacy' => array(
477 xl('Drugs and Products'),
478 array(
479 '0' => xl('Do not inventory and sell any products'),
480 '1' => xl('Inventory and sell drugs only'),
481 '2' => xl('Inventory and sell both drugs and non-drug products'),
482 '3' => xl('Products but no prescription drugs and no templates'),
484 '0', // default
485 xl('Option to support inventory and sales of products')
488 'disable_chart_tracker' => array(
489 xl('Disable Chart Tracker'),
490 'bool', // data type
491 '0', // default = false
492 xl('Removes the Chart Tracker feature')
495 'disable_phpmyadmin_link' => array(
496 xl('Disable phpMyAdmin'),
497 'bool', // data type
498 '0', // default = false
499 xl('Removes support for phpMyAdmin')
502 'disable_immunizations' => array(
503 xl('Disable Immunizations'),
504 'bool', // data type
505 '0', // default = false
506 xl('Removes support for immunizations')
509 'disable_prescriptions' => array(
510 xl('Disable Prescriptions'),
511 'bool', // data type
512 '0', // default = false
513 xl('Removes support for prescriptions')
516 'omit_employers' => array(
517 xl('Omit Employers'),
518 'bool', // data type
519 '0', // default = false
520 xl('Omit employer information in patient demographics')
523 'select_multi_providers' => array(
524 xl('Support Multi-Provider Events'),
525 'bool', // data type
526 '0', // default = false
527 xl('Support calendar events that apply to multiple providers')
530 'disable_non_default_groups' => array(
531 xl('Disable User Groups'),
532 'bool', // data type
533 '1', // default = true
534 xl('Normally this should be checked. Not related to access control.')
537 'ignore_pnotes_authorization' => array(
538 xl('Skip Authorization of Patient Notes'),
539 'bool', // data type
540 '1', // default = true
541 xl('Do not require patient notes to be authorized')
544 'support_encounter_claims' => array(
545 xl('Allow Encounter Claims'),
546 'bool', // data type
547 '0', // default = false
548 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
551 'advance_directives_warning' => array(
552 xl('Advance Directives Warning'),
553 'bool', // data type
554 '0', // default = false
555 xl('Display advance directives in the demographics page.')
558 'configuration_import_export' => array(
559 xl('Configuration Export/Import'),
560 'bool', // data type
561 '0', // default = false
562 xl('Support export/import of configuration data via the Backup page.')
565 'restrict_user_facility' => array(
566 xl('Restrict Users to Facilities'),
567 'bool', // data type
568 '0', // default
569 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
572 'set_facility_cookie' => array(
573 xl('Remember Selected Facility'),
574 'bool', // data type
575 '0', // default
576 xl('Set a facility cookie to remember the selected facility between logins.')
579 'receipts_by_provider' => array(
580 xl('Print Receipts by Provider'),
581 'bool',
582 '0', // default
583 xl('Causes Receipts to Print Encounter/Primary Provider Info')
586 'discount_by_money' => array(
587 xl('Discounts as Monetary Amounts'),
588 'bool', // data type
589 '1', // default = true
590 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
593 'gbl_visit_referral_source' => array(
594 xl('Referral Source for Encounters'),
595 'bool', // data type
596 '0', // default = false
597 xl('A referral source may be specified for each visit.')
600 'gbl_mask_patient_id' => array(
601 xl('Mask for Patient IDs'),
602 'text', // data type
603 '', // default
604 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
607 'gbl_mask_invoice_number' => array(
608 xl('Mask for Invoice Numbers'),
609 'text', // data type
610 '', // default
611 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
614 'gbl_mask_product_id' => array(
615 xl('Mask for Product IDs'),
616 'text', // data type
617 '', // default
618 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
621 'force_billing_widget_open' => array(
622 xl('Force Billing Widget Open'),
623 'bool', // data type
624 '0', // default = false
625 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
628 'num_past_appointments_to_show' => array(
629 xl('Past Appointment Display Widget'),
630 'num', // data type
631 '0', // default = false
632 xl('A positive number will show that many past appointments on a Widget in the Patient Summary screen.')
635 'activate_ccr_ccd_report' => array(
636 xl('Activate CCR/CCD Reporting'),
637 'bool', // data type
638 '1', // default = true
639 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
642 'hide_document_encryption' => array(
643 xl('Hide Encryption/Decryption Options In Document Management'),
644 'bool', // data type
645 '1', // default = true
646 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
649 'use_custom_immun_list' => array(
650 xl('Use Custom Immunization List'),
651 'bool', // data type
652 '0', // default = true
653 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
658 //Documents Tab
659 'Documents' => array(
660 'document_storage_method' => array(
661 xl('Document Storage Method'),
662 array(
663 '0' => xl('Hard Disk'),
664 '1' => xl('CouchDB')
666 '0', // default
667 xl('Option to save method of document storage.')
669 'couchdb_host' => array(
670 xl('CouchDB HostName'),
671 'text',
672 'localhost',
673 xl('CouchDB host'),
675 'couchdb_user' => array(
676 xl('CouchDB UserName'),
677 'text',
679 xl('Username to connect to CouchDB'),
681 'couchdb_pass' => array(
682 xl('CouchDB Password'),
683 'text',
685 xl('Password to connect to CouchDB'),
687 'couchdb_port' => array(
688 xl('CouchDB Port'),
689 'text',
690 '5984',
691 xl('CouchDB port'),
693 'couchdb_dbase' => array(
694 xl('CouchDB Database'),
695 'text',
697 xl('CouchDB database name'),
699 'couchdb_log' => array(
700 xl('CouchDB Log Enable'),
701 'bool',
702 '0',
703 xl('Enable log for document uploads/downloads to CouchDB'),
707 // Calendar Tab
709 'Calendar' => array(
711 'disable_calendar' => array(
712 xl('Disable Calendar'),
713 'bool', // data type
714 '0', // default
715 xl('Do not display the calendar.')
718 'schedule_start' => array(
719 xl('Calendar Starting Hour'),
720 'hour',
721 '8', // default
722 xl('Beginning hour of day for calendar events.')
725 'schedule_end' => array(
726 xl('Calendar Ending Hour'),
727 'hour',
728 '17', // default
729 xl('Ending hour of day for calendar events.')
732 'calendar_interval' => array(
733 xl('Calendar Interval'),
734 array(
735 '5' => '5',
736 '10' => '10',
737 '15' => '15',
738 '20' => '20',
739 '30' => '30',
740 '60' => '60',
742 '15', // default
743 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
746 'calendar_appt_style' => array(
747 xl('Appointment Display Style'),
748 array(
749 '1' => 'Last name',
750 '2' => 'Last name, first name',
751 '3' => 'Last name, first name (title)',
752 '4' => 'Last name, first name (title: description)',
754 '2', // default
755 xl('This determines how appointments display on the calendar.')
758 'docs_see_entire_calendar' => array(
759 xl('Providers See Entire Calendar'),
760 'bool', // data type
761 '0', // default
762 xl('Check this if you want providers to see all appointments by default and not just their own.')
765 'auto_create_new_encounters' => array(
766 xl('Auto-Create New Encounters'),
767 'bool', // data type
768 '1', // default
769 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
772 'event_color' => array(
773 xl('Appointment/Event Color'),
774 array(
775 '1' => 'Category Color Schema',
776 '2' => 'Facility Color Schema',
777 ), // data type
778 '1', // default
779 xl('This determines which color schema used for appointment')
784 // Security Tab
786 'Security' => array(
788 'timeout' => array(
789 xl('Idle Session Timeout Seconds'),
790 'num', // data type
791 '7200', // default
792 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
795 'secure_password' => array(
796 xl('Require Strong Passwords'),
797 'bool', // data type
798 '0', // default
799 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
802 'password_history' => array(
803 xl('Require Unique Passwords'),
804 'bool', // data type
805 '0', // default
806 xl('Means none of last three passwords are allowed when changing a password.')
809 'password_expiration_days' => array(
810 xl('Default Password Expiration Days'),
811 'num', // data type
812 '0', // default
813 xl('Default password expiration period in days. 0 means this feature is disabled.')
816 'password_grace_time' => array(
817 xl('Password Expiration Grace Period'),
818 'num', // data type
819 '0', // default
820 xl('Period in days where a user may login with an expired password.')
823 'is_client_ssl_enabled' => array(
824 xl('Enable Client SSL'),
825 'bool', // data type
826 '0', // default
827 xl('Enable client SSL certificate authentication.')
830 'certificate_authority_crt' => array(
831 xl('Path to CA Certificate File'),
832 'text', // data type
833 '', // default
834 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
837 'certificate_authority_key' => array(
838 xl('Path to CA Key File'),
839 'text', // data type
840 '', // default
841 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
844 'client_certificate_valid_in_days' => array(
845 xl('Client Certificate Expiration Days'),
846 'num', // data type
847 '365', // default
848 xl('Number of days that the client certificate is valid.')
851 'Emergency_Login_email_id' => array(
852 xl('Emergency Login Email Address'),
853 'text', // data type
854 '', // default
855 xl('Email address, if any, to receive emergency login user activation messages.')
860 // Notifications Tab
862 'Notifications' => array(
864 'patient_reminder_sender_name' => array(
865 xl('Patient Reminder Sender Name'),
866 'text', // data type
867 '', // default
868 xl('Name of the sender for patient reminders.')
871 'patient_reminder_sender_email' => array(
872 xl('Patient Reminder Sender Email'),
873 'text', // data type
874 '', // default
875 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.')
878 'practice_return_email_path' => array(
879 xl('Notification Email Address'),
880 'text', // data type
881 '', // default
882 xl('Email address, if any, to receive administrative notifications.')
885 'EMAIL_METHOD' => array(
886 xl('Email Transport Method'),
887 array(
888 'PHPMAIL' => 'PHPMAIL',
889 'SENDMAIL' => 'SENDMAIL',
890 'SMTP' => 'SMTP',
892 'SMTP', // default
893 xl('Method for sending outgoing email.')
896 'SMTP_HOST' => array(
897 xl('SMTP Server Hostname'),
898 'text', // data type
899 'localhost', // default
900 xl('If SMTP is used, the server`s hostname or IP address.')
903 'SMTP_PORT' => array(
904 xl('SMTP Server Port Number'),
905 'num', // data type
906 '25', // default
907 xl('If SMTP is used, the server`s TCP port number (usually 25).')
910 'SMTP_USER' => array(
911 xl('SMTP User for Authentication'),
912 'text', // data type
913 '', // default
914 xl('Must be empty if SMTP authentication is not used.')
917 'SMTP_PASS' => array(
918 xl('SMTP Password for Authentication'),
919 'text', // data type
920 '', // default
921 xl('Must be empty if SMTP authentication is not used.')
924 'EMAIL_NOTIFICATION_HOUR' => array(
925 xl('Email Notification Hours'),
926 'num', // data type
927 '50', // default
928 xl('Number of hours in advance to send email notifications.')
931 'SMS_NOTIFICATION_HOUR' => array(
932 xl('SMS Notification Hours'),
933 'num', // data type
934 '50', // default
935 xl('Number of hours in advance to send SMS notifications.')
938 'SMS_GATEWAY_USENAME' => array(
939 xl('SMS Gateway Username'),
940 'text', // data type
941 '', // default
942 xl('Username for SMS Gateway.')
945 'SMS_GATEWAY_PASSWORD' => array(
946 xl('SMS Gateway Password'),
947 'text', // data type
948 '', // default
949 xl('Password for SMS Gateway.')
952 'SMS_GATEWAY_APIKEY' => array(
953 xl('SMS Gateway API Key'),
954 'text', // data type
955 '', // default
956 xl('API key for SMS Gateway.')
959 'phone_notification_hour' => array(
960 xl('Phone Notification Hour'),
961 'num', // data type
962 '50', // default
963 xl('Number of hours in advance to send Phone notification.')
966 'phone_gateway_username' => array(
967 xl('Phone Gateway Username'),
968 'text', // data type
969 '', // default
970 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
973 'phone_gateway_password' => array(
974 xl('Phone Gateway Password'),
975 'text', // data type
976 '', // default
977 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
980 'phone_gateway_url' => array(
981 xl('Phone Gateway URL'),
982 'text', // data type
983 '', // default
984 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
989 // CDR (Clinical Decision Rules)
991 'CDR' => array(
993 'enable_cdr' => array(
994 xl('Enable Clinical Decisions Rules (CDR)'),
995 'bool', // data type
996 '1', // default
997 xl('Enable Clinical Decisions Rules (CDR)')
1000 'enable_cdr_crw' => array(
1001 xl('Enable Clinical Reminder Widget'),
1002 'bool', // data type
1003 '1', // default
1004 xl('Enable Clinical Reminder Widget')
1007 'enable_cdr_crp' => array(
1008 xl('Enable Clinical Reminder Popup'),
1009 'bool', // data type
1010 '1', // default
1011 xl('Enable Clinical Reminder Popup')
1014 'enable_cdr_prw' => array(
1015 xl('Enable Patient Reminder Widget'),
1016 'bool', // data type
1017 '1', // default
1018 xl('Enable Patient Reminder Widget')
1021 'enable_cqm' => array(
1022 xl('Enable CQM Reporting'),
1023 'bool', // data type
1024 '1', // default
1025 xl('Enable Clinical Quality Measure (CQM) Reporting')
1028 'pqri_registry_name' => array(
1029 xl('PQRI Registry Name'),
1030 'text', // data type
1031 'Model Registry', // default
1032 xl('PQRI Registry Name')
1035 'pqri_registry_id' => array(
1036 xl('PQRI Registry ID'),
1037 'text', // data type
1038 '125789123', // default
1039 xl('PQRI Registry ID')
1042 'enable_amc' => array(
1043 xl('Enable AMC Reporting'),
1044 'bool', // data type
1045 '1', // default
1046 xl('Enable Automated Measure Calculations (AMC) Reporting')
1049 'enable_amc_prompting' => array(
1050 xl('Enable AMC Prompting'),
1051 'bool', // data type
1052 '1', // default
1053 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1056 'enable_amc_tracking' => array(
1057 xl('Enable AMC Tracking'),
1058 'bool', // data type
1059 '1', // default
1060 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1063 'cdr_report_nice' => array(
1064 xl('CDR Reports Processing Priority'),
1065 array(
1066 '' => xl('Default Priority'),
1067 '5' => xl('Moderate Priority'),
1068 '10' => xl('Moderate/Low Priority'),
1069 '15' => xl('Low Priority'),
1070 '20' => xl('Lowest Priority')
1072 '', // default
1073 xl('Set processing priority for CDR engine based reports.')
1076 'pat_rem_clin_nice' => array(
1077 xl('Patient Reminder Creation Processing Priority'),
1078 array(
1079 '' => xl('Default Priority'),
1080 '5' => xl('Moderate Priority'),
1081 '10' => xl('Moderate/Low Priority'),
1082 '15' => xl('Low Priority'),
1083 '20' => xl('Lowest Priority')
1085 '', // default
1086 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1091 // Logging
1093 'Logging' => array(
1095 'enable_auditlog' => array(
1096 xl('Enable Audit Logging'),
1097 'bool', // data type
1098 '1', // default
1099 xl('Enable Audit Logging')
1102 'audit_events_patient-record' => array(
1103 xl('Audit Logging Patient Record'),
1104 'bool', // data type
1105 '1', // default
1106 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1109 'audit_events_scheduling' => array(
1110 xl('Audit Logging Scheduling'),
1111 'bool', // data type
1112 '1', // default
1113 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1116 'audit_events_order' => array(
1117 xl('Audit Logging Order'),
1118 'bool', // data type
1119 '1', // default
1120 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1123 'audit_events_security-administration' => array(
1124 xl('Audit Logging Security Administration'),
1125 'bool', // data type
1126 '1', // default
1127 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1130 'audit_events_backup' => array(
1131 xl('Audit Logging Backups'),
1132 'bool', // data type
1133 '1', // default
1134 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1137 'audit_events_other' => array(
1138 xl('Audit Logging Miscellaneous'),
1139 'bool', // data type
1140 '1', // default
1141 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1144 'audit_events_query' => array(
1145 xl('Audit Logging SELECT Query'),
1146 'bool', // data type
1147 '0', // default
1148 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1151 'audit_events_cdr' => array(
1152 xl('Audit CDR Engine Queries'),
1153 'bool', // data type
1154 '0', // default
1155 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1158 'enable_atna_audit' => array(
1159 xl('Enable ATNA Auditing'),
1160 'bool', // data type
1161 '0', // default
1162 xl('Enable Audit Trail and Node Authentication (ATNA).')
1165 'atna_audit_host' => array(
1166 xl('ATNA audit host'),
1167 'text', // data type
1168 '', // default
1169 xl('The hostname of the ATNA audit repository machine.')
1172 'atna_audit_port' => array(
1173 xl('ATNA audit port'),
1174 'text', // data type
1175 '6514', // default
1176 xl('Listening port of the RFC 5425 TLS syslog server.')
1179 'atna_audit_localcert' => array(
1180 xl('ATNA audit local certificate'),
1181 'text', // data type
1182 '', // default
1183 xl('Certificate to send to RFC 5425 TLS syslog server.')
1186 'atna_audit_cacert' => array(
1187 xl('ATNA audit CA certificate'),
1188 'text', // data type
1189 '', // default
1190 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1195 // Miscellaneous Tab
1197 'Miscellaneous' => array(
1199 'mysql_bin_dir' => array(
1200 xl('Path to MySQL Binaries'),
1201 'text', // data type
1202 $mysql_bin_dir, // default
1203 xl('Full path to directory containing MySQL executables.')
1206 'perl_bin_dir' => array(
1207 xl('Path to Perl Binaries'),
1208 'text', // data type
1209 $perl_bin_dir, // default
1210 xl('Full path to directory containing Perl executables.')
1213 'temporary_files_dir' => array(
1214 xl('Path to Temporary Files'),
1215 'text', // data type
1216 $temporary_files_dir, // default
1217 xl('Full path to directory used for temporary files.')
1220 'backup_log_dir' => array(
1221 xl('Path for Event Log Backup'),
1222 'text', // data type
1223 $backup_log_dir, // default
1224 xl('Full path to directory for event log backup.')
1227 'state_data_type' => array(
1228 xl('State Data Type'),
1229 array(
1230 '2' => xl('Text field'),
1231 '1' => xl('Single-selection list'),
1232 '26' => xl('Single-selection list with ability to add to the list'),
1234 '26', // default
1235 xl('Field type to use for employer or subscriber state in demographics.')
1238 'state_list' => array(
1239 xl('State list'),
1240 'text', // data type
1241 'state', // default
1242 xl('List used by above State Data Type option.')
1245 'state_custom_addlist_widget' => array(
1246 xl('State List Widget Custom Fields'),
1247 'bool', // data type
1248 '1', // default
1249 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1252 'country_data_type' => array(
1253 xl('Country Data Type'),
1254 array(
1255 '2' => xl('Text field'),
1256 '1' => xl('Single-selection list'),
1257 '26' => xl('Single-selection list with ability to add to the list'),
1259 '26', // default
1260 xl('Field type to use for employer or subscriber country in demographics.')
1263 'country_list' => array(
1264 xl('Country list'),
1265 'text', // data type
1266 'country', // default
1267 xl('List used by above Country Data Type option.')
1270 'print_command' => array(
1271 xl('Print Command'),
1272 'text', // data type
1273 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1274 xl('Shell command for printing from the server.')
1277 'default_chief_complaint' => array(
1278 xl('Default Reason for Visit'),
1279 'text', // data type
1281 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1284 'default_new_encounter_form' => array(
1285 xl('Default Encounter Form ID'),
1286 'text', // data type
1288 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1291 'patient_id_category_name' => array(
1292 xl('Patient ID Category Name'),
1293 'text', // data type
1294 'Patient ID card', // default
1295 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1298 'patient_photo_category_name' => array(
1299 xl('Patient Photo Category Name'),
1300 'text', // data type
1301 'Patient Photograph', // default
1302 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1305 'MedicareReferrerIsRenderer' => array(
1306 xl('Medicare Referrer Is Renderer'),
1307 'bool', // data type
1308 '0', // default = true
1309 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1312 'post_to_date_benchmark' => array(
1313 xl('Financial Close Date (yyyy-mm-dd)'),
1314 'text', // data type
1315 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1316 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1319 'enable_hylafax' => array(
1320 xl('Enable Hylafax Support'),
1321 'bool', // data type
1322 '0', // default
1323 xl('Enable Hylafax Support')
1326 'hylafax_server' => array(
1327 xl('Hylafax Server'),
1328 'text', // data type
1329 'localhost', // default
1330 xl('Hylafax server hostname.')
1333 'hylafax_basedir' => array(
1334 xl('Hylafax Directory'),
1335 'text', // data type
1336 '/var/spool/fax', // default
1337 xl('Location where Hylafax stores faxes.')
1340 'hylafax_enscript' => array(
1341 xl('Hylafax Enscript Command'),
1342 'text', // data type
1343 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1344 xl('Enscript command used by Hylafax.')
1347 'enable_scanner' => array(
1348 xl('Enable Scanner Support'),
1349 'bool', // data type
1350 '0', // default
1351 xl('Enable Scanner Support')
1354 'scanner_output_directory' => array(
1355 xl('Scanner Directory'),
1356 'text', // data type
1357 '/mnt/scan_docs', // default
1358 xl('Location where scans are stored.')
1363 // Portal Tab
1365 'Portal' => array(
1367 'portal_onsite_enable' => array(
1368 xl('Enable Onsite Patient Portal'),
1369 'bool', // data type
1370 '0',
1371 xl('Enable Onsite Patient Portal.')
1374 'portal_onsite_address' => array(
1375 xl('Onsite Patient Portal Site Address'),
1376 'text', // data type
1377 'https://your_web_site.com/openemr/patients',
1378 xl('Website link for the Onsite Patient Portal.')
1381 'portal_offsite_enable' => array(
1382 xl('Enable Offsite Patient Portal'),
1383 'bool', // data type
1384 '0',
1385 xl('Enable Offsite Patient Portal.')
1388 'portal_offsite_providerid' => array(
1389 xl('Offsite Patient Portal Provider ID'),
1390 'text', // data type
1392 xl('Offsite Patient Portal Provider ID(Put Blank If not Registered).')
1395 'portal_offsite_username' => array(
1396 xl('Offsite Patient Portal Username'),
1397 'text', // data type
1399 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1402 'portal_offsite_password' => array(
1403 xl('Offsite Patient Portal Password'),
1404 'pwd', // data type
1406 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1409 'portal_offsite_address' => array(
1410 xl('Offsite Patient Portal Site Address'),
1411 'text', // data type
1412 'https://mydocsportal.com/provider.php',
1413 xl('Offsite Https link for the Patient Portal.')
1415 'portal_offsite_address_patient_link' => array(
1416 xl('Offsite Patient Portal Site Address (Patient Link)'),
1417 'text', // data type
1418 'https://mydocsportal.com',
1419 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1424 // Connectors Tab
1426 'Connectors' => array(
1428 'lab_exchange_enable' => array(
1429 xl('Enable Lab Exchange'),
1430 'bool', // data type
1431 '0',
1432 xl('Enable the Medical Information Integration, LLC Lab Exchange Service.')
1435 'lab_exchange_siteid' => array(
1436 xl('Lab Exchange Site ID'),
1437 'text', // data type
1438 '3',
1439 xl('Site ID for the Medical Information Integration, LLC Lab Exchange Service.')
1442 'lab_exchange_token' => array(
1443 xl('Lab Exchange Token ID'),
1444 'text', // data type
1445 '12345',
1446 xl('Token ID for the Medical Information Integration, LLC Lab Exchange Service.')
1449 'lab_exchange_endpoint' => array(
1450 xl('Lab Exchange Site Address'),
1451 'text', // data type
1452 'https://len.mi-squared.com:29443/len/api',
1453 xl('Contact Medical Information Integration, LLC at http://mi-squared.com for Lab Exchange Service.')
1456 'erx_enable' => array(
1457 xl('Enable NewCrop eRx Service'),
1458 'bool', // data type
1459 '0',
1460 xl('Enable NewCrop eRx Service')
1463 'erx_path_production' => array(
1464 xl('NewCrop eRx Site Address'),
1465 'text', // data type
1466 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1467 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1470 'erx_path_soap_production' => array(
1471 xl('NewCrop eRx Web Service Address'),
1472 'text', // data type
1473 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1474 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1477 'partner_name_production' => array(
1478 xl('NewCrop eRx Partner Name'),
1479 'text', // data type
1481 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1484 'erx_name_production' => array(
1485 xl('NewCrop eRx Name'),
1486 'text', // data type
1488 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1491 'erx_password_production' => array(
1492 xl('NewCrop eRx Password'),
1493 'pass', // data type
1495 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1498 'erx_upload_active' => array(
1499 xl('Only upload active prescriptions'),
1500 'bool', // data type
1501 '0',
1502 xl('Only upload active prescriptions')
1505 'erx_import_status_message' => array(
1506 xl('Enable import status message for NewCrop erx'),
1507 'bool', // data type
1508 '0',
1509 xl('Enable import status message for NewCrop erx')
1512 'erx_medication_display' => array(
1513 xl('Do not display Medications uploaded to NewCrop'),
1514 'bool', // data type
1515 '0',
1516 xl('Do not display Medications uploaded to NewCrop')
1519 'erx_allergy_display' => array(
1520 xl('Do not display Allergy uploaded to NewCrop'),
1521 'bool', // data type
1522 '0',
1523 xl('Do not display Allergy uploaded to NewCrop')
1526 'erx_default_patient_country' => array(
1527 xl('Default Patient Country'),
1528 array(
1529 '' => '',
1530 'US' => 'USA',
1531 'CA' => 'Canada',
1532 'MX' => 'Mexico'
1535 xl('Default Patient Country'),
1538 'phimail_enable' => array(
1539 xl('Enable phiMail Direct Messaging Service'),
1540 'bool', // data type
1541 '0',
1542 xl('Enable phiMail Direct Messaging Service')
1545 'phimail_server_address' => array(
1546 xl('phiMail Server Address'),
1547 'text', // data type
1548 'https://phimail.example.com:32541',
1549 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1552 'phimail_username' => array(
1553 xl('phiMail Username'),
1554 'text', // data type
1556 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1559 'phimail_password' => array(
1560 xl('phiMail Password'),
1561 'pass', // data type
1563 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1566 'phimail_notify' => array(
1567 xl('phiMail notification user'),
1568 'text', // data type
1569 'admin',
1570 xl('This user will receive notification of new incoming Direct messages')
1573 'phimail_interval' => array(
1574 xl('phiMail Message Check Interval (minutes)'),
1575 'num', // data type
1576 '5',
1577 xl('Interval between message checks (set to zero for manual checks only)')
1582 'Rx' => array(
1583 'rx_enable_DEA' => array(
1584 xl('Rx Enable DEA #'),
1585 'bool', // data type
1586 '1',
1587 xl('Rx Enable DEA #')
1589 'rx_show_DEA' => array(
1590 xl('Rx Show DEA #'),
1591 'bool', // data type
1592 '0',
1593 xl('Rx Show DEA #')
1595 'rx_enable_NPI' => array(
1596 xl('Rx Enable NPI'),
1597 'bool', // data type
1598 '0',
1599 xl('Rx Enable NPI')
1601 'rx_show_NPI' => array(
1602 xl('Rx Show NPI'),
1603 'bool', // data type
1604 '0',
1605 xl('Rx Show NPI')
1607 'rx_enable_SLN' => array(
1608 xl('Rx Enable State Lic. #'),
1609 'bool', // data type
1610 '0',
1611 xl('Rx Enable State Lic. #')
1613 'rx_show_SLN' => array(
1614 xl('Rx Show State Lic. #'),
1615 'bool', // data type
1616 '0',
1617 xl('Rx Show State Lic. #')
1619 'rx_paper_size' => array(
1620 xl('Rx Paper Size'), // descriptive name
1621 array(
1622 'LETTER' => xl('Letter Paper Size'),
1623 'LEGAL' => xl('Legal Paper Size'),
1624 'FOLIO' => xl('Folio Paper Size'),
1625 'EXECUTIVE' => xl('Executive Paper Size'),
1626 '4A0' => ('4A0' . " " . xl('Paper Size')),
1627 '2A0' => ('2A0' . " " . xl('Paper Size')),
1628 'A0' => ('A0' . " " . xl('Paper Size')),
1629 'A1' => ('A1' . " " . xl('Paper Size')),
1630 'A2' => ('A2' . " " . xl('Paper Size')),
1631 'A3' => ('A3' . " " . xl('Paper Size')),
1632 'A4' => ('A4' . " " . xl('Paper Size')),
1633 'A5' => ('A5' . " " . xl('Paper Size')),
1634 'A6' => ('A6' . " " . xl('Paper Size')),
1635 'A7' => ('A7' . " " . xl('Paper Size')),
1636 'A8' => ('A8' . " " . xl('Paper Size')),
1637 'A9' => ('A9' . " " . xl('Paper Size')),
1638 'A10' => ('A10' . " " . xl('Paper Size')),
1639 'B0' => ('B0' . " " . xl('Paper Size')),
1640 'B1' => ('B1' . " " . xl('Paper Size')),
1641 'B2' => ('B2' . " " . xl('Paper Size')),
1642 'B3' => ('B3' . " " . xl('Paper Size')),
1643 'B4' => ('B4' . " " . xl('Paper Size')),
1644 'B5' => ('B5' . " " . xl('Paper Size')),
1645 'B6' => ('B6' . " " . xl('Paper Size')),
1646 'B7' => ('B7' . " " . xl('Paper Size')),
1647 'B8' => ('B8' . " " . xl('Paper Size')),
1648 'B9' => ('B9' . " " . xl('Paper Size')),
1649 'B10' => ('B10' . " " . xl('Paper Size')),
1650 'C0' => ('C0' . " " . xl('Paper Size')),
1651 'C1' => ('C1' . " " . xl('Paper Size')),
1652 'C2' => ('C2' . " " . xl('Paper Size')),
1653 'C3' => ('C3' . " " . xl('Paper Size')),
1654 'C4' => ('C4' . " " . xl('Paper Size')),
1655 'C5' => ('C5' . " " . xl('Paper Size')),
1656 'C6' => ('C6' . " " . xl('Paper Size')),
1657 'C7' => ('C7' . " " . xl('Paper Size')),
1658 'C8' => ('C8' . " " . xl('Paper Size')),
1659 'C9' => ('C9' . " " . xl('Paper Size')),
1660 'C10' => ('C10' . " " . xl('Paper Size')),
1661 'RA0' => ('RA0' . " " . xl('Paper Size')),
1662 'RA1' => ('RA1' . " " . xl('Paper Size')),
1663 'RA2' => ('RA2' . " " . xl('Paper Size')),
1664 'RA3' => ('RA3' . " " . xl('Paper Size')),
1665 'RA4' => ('RA4' . " " . xl('Paper Size')),
1666 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1667 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1668 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1669 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1670 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1672 'LETTER', // default = tree menu
1673 xl('Rx Paper Size')
1675 'rx_left_margin' => array(
1676 xl('Rx Left Margin (px)'),
1677 'num',
1678 '30',
1679 xl('Rx Left Margin (px)')
1681 'rx_right_margin' => array(
1682 xl('Rx Right Margin (px)'),
1683 'num',
1684 '30',
1685 xl('Rx Right Margin (px)')
1687 'rx_top_margin' => array(
1688 xl('Rx Top Margin (px)'),
1689 'num',
1690 '72',
1691 xl('Rx Top Margin (px)')
1693 'rx_bottom_margin' => array(
1694 xl('Rx Bottom Margin (px)'),
1695 'num',
1696 '30',
1697 xl('Rx Bottom Margin (px)')