Fix edi.inc encoding and correct uninitialized variables in modified files
[openemr.git] / library / globals.inc.php
blob752322033f190a0f2f69dedc9e4df8a242eafdbe
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')
458 'age_display_limit' => array(
459 xl('Age in Years for Display Format Change'),
460 'num',
461 '3',
462 xl('If YMD is selected for age display, switch to just Years when patients older than this value in years')
466 // Features Tab
468 'Features' => array(
470 'specific_application' => array(
471 xl('Specific Application'),
472 array(
473 '0' => xl('None'),
474 '1' => xl('Athletic team'),
475 '2' => xl('IPPF'),
476 '3' => xl('Weight loss clinic'),
478 '0', // default
479 xl('Indicator for specialized usage')
482 'inhouse_pharmacy' => array(
483 xl('Drugs and Products'),
484 array(
485 '0' => xl('Do not inventory and sell any products'),
486 '1' => xl('Inventory and sell drugs only'),
487 '2' => xl('Inventory and sell both drugs and non-drug products'),
488 '3' => xl('Products but no prescription drugs and no templates'),
490 '0', // default
491 xl('Option to support inventory and sales of products')
494 'disable_chart_tracker' => array(
495 xl('Disable Chart Tracker'),
496 'bool', // data type
497 '0', // default = false
498 xl('Removes the Chart Tracker feature')
501 'disable_phpmyadmin_link' => array(
502 xl('Disable phpMyAdmin'),
503 'bool', // data type
504 '0', // default = false
505 xl('Removes support for phpMyAdmin')
508 'disable_immunizations' => array(
509 xl('Disable Immunizations'),
510 'bool', // data type
511 '0', // default = false
512 xl('Removes support for immunizations')
515 'disable_prescriptions' => array(
516 xl('Disable Prescriptions'),
517 'bool', // data type
518 '0', // default = false
519 xl('Removes support for prescriptions')
522 'omit_employers' => array(
523 xl('Omit Employers'),
524 'bool', // data type
525 '0', // default = false
526 xl('Omit employer information in patient demographics')
529 'select_multi_providers' => array(
530 xl('Support Multi-Provider Events'),
531 'bool', // data type
532 '0', // default = false
533 xl('Support calendar events that apply to multiple providers')
536 'disable_non_default_groups' => array(
537 xl('Disable User Groups'),
538 'bool', // data type
539 '1', // default = true
540 xl('Normally this should be checked. Not related to access control.')
543 'ignore_pnotes_authorization' => array(
544 xl('Skip Authorization of Patient Notes'),
545 'bool', // data type
546 '1', // default = true
547 xl('Do not require patient notes to be authorized')
550 'support_encounter_claims' => array(
551 xl('Allow Encounter Claims'),
552 'bool', // data type
553 '0', // default = false
554 xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
557 'advance_directives_warning' => array(
558 xl('Advance Directives Warning'),
559 'bool', // data type
560 '0', // default = false
561 xl('Display advance directives in the demographics page.')
564 'configuration_import_export' => array(
565 xl('Configuration Export/Import'),
566 'bool', // data type
567 '0', // default = false
568 xl('Support export/import of configuration data via the Backup page.')
571 'restrict_user_facility' => array(
572 xl('Restrict Users to Facilities'),
573 'bool', // data type
574 '0', // default
575 xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
578 'set_facility_cookie' => array(
579 xl('Remember Selected Facility'),
580 'bool', // data type
581 '0', // default
582 xl('Set a facility cookie to remember the selected facility between logins.')
585 'receipts_by_provider' => array(
586 xl('Print Receipts by Provider'),
587 'bool',
588 '0', // default
589 xl('Causes Receipts to Print Encounter/Primary Provider Info')
592 'discount_by_money' => array(
593 xl('Discounts as Monetary Amounts'),
594 'bool', // data type
595 '1', // default = true
596 xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
599 'gbl_visit_referral_source' => array(
600 xl('Referral Source for Encounters'),
601 'bool', // data type
602 '0', // default = false
603 xl('A referral source may be specified for each visit.')
606 'gbl_mask_patient_id' => array(
607 xl('Mask for Patient IDs'),
608 'text', // data type
609 '', // default
610 xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
613 'gbl_mask_invoice_number' => array(
614 xl('Mask for Invoice Numbers'),
615 'text', // data type
616 '', // default
617 xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
620 'gbl_mask_product_id' => array(
621 xl('Mask for Product IDs'),
622 'text', // data type
623 '', // default
624 xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
627 'force_billing_widget_open' => array(
628 xl('Force Billing Widget Open'),
629 'bool', // data type
630 '0', // default = false
631 xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
634 'num_past_appointments_to_show' => array(
635 xl('Past Appointment Display Widget'),
636 'num', // data type
637 '0', // default = false
638 xl('A positive number will show that many past appointments on a Widget in the Patient Summary screen.')
641 'activate_ccr_ccd_report' => array(
642 xl('Activate CCR/CCD Reporting'),
643 'bool', // data type
644 '1', // default = true
645 xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
648 'hide_document_encryption' => array(
649 xl('Hide Encryption/Decryption Options In Document Management'),
650 'bool', // data type
651 '1', // default = true
652 xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
655 'use_custom_immun_list' => array(
656 xl('Use Custom Immunization List'),
657 'bool', // data type
658 '0', // default = true
659 xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
664 //Documents Tab
665 'Documents' => array(
666 'document_storage_method' => array(
667 xl('Document Storage Method'),
668 array(
669 '0' => xl('Hard Disk'),
670 '1' => xl('CouchDB')
672 '0', // default
673 xl('Option to save method of document storage.')
675 'couchdb_host' => array(
676 xl('CouchDB HostName'),
677 'text',
678 'localhost',
679 xl('CouchDB host'),
681 'couchdb_user' => array(
682 xl('CouchDB UserName'),
683 'text',
685 xl('Username to connect to CouchDB'),
687 'couchdb_pass' => array(
688 xl('CouchDB Password'),
689 'text',
691 xl('Password to connect to CouchDB'),
693 'couchdb_port' => array(
694 xl('CouchDB Port'),
695 'text',
696 '5984',
697 xl('CouchDB port'),
699 'couchdb_dbase' => array(
700 xl('CouchDB Database'),
701 'text',
703 xl('CouchDB database name'),
705 'couchdb_log' => array(
706 xl('CouchDB Log Enable'),
707 'bool',
708 '0',
709 xl('Enable log for document uploads/downloads to CouchDB'),
713 // Calendar Tab
715 'Calendar' => array(
717 'disable_calendar' => array(
718 xl('Disable Calendar'),
719 'bool', // data type
720 '0', // default
721 xl('Do not display the calendar.')
724 'schedule_start' => array(
725 xl('Calendar Starting Hour'),
726 'hour',
727 '8', // default
728 xl('Beginning hour of day for calendar events.')
731 'schedule_end' => array(
732 xl('Calendar Ending Hour'),
733 'hour',
734 '17', // default
735 xl('Ending hour of day for calendar events.')
738 'calendar_interval' => array(
739 xl('Calendar Interval'),
740 array(
741 '5' => '5',
742 '10' => '10',
743 '15' => '15',
744 '20' => '20',
745 '30' => '30',
746 '60' => '60',
748 '15', // default
749 xl('The time granularity of the calendar and the smallest interval in minutes for an appointment slot.')
752 'calendar_appt_style' => array(
753 xl('Appointment Display Style'),
754 array(
755 '1' => 'Last name',
756 '2' => 'Last name, first name',
757 '3' => 'Last name, first name (title)',
758 '4' => 'Last name, first name (title: description)',
760 '2', // default
761 xl('This determines how appointments display on the calendar.')
764 'docs_see_entire_calendar' => array(
765 xl('Providers See Entire Calendar'),
766 'bool', // data type
767 '0', // default
768 xl('Check this if you want providers to see all appointments by default and not just their own.')
771 'auto_create_new_encounters' => array(
772 xl('Auto-Create New Encounters'),
773 'bool', // data type
774 '1', // default
775 xl('Automatically create a new encounter when appointment status is set to "@" (arrived).')
778 'event_color' => array(
779 xl('Appointment/Event Color'),
780 array(
781 '1' => 'Category Color Schema',
782 '2' => 'Facility Color Schema',
783 ), // data type
784 '1', // default
785 xl('This determines which color schema used for appointment')
790 // Security Tab
792 'Security' => array(
794 'timeout' => array(
795 xl('Idle Session Timeout Seconds'),
796 'num', // data type
797 '7200', // default
798 xl('Maximum idle time in seconds before logout. Default is 7200 (2 hours).')
801 'secure_password' => array(
802 xl('Require Strong Passwords'),
803 'bool', // data type
804 '0', // default
805 xl('Strong password means at least 8 characters, and at least three of: a number, a lowercase letter, an uppercase letter, a special character.')
808 'password_history' => array(
809 xl('Require Unique Passwords'),
810 'bool', // data type
811 '0', // default
812 xl('Means none of last three passwords are allowed when changing a password.')
815 'password_expiration_days' => array(
816 xl('Default Password Expiration Days'),
817 'num', // data type
818 '0', // default
819 xl('Default password expiration period in days. 0 means this feature is disabled.')
822 'password_grace_time' => array(
823 xl('Password Expiration Grace Period'),
824 'num', // data type
825 '0', // default
826 xl('Period in days where a user may login with an expired password.')
829 'is_client_ssl_enabled' => array(
830 xl('Enable Client SSL'),
831 'bool', // data type
832 '0', // default
833 xl('Enable client SSL certificate authentication.')
836 'certificate_authority_crt' => array(
837 xl('Path to CA Certificate File'),
838 'text', // data type
839 '', // default
840 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
843 'certificate_authority_key' => array(
844 xl('Path to CA Key File'),
845 'text', // data type
846 '', // default
847 xl('Set this to the full absolute path. For creating client SSL certificates for HTTPS.')
850 'client_certificate_valid_in_days' => array(
851 xl('Client Certificate Expiration Days'),
852 'num', // data type
853 '365', // default
854 xl('Number of days that the client certificate is valid.')
857 'Emergency_Login_email_id' => array(
858 xl('Emergency Login Email Address'),
859 'text', // data type
860 '', // default
861 xl('Email address, if any, to receive emergency login user activation messages.')
866 // Notifications Tab
868 'Notifications' => array(
870 'patient_reminder_sender_name' => array(
871 xl('Patient Reminder Sender Name'),
872 'text', // data type
873 '', // default
874 xl('Name of the sender for patient reminders.')
877 'patient_reminder_sender_email' => array(
878 xl('Patient Reminder Sender Email'),
879 'text', // data type
880 '', // default
881 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.')
884 'practice_return_email_path' => array(
885 xl('Notification Email Address'),
886 'text', // data type
887 '', // default
888 xl('Email address, if any, to receive administrative notifications.')
891 'EMAIL_METHOD' => array(
892 xl('Email Transport Method'),
893 array(
894 'PHPMAIL' => 'PHPMAIL',
895 'SENDMAIL' => 'SENDMAIL',
896 'SMTP' => 'SMTP',
898 'SMTP', // default
899 xl('Method for sending outgoing email.')
902 'SMTP_HOST' => array(
903 xl('SMTP Server Hostname'),
904 'text', // data type
905 'localhost', // default
906 xl('If SMTP is used, the server`s hostname or IP address.')
909 'SMTP_PORT' => array(
910 xl('SMTP Server Port Number'),
911 'num', // data type
912 '25', // default
913 xl('If SMTP is used, the server`s TCP port number (usually 25).')
916 'SMTP_USER' => array(
917 xl('SMTP User for Authentication'),
918 'text', // data type
919 '', // default
920 xl('Must be empty if SMTP authentication is not used.')
923 'SMTP_PASS' => array(
924 xl('SMTP Password for Authentication'),
925 'text', // data type
926 '', // default
927 xl('Must be empty if SMTP authentication is not used.')
930 'EMAIL_NOTIFICATION_HOUR' => array(
931 xl('Email Notification Hours'),
932 'num', // data type
933 '50', // default
934 xl('Number of hours in advance to send email notifications.')
937 'SMS_NOTIFICATION_HOUR' => array(
938 xl('SMS Notification Hours'),
939 'num', // data type
940 '50', // default
941 xl('Number of hours in advance to send SMS notifications.')
944 'SMS_GATEWAY_USENAME' => array(
945 xl('SMS Gateway Username'),
946 'text', // data type
947 '', // default
948 xl('Username for SMS Gateway.')
951 'SMS_GATEWAY_PASSWORD' => array(
952 xl('SMS Gateway Password'),
953 'text', // data type
954 '', // default
955 xl('Password for SMS Gateway.')
958 'SMS_GATEWAY_APIKEY' => array(
959 xl('SMS Gateway API Key'),
960 'text', // data type
961 '', // default
962 xl('API key for SMS Gateway.')
965 'phone_notification_hour' => array(
966 xl('Phone Notification Hour'),
967 'num', // data type
968 '50', // default
969 xl('Number of hours in advance to send Phone notification.')
972 'phone_gateway_username' => array(
973 xl('Phone Gateway Username'),
974 'text', // data type
975 '', // default
976 xl('Username for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
979 'phone_gateway_password' => array(
980 xl('Phone Gateway Password'),
981 'text', // data type
982 '', // default
983 xl('Password for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
986 'phone_gateway_url' => array(
987 xl('Phone Gateway URL'),
988 'text', // data type
989 '', // default
990 xl('URL for Phone Gateway. Automated VOIP service provided by Maviq. Please visit http://signup.maviq.com for more information.')
995 // CDR (Clinical Decision Rules)
997 'CDR' => array(
999 'enable_cdr' => array(
1000 xl('Enable Clinical Decisions Rules (CDR)'),
1001 'bool', // data type
1002 '1', // default
1003 xl('Enable Clinical Decisions Rules (CDR)')
1006 'enable_cdr_crw' => array(
1007 xl('Enable Clinical Reminder Widget'),
1008 'bool', // data type
1009 '1', // default
1010 xl('Enable Clinical Reminder Widget')
1013 'enable_cdr_crp' => array(
1014 xl('Enable Clinical Reminder Popup'),
1015 'bool', // data type
1016 '1', // default
1017 xl('Enable Clinical Reminder Popup')
1020 'enable_cdr_prw' => array(
1021 xl('Enable Patient Reminder Widget'),
1022 'bool', // data type
1023 '1', // default
1024 xl('Enable Patient Reminder Widget')
1027 'enable_cqm' => array(
1028 xl('Enable CQM Reporting'),
1029 'bool', // data type
1030 '1', // default
1031 xl('Enable Clinical Quality Measure (CQM) Reporting')
1034 'pqri_registry_name' => array(
1035 xl('PQRI Registry Name'),
1036 'text', // data type
1037 'Model Registry', // default
1038 xl('PQRI Registry Name')
1041 'pqri_registry_id' => array(
1042 xl('PQRI Registry ID'),
1043 'text', // data type
1044 '125789123', // default
1045 xl('PQRI Registry ID')
1048 'enable_amc' => array(
1049 xl('Enable AMC Reporting'),
1050 'bool', // data type
1051 '1', // default
1052 xl('Enable Automated Measure Calculations (AMC) Reporting')
1055 'enable_amc_prompting' => array(
1056 xl('Enable AMC Prompting'),
1057 'bool', // data type
1058 '1', // default
1059 xl('Enable Prompting For Automated Measure Calculations (AMC) Required Data')
1062 'enable_amc_tracking' => array(
1063 xl('Enable AMC Tracking'),
1064 'bool', // data type
1065 '1', // default
1066 xl('Enable Reporting of Tracking Date For Automated Measure Calculations (AMC)')
1069 'cdr_report_nice' => array(
1070 xl('CDR Reports Processing Priority'),
1071 array(
1072 '' => xl('Default Priority'),
1073 '5' => xl('Moderate Priority'),
1074 '10' => xl('Moderate/Low Priority'),
1075 '15' => xl('Low Priority'),
1076 '20' => xl('Lowest Priority')
1078 '', // default
1079 xl('Set processing priority for CDR engine based reports.')
1082 'pat_rem_clin_nice' => array(
1083 xl('Patient Reminder Creation Processing Priority'),
1084 array(
1085 '' => xl('Default Priority'),
1086 '5' => xl('Moderate Priority'),
1087 '10' => xl('Moderate/Low Priority'),
1088 '15' => xl('Low Priority'),
1089 '20' => xl('Lowest Priority')
1091 '', // default
1092 xl('Set processing priority for creation of Patient Reminders (in full clinic mode).')
1097 // Logging
1099 'Logging' => array(
1101 'enable_auditlog' => array(
1102 xl('Enable Audit Logging'),
1103 'bool', // data type
1104 '1', // default
1105 xl('Enable Audit Logging')
1108 'audit_events_patient-record' => array(
1109 xl('Audit Logging Patient Record'),
1110 'bool', // data type
1111 '1', // default
1112 xl('Enable logging of patient record modifications.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1115 'audit_events_scheduling' => array(
1116 xl('Audit Logging Scheduling'),
1117 'bool', // data type
1118 '1', // default
1119 xl('Enable logging of scheduling activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1122 'audit_events_order' => array(
1123 xl('Audit Logging Order'),
1124 'bool', // data type
1125 '1', // default
1126 xl('Enable logging of ordering activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1129 'audit_events_security-administration' => array(
1130 xl('Audit Logging Security Administration'),
1131 'bool', // data type
1132 '1', // default
1133 xl('Enable logging of security and administration activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1136 'audit_events_backup' => array(
1137 xl('Audit Logging Backups'),
1138 'bool', // data type
1139 '1', // default
1140 xl('Enable logging of backup related activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1143 'audit_events_other' => array(
1144 xl('Audit Logging Miscellaneous'),
1145 'bool', // data type
1146 '1', // default
1147 xl('Enable logging of miscellaneous activities.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1150 'audit_events_query' => array(
1151 xl('Audit Logging SELECT Query'),
1152 'bool', // data type
1153 '0', // default
1154 xl('Enable logging of all SQL SELECT queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1157 'audit_events_cdr' => array(
1158 xl('Audit CDR Engine Queries'),
1159 'bool', // data type
1160 '0', // default
1161 xl('Enable logging of CDR Engine Queries.').' ('.xl('Note that Audit Logging needs to be enabled above').')'
1164 'enable_atna_audit' => array(
1165 xl('Enable ATNA Auditing'),
1166 'bool', // data type
1167 '0', // default
1168 xl('Enable Audit Trail and Node Authentication (ATNA).')
1171 'atna_audit_host' => array(
1172 xl('ATNA audit host'),
1173 'text', // data type
1174 '', // default
1175 xl('The hostname of the ATNA audit repository machine.')
1178 'atna_audit_port' => array(
1179 xl('ATNA audit port'),
1180 'text', // data type
1181 '6514', // default
1182 xl('Listening port of the RFC 5425 TLS syslog server.')
1185 'atna_audit_localcert' => array(
1186 xl('ATNA audit local certificate'),
1187 'text', // data type
1188 '', // default
1189 xl('Certificate to send to RFC 5425 TLS syslog server.')
1192 'atna_audit_cacert' => array(
1193 xl('ATNA audit CA certificate'),
1194 'text', // data type
1195 '', // default
1196 xl('CA Certificate for verifying the RFC 5425 TLS syslog server.')
1201 // Miscellaneous Tab
1203 'Miscellaneous' => array(
1205 'mysql_bin_dir' => array(
1206 xl('Path to MySQL Binaries'),
1207 'text', // data type
1208 $mysql_bin_dir, // default
1209 xl('Full path to directory containing MySQL executables.')
1212 'perl_bin_dir' => array(
1213 xl('Path to Perl Binaries'),
1214 'text', // data type
1215 $perl_bin_dir, // default
1216 xl('Full path to directory containing Perl executables.')
1219 'temporary_files_dir' => array(
1220 xl('Path to Temporary Files'),
1221 'text', // data type
1222 $temporary_files_dir, // default
1223 xl('Full path to directory used for temporary files.')
1226 'backup_log_dir' => array(
1227 xl('Path for Event Log Backup'),
1228 'text', // data type
1229 $backup_log_dir, // default
1230 xl('Full path to directory for event log backup.')
1233 'state_data_type' => array(
1234 xl('State Data Type'),
1235 array(
1236 '2' => xl('Text field'),
1237 '1' => xl('Single-selection list'),
1238 '26' => xl('Single-selection list with ability to add to the list'),
1240 '26', // default
1241 xl('Field type to use for employer or subscriber state in demographics.')
1244 'state_list' => array(
1245 xl('State list'),
1246 'text', // data type
1247 'state', // default
1248 xl('List used by above State Data Type option.')
1251 'state_custom_addlist_widget' => array(
1252 xl('State List Widget Custom Fields'),
1253 'bool', // data type
1254 '1', // default
1255 xl('Show the custom state form for the add list widget (will ask for title and abbreviation).')
1258 'country_data_type' => array(
1259 xl('Country Data Type'),
1260 array(
1261 '2' => xl('Text field'),
1262 '1' => xl('Single-selection list'),
1263 '26' => xl('Single-selection list with ability to add to the list'),
1265 '26', // default
1266 xl('Field type to use for employer or subscriber country in demographics.')
1269 'country_list' => array(
1270 xl('Country list'),
1271 'text', // data type
1272 'country', // default
1273 xl('List used by above Country Data Type option.')
1276 'print_command' => array(
1277 xl('Print Command'),
1278 'text', // data type
1279 'lpr -P HPLaserjet6P -o cpi=10 -o lpi=6 -o page-left=72 -o page-top=72',
1280 xl('Shell command for printing from the server.')
1283 'default_chief_complaint' => array(
1284 xl('Default Reason for Visit'),
1285 'text', // data type
1287 xl('You may put text here as the default complaint in the New Patient Encounter form.')
1290 'default_new_encounter_form' => array(
1291 xl('Default Encounter Form ID'),
1292 'text', // data type
1294 xl('To automatically open the specified form. Some sports teams use football_injury_audit here.')
1297 'patient_id_category_name' => array(
1298 xl('Patient ID Category Name'),
1299 'text', // data type
1300 'Patient ID card', // default
1301 xl('Optional category name for an ID Card image that can be viewed from the patient summary page.')
1304 'patient_photo_category_name' => array(
1305 xl('Patient Photo Category Name'),
1306 'text', // data type
1307 'Patient Photograph', // default
1308 xl('Optional category name for photo images that can be viewed from the patient summary page.')
1311 'MedicareReferrerIsRenderer' => array(
1312 xl('Medicare Referrer Is Renderer'),
1313 'bool', // data type
1314 '0', // default = true
1315 xl('For Medicare only, forces the referring provider to be the same as the rendering provider.')
1318 'post_to_date_benchmark' => array(
1319 xl('Financial Close Date (yyyy-mm-dd)'),
1320 'text', // data type
1321 date('Y-m-d',time() - (10 * 24 * 60 * 60)), // default
1322 xl('The payments posted cannot go below this date.This ensures that after taking the final report nobody post for previous dates.')
1325 'enable_hylafax' => array(
1326 xl('Enable Hylafax Support'),
1327 'bool', // data type
1328 '0', // default
1329 xl('Enable Hylafax Support')
1332 'hylafax_server' => array(
1333 xl('Hylafax Server'),
1334 'text', // data type
1335 'localhost', // default
1336 xl('Hylafax server hostname.')
1339 'hylafax_basedir' => array(
1340 xl('Hylafax Directory'),
1341 'text', // data type
1342 '/var/spool/fax', // default
1343 xl('Location where Hylafax stores faxes.')
1346 'hylafax_enscript' => array(
1347 xl('Hylafax Enscript Command'),
1348 'text', // data type
1349 'enscript -M Letter -B -e^ --margins=36:36:36:36', // default
1350 xl('Enscript command used by Hylafax.')
1353 'enable_scanner' => array(
1354 xl('Enable Scanner Support'),
1355 'bool', // data type
1356 '0', // default
1357 xl('Enable Scanner Support')
1360 'scanner_output_directory' => array(
1361 xl('Scanner Directory'),
1362 'text', // data type
1363 '/mnt/scan_docs', // default
1364 xl('Location where scans are stored.')
1369 // Portal Tab
1371 'Portal' => array(
1373 'portal_onsite_enable' => array(
1374 xl('Enable Onsite Patient Portal'),
1375 'bool', // data type
1376 '0',
1377 xl('Enable Onsite Patient Portal.')
1380 'portal_onsite_address' => array(
1381 xl('Onsite Patient Portal Site Address'),
1382 'text', // data type
1383 'https://your_web_site.com/openemr/patients',
1384 xl('Website link for the Onsite Patient Portal.')
1387 'portal_offsite_enable' => array(
1388 xl('Enable Offsite Patient Portal'),
1389 'bool', // data type
1390 '0',
1391 xl('Enable Offsite Patient Portal.')
1394 'portal_offsite_providerid' => array(
1395 xl('Offsite Patient Portal Provider ID'),
1396 'text', // data type
1398 xl('Offsite Patient Portal Provider ID(Put Blank If not Registered).')
1401 'portal_offsite_username' => array(
1402 xl('Offsite Patient Portal Username'),
1403 'text', // data type
1405 xl('Offsite Patient Portal Username(Put Blank If not Registered).')
1408 'portal_offsite_password' => array(
1409 xl('Offsite Patient Portal Password'),
1410 'pwd', // data type
1412 xl('Offsite Patient Portal Password(Put Blank If not Registered).')
1415 'portal_offsite_address' => array(
1416 xl('Offsite Patient Portal Site Address'),
1417 'text', // data type
1418 'https://mydocsportal.com/provider.php',
1419 xl('Offsite Https link for the Patient Portal.')
1421 'portal_offsite_address_patient_link' => array(
1422 xl('Offsite Patient Portal Site Address (Patient Link)'),
1423 'text', // data type
1424 'https://mydocsportal.com',
1425 xl('Offsite Https link for the Patient Portal.(Patient Link)')
1430 // Connectors Tab
1432 'Connectors' => array(
1434 'lab_exchange_enable' => array(
1435 xl('Enable Lab Exchange'),
1436 'bool', // data type
1437 '0',
1438 xl('Enable the Medical Information Integration, LLC Lab Exchange Service.')
1441 'lab_exchange_siteid' => array(
1442 xl('Lab Exchange Site ID'),
1443 'text', // data type
1444 '3',
1445 xl('Site ID for the Medical Information Integration, LLC Lab Exchange Service.')
1448 'lab_exchange_token' => array(
1449 xl('Lab Exchange Token ID'),
1450 'text', // data type
1451 '12345',
1452 xl('Token ID for the Medical Information Integration, LLC Lab Exchange Service.')
1455 'lab_exchange_endpoint' => array(
1456 xl('Lab Exchange Site Address'),
1457 'text', // data type
1458 'https://len.mi-squared.com:29443/len/api',
1459 xl('Contact Medical Information Integration, LLC at http://mi-squared.com for Lab Exchange Service.')
1462 'erx_enable' => array(
1463 xl('Enable NewCrop eRx Service'),
1464 'bool', // data type
1465 '0',
1466 xl('Enable NewCrop eRx Service')
1469 'erx_path_production' => array(
1470 xl('NewCrop eRx Site Address'),
1471 'text', // data type
1472 'https://secure.newcropaccounts.com/InterfaceV7/RxEntry.aspx',
1473 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1476 'erx_path_soap_production' => array(
1477 xl('NewCrop eRx Web Service Address'),
1478 'text', // data type
1479 'https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL',
1480 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1483 'partner_name_production' => array(
1484 xl('NewCrop eRx Partner Name'),
1485 'text', // data type
1487 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1490 'erx_name_production' => array(
1491 xl('NewCrop eRx Name'),
1492 'text', // data type
1494 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1497 'erx_password_production' => array(
1498 xl('NewCrop eRx Password'),
1499 'pass', // data type
1501 xl('Contact Medical Information Integration, LLC at http://mi-squared.com or ZH Healthcare at http://zhservices.com for subscribing the eRx service')
1504 'erx_upload_active' => array(
1505 xl('Only upload active prescriptions'),
1506 'bool', // data type
1507 '0',
1508 xl('Only upload active prescriptions')
1511 'erx_import_status_message' => array(
1512 xl('Enable import status message for NewCrop erx'),
1513 'bool', // data type
1514 '0',
1515 xl('Enable import status message for NewCrop erx')
1518 'erx_medication_display' => array(
1519 xl('Do not display Medications uploaded to NewCrop'),
1520 'bool', // data type
1521 '0',
1522 xl('Do not display Medications uploaded to NewCrop')
1525 'erx_allergy_display' => array(
1526 xl('Do not display Allergy uploaded to NewCrop'),
1527 'bool', // data type
1528 '0',
1529 xl('Do not display Allergy uploaded to NewCrop')
1532 'erx_default_patient_country' => array(
1533 xl('Default Patient Country'),
1534 array(
1535 '' => '',
1536 'US' => 'USA',
1537 'CA' => 'Canada',
1538 'MX' => 'Mexico'
1541 xl('Default Patient Country'),
1544 'phimail_enable' => array(
1545 xl('Enable phiMail Direct Messaging Service'),
1546 'bool', // data type
1547 '0',
1548 xl('Enable phiMail Direct Messaging Service')
1551 'phimail_server_address' => array(
1552 xl('phiMail Server Address'),
1553 'text', // data type
1554 'https://phimail.example.com:32541',
1555 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1558 'phimail_username' => array(
1559 xl('phiMail Username'),
1560 'text', // data type
1562 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1565 'phimail_password' => array(
1566 xl('phiMail Password'),
1567 'pass', // data type
1569 xl('Contact EMR Direct to subscribe to the phiMail Direct messaging service')
1572 'phimail_notify' => array(
1573 xl('phiMail notification user'),
1574 'text', // data type
1575 'admin',
1576 xl('This user will receive notification of new incoming Direct messages')
1579 'phimail_interval' => array(
1580 xl('phiMail Message Check Interval (minutes)'),
1581 'num', // data type
1582 '5',
1583 xl('Interval between message checks (set to zero for manual checks only)')
1588 'Rx' => array(
1589 'rx_enable_DEA' => array(
1590 xl('Rx Enable DEA #'),
1591 'bool', // data type
1592 '1',
1593 xl('Rx Enable DEA #')
1595 'rx_show_DEA' => array(
1596 xl('Rx Show DEA #'),
1597 'bool', // data type
1598 '0',
1599 xl('Rx Show DEA #')
1601 'rx_enable_NPI' => array(
1602 xl('Rx Enable NPI'),
1603 'bool', // data type
1604 '0',
1605 xl('Rx Enable NPI')
1607 'rx_show_NPI' => array(
1608 xl('Rx Show NPI'),
1609 'bool', // data type
1610 '0',
1611 xl('Rx Show NPI')
1613 'rx_enable_SLN' => array(
1614 xl('Rx Enable State Lic. #'),
1615 'bool', // data type
1616 '0',
1617 xl('Rx Enable State Lic. #')
1619 'rx_show_SLN' => array(
1620 xl('Rx Show State Lic. #'),
1621 'bool', // data type
1622 '0',
1623 xl('Rx Show State Lic. #')
1625 'rx_paper_size' => array(
1626 xl('Rx Paper Size'), // descriptive name
1627 array(
1628 'LETTER' => xl('Letter Paper Size'),
1629 'LEGAL' => xl('Legal Paper Size'),
1630 'FOLIO' => xl('Folio Paper Size'),
1631 'EXECUTIVE' => xl('Executive Paper Size'),
1632 '4A0' => ('4A0' . " " . xl('Paper Size')),
1633 '2A0' => ('2A0' . " " . xl('Paper Size')),
1634 'A0' => ('A0' . " " . xl('Paper Size')),
1635 'A1' => ('A1' . " " . xl('Paper Size')),
1636 'A2' => ('A2' . " " . xl('Paper Size')),
1637 'A3' => ('A3' . " " . xl('Paper Size')),
1638 'A4' => ('A4' . " " . xl('Paper Size')),
1639 'A5' => ('A5' . " " . xl('Paper Size')),
1640 'A6' => ('A6' . " " . xl('Paper Size')),
1641 'A7' => ('A7' . " " . xl('Paper Size')),
1642 'A8' => ('A8' . " " . xl('Paper Size')),
1643 'A9' => ('A9' . " " . xl('Paper Size')),
1644 'A10' => ('A10' . " " . xl('Paper Size')),
1645 'B0' => ('B0' . " " . xl('Paper Size')),
1646 'B1' => ('B1' . " " . xl('Paper Size')),
1647 'B2' => ('B2' . " " . xl('Paper Size')),
1648 'B3' => ('B3' . " " . xl('Paper Size')),
1649 'B4' => ('B4' . " " . xl('Paper Size')),
1650 'B5' => ('B5' . " " . xl('Paper Size')),
1651 'B6' => ('B6' . " " . xl('Paper Size')),
1652 'B7' => ('B7' . " " . xl('Paper Size')),
1653 'B8' => ('B8' . " " . xl('Paper Size')),
1654 'B9' => ('B9' . " " . xl('Paper Size')),
1655 'B10' => ('B10' . " " . xl('Paper Size')),
1656 'C0' => ('C0' . " " . xl('Paper Size')),
1657 'C1' => ('C1' . " " . xl('Paper Size')),
1658 'C2' => ('C2' . " " . xl('Paper Size')),
1659 'C3' => ('C3' . " " . xl('Paper Size')),
1660 'C4' => ('C4' . " " . xl('Paper Size')),
1661 'C5' => ('C5' . " " . xl('Paper Size')),
1662 'C6' => ('C6' . " " . xl('Paper Size')),
1663 'C7' => ('C7' . " " . xl('Paper Size')),
1664 'C8' => ('C8' . " " . xl('Paper Size')),
1665 'C9' => ('C9' . " " . xl('Paper Size')),
1666 'C10' => ('C10' . " " . xl('Paper Size')),
1667 'RA0' => ('RA0' . " " . xl('Paper Size')),
1668 'RA1' => ('RA1' . " " . xl('Paper Size')),
1669 'RA2' => ('RA2' . " " . xl('Paper Size')),
1670 'RA3' => ('RA3' . " " . xl('Paper Size')),
1671 'RA4' => ('RA4' . " " . xl('Paper Size')),
1672 'SRA0' => ('SRA0' . " " . xl('Paper Size')),
1673 'SRA1' => ('SRA1' . " " . xl('Paper Size')),
1674 'SRA2' => ('SRA2' . " " . xl('Paper Size')),
1675 'SRA3' => ('SRA3' . " " . xl('Paper Size')),
1676 'SRA4' => ('SRA4' . " " . xl('Paper Size')),
1678 'LETTER', // default = tree menu
1679 xl('Rx Paper Size')
1681 'rx_left_margin' => array(
1682 xl('Rx Left Margin (px)'),
1683 'num',
1684 '30',
1685 xl('Rx Left Margin (px)')
1687 'rx_right_margin' => array(
1688 xl('Rx Right Margin (px)'),
1689 'num',
1690 '30',
1691 xl('Rx Right Margin (px)')
1693 'rx_top_margin' => array(
1694 xl('Rx Top Margin (px)'),
1695 'num',
1696 '72',
1697 xl('Rx Top Margin (px)')
1699 'rx_bottom_margin' => array(
1700 xl('Rx Bottom Margin (px)'),
1701 'num',
1702 '30',
1703 xl('Rx Bottom Margin (px)')