forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.inc.php
4161 lines (3718 loc) · 157 KB
/
globals.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/*
* This program sets the global variables.
*
* @package OpenEMR
* @link https://www.open-emr.org
* @author Rod Roark <[email protected]>
* @author Stephen Waite <[email protected]>
* @author Brady Miller <[email protected]>
* @copyright Copyright (c) 2010-2021 Rod Roark <[email protected]>
* @copyright Copyright (c) 2018 Stephen Waite <[email protected]>
* @copyright Copyright (c) 2019 Brady Miller <[email protected]>
* @copyright Copyright (c) 2021 Robert Down <[email protected]>
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/
// Current supported languages: // Allow capture of term for translation:
// Albanian // xl('Albanian')
// Amharic // xl('Amharic')
// Arabic // xl('Arabic')
// Armenian // xl('Armenian')
// Bahasa Indonesia // xl('Bahasa Indonesia')
// Bengali // xl('Bengali')
// Bosnian // xl('Bosnian')
// Bulgarian // xl('Bulgarian')
// Chinese (Simplified) // xl('Chinese (Simplified)')
// Chinese (Traditional) // xl('Chinese (Traditional)')
// Croatian // xl('Croatian')
// Czech // xl('Czech')
// Danish // xl('Danish')
// Dutch // xl('Dutch')
// English (Indian) // xl('English (Indian)')
// English (Standard) // xl('English (Standard)')
// Estonian // xl('Estonian')
// Filipino // xl('Filipino')
// Finnish // xl('Finnish')
// French // xl('French (Standard)')
// French // xl('French (Canadian)')
// Georgian // xl('Georgian')
// German // xl('German')
// Greek // xl('Greek')
// Gujarati // xl('Gujarati')
// Hebrew // xl('Hebrew')
// Hindi // xl('Hindi')
// Hungarian // xl('Hungarian')
// Italian // xl('Italian')
// Japanese // xl('Japanese')
// Korean // xl('Korean')
// Lao // xl('Lao')
// Lithuanian // xl('Lithuanian')
// Marathi // xl('Marathi')
// Mongolian // xl('Mongolian')
// Norwegian // xl('Norwegian')
// Persian // xl('Persian')
// Polish // xl('Polish')
// Portuguese (Brazilian) // xl('Portuguese (Brazilian)')
// Portuguese (European) // xl('Portuguese (European)')
// Portuguese (European) // xl('Portuguese (Angolan)')
// Romanian // xl('Romanian')
// Russian // xl('Russian')
// Serbian // xl('Serbian')
// Sinhala // xl('Sinhala')
// Slovak // xl('Slovak')
// Somali // xl('Somali')
// Spanish (Latin American) // xl('Spanish (Latin American)')
// Spanish (Spain) // xl('Spanish (Spain)')
// Swedish // xl('Swedish')
// Tamil // xl('Tamil')
// Telugu // xl('Telugu')
// Thai // xl('Thai')
// Turkish // xl('Turkish')
// Ukrainian // xl('Ukrainian')
// Urdu // xl('Urdu')
// Vietnamese // xl('Vietnamese')
use OpenEMR\Services\Globals\GlobalsService;
use OpenEMR\Events\Globals\GlobalsInitializedEvent;
// OS-dependent stuff.
if (stristr(PHP_OS, 'WIN')) {
// MS Windows
$mysql_bin_dir = 'C:/xampp/mysql/bin';
$perl_bin_dir = 'C:/xampp/perl/bin';
$temporary_files_dir = 'C:/windows/temp';
$backup_log_dir = 'C:/windows/temp';
} else {
// Everything else
$mysql_bin_dir = '/usr/bin';
$perl_bin_dir = '/usr/bin';
$temporary_files_dir = '/tmp';
$backup_log_dir = '/tmp';
}
// Language constant declarations:
// xl('Appearance')
// xl('Locale')
// xl('Features')
// xl('Calendar')
// xl('Security')
// xl('Notifications')
// xl('Miscellaneous')
// List of user specific tabs and globals
$USER_SPECIFIC_TABS = array('Appearance',
'Locale',
'Features',
'Billing',
'Report',
'Calendar',
'CDR',
'Connectors');
$USER_SPECIFIC_GLOBALS = array('default_top_pane',
'default_second_tab',
'theme_tabs_layout',
'css_header',
'enable_compact_mode',
'vertical_responsive_menu',
'menu_styling_vertical',
'search_any_patient',
'default_encounter_view',
'gbl_pt_list_page_size',
'gbl_pt_list_new_window',
'units_of_measurement',
'us_weight_format',
'date_display_format',
'time_display_format',
'enable_help',
'text_templates_enabled',
'posting_adj_disable',
'messages_due_date',
'expand_form',
'ledger_begin_date',
'print_next_appointment_on_ledger',
'calendar_view_type',
'event_color',
'pat_trkr_timer',
'ptkr_visit_reason',
'ptkr_date_range',
'ptkr_start_date',
'ptkr_end_date',
'checkout_roll_off',
'patient_birthday_alert',
'patient_birthday_alert_manual_off',
'erx_import_status_message',
'weno_provider_password');
// Gets array of time zones supported by PHP.
//
function gblTimeZones()
{
$zones = timezone_identifiers_list();
$arr = array('' => xl('Unassigned'));
foreach ($zones as $zone) {
$arr[$zone] = str_replace('_', ' ', $zone);
}
return $arr;
}
$GLOBALS_METADATA = array(
// Appearance Tab
//
'Appearance' => array(
'default_top_pane' => array(
xl('Main Top Pane Screen(Or Default First Tab)'), // descriptive name
array(
'main_info.php' => xl('Calendar Screen'),
'../new/new.php' => xl('Patient Search/Add Screen'),
'../../interface/main/finder/dynamic_finder.php' => xl('Patient Finder Screen'),
'../../interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1' => xl('Patient Flow Board'),
'../../interface/main/messages/messages.php?form_active=1' => xl('Messages Screen')
),
'main_info.php', // default = calendar
xl('Main Top Pane Screen(Or Default First Tab)')
),
'default_second_tab' => array(
xl('Default Second Tab'), // descriptive name
array(
'' => xl('None'),
'../../interface/main/messages/messages.php?form_active=1' => xl('Messages Screen'),
'main_info.php' => xl('Calendar Screen'),
'../new/new.php' => xl('Patient Search/Add Screen'),
'../../interface/main/finder/dynamic_finder.php' => xl('Patient Finder Screen'),
'../../interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1' => xl('Patient Flow Board'),
),
'../../interface/main/messages/messages.php?form_active=1', // default = messages
xl('Default Second Tab')
),
'theme_tabs_layout' => array(
xl('Tabs Layout Theme') . '*',
'tabs_css',
'tabs_style_full.css',
xl('Theme of the tabs layout (need to logout and then login to see this new setting).')
),
'login_page_layout' => array(
xl('Login Page Layout') . '*',
array(
'center' => xl("Centered Layout"),
'left' => xl("Left-Form Layout"),
'right' => xl("Right-Form Layout"),
),
'center',
xl('Changes the layout of the login page.')
),
'css_header' => array(
// Note: Do not change this as it is only for theme defaults and adding themes here does nothing
xl('General Theme') . '*',
'css',
'style_light.css',
xl('Pick a general theme (need to logout/login after changing this setting).')
),
'enable_compact_mode' => array(
xl('Enable Compact Mode'),
'bool', // data type
'0', // default = false
xl('Changes the current theme to be more compact.')
),
'menu_styling_vertical' => array(
xl('Vertical Menu Style for Frames'),
array(
'0' => xl('Tree'),
'1' => xl('Sliding'),
),
'1',
xl('Vertical Menu Style for frame based layouts')
),
'search_any_patient' => array(
xl('Search Patient By Any Demographics'),
array(
'dual' => xl('Dual'),
'comprehensive' => xl('Comprehensive'),
'fixed' => xl('Fixed'),
'none' => xl('None'),
),
'dual', // default
xl('Search Patient By Any Demographics, Dual additionally lets direct access to Patient Finder, Comprehensive has collapsed input box, Fixed is similar to Dual with fixed size, None is do not show')
),
'default_encounter_view' => array(
xl('Default Encounter View'), // descriptive name
array(
'0' => xl('Clinical View'),
'1' => xl('Billing View'),
),
'0', // default = tree menu
xl('Choose your default encounter view')
),
'gbl_nav_area_width' => array(
xl('Navigation Area Width for Frames'),
'num',
'175',
xl('Width in pixels of the left navigation frame in frame based layout.')
),
'enable_group_therapy' => array(
xl('Enable Group Therapy'),
'bool', // data type
'0', // default = false
xl('Enables groups module in system.')
),
'full_new_patient_form' => array(
xl('New Patient Form'),
array(
'0' => xl('Old-style static form without search or duplication check'),
'1' => xl('All demographics fields, with search and duplication check'),
'2' => xl('Mandatory or specified fields only, search and dup check'),
'3' => xl('Mandatory or specified fields only, dup check, no search'),
'4' => xl('Mandatory or specified fields only, use patient validation Zend module'),
),
'1', // default
xl('Style of form used for adding new patients')
),
'gbl_edit_patient_form' => array(
xl('Modify Patient Form'),
array(
'0' => xl('Standard check'),
'1' => xl('Zend Module check in addition to standard check')
),
'0', // default
xl('Validation mechanism for when modifying patient demographics.')
),
'patient_search_results_style' => array(
xl('Patient Search Results Style'),
array(
'0' => xl('Encounter statistics'),
'1' => xl('Mandatory and specified fields'),
),
'0', // default
xl('Type of columns displayed for patient search results')
),
'gbl_tall_nav_area' => array(
xl('Tall Navigation Area'),
'bool', // data type
'0', // default = false
xl('Navigation area uses full height of frameset')
),
'gbl_nav_visit_forms' => array(
xl('Navigation Area Visit Forms'),
'bool', // data type
'1', // default = true
xl('Navigation area includes encounter forms')
),
'simplified_prescriptions' => array(
xl('Simplified Prescriptions'),
'bool', // data type
'0', // default = false
xl('Omit form, route and interval which then become part of dosage')
),
'simplified_copay' => array(
xl('Simplified Co-Pay'),
'bool', // data type
'0', // default = false
xl('Omit method of payment from the co-pay panel')
),
'use_charges_panel' => array(
xl('Use Charges Panel'),
'bool', // data type
'0', // default = false
xl('Enables the old Charges panel for entering billing codes and payments. Not recommended, use the Fee Sheet instead.')
),
// TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
'enable_fees_in_left_menu' => array(
xl('Enable Fees Submenu'),
'bool', // data type
'1', // default = true
xl('Enable Fees Submenu')
),
'enable_batch_payment' => array(
xl('Enable Batch Payment'),
'bool', // data type
'1', // default = true
xl('Enable Batch Payment')
),
'enable_posting' => array(
xl('Enable Posting'),
'bool', // data type
'1', // default = true
xl('Enable Posting')
),
// EDI history 2012-09-13
'enable_edihistory_in_left_menu' => array(
xl('Enable EDI History'),
'bool', // data type
'1', // default = true
xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
),
'encounter_page_size' => array(
xl('Encounter Page Size'),
array(
'0' => xl('Show All'),
'5' => '5',
'10' => '10',
'15' => '15',
'20' => '20',
'25' => '25',
'50' => '50',
),
'20',
xl('Number of encounters to display per page.')
),
'gbl_pt_list_page_size' => array(
xl('Patient List Page Size'),
array(
'10' => '10',
'25' => '25',
'50' => '50',
'100' => '100',
),
'10',
xl('Number of patients to display per page in the patient list.')
),
'gbl_pt_list_new_window' => array(
xl('Patient List New Window'),
'bool', // data type
'0', // default = false
xl('Default state of New Window checkbox in the patient list.')
),
'num_of_messages_displayed' => array(
xl('Number of Messages Displayed in Patient Summary'),
'num',
'3',
xl('This is the number of messages that will be displayed in the messages widget in the patient summary screen.')
),
'gbl_vitals_options' => array(
xl('Vitals Form Options'),
array(
'0' => xl('Standard'),
'1' => xl('Omit circumferences'),
),
'0', // default
xl('Special treatment for the Vitals form')
),
'gb_how_sort_list' => array(
xl('How to sort a drop-lists'),
array(
'0' => xl('Sort by seq'),
'1' => xl('Sort alphabetically')
),
'0',
xl('What kind of sorting will be in the drop lists.')
),
'prevent_browser_refresh' => array(
xl('Prevent Web Browser Refresh') . '*',
array(
'0' => xl('Do not warn or prevent web browser refresh'),
'1' => xl('Warn, but do not prevent web browser refresh'),
'2' => xl('Warn and prevent web browser refresh')
),
'2', // default = true
xl('Recommended setting is warn and prevent web browser refresh. Only use other settings if needed and use at own risk.')
),
),
'Branding' => [
'openemr_name' => array(
xl('Application Title'),
'text',
'OpenEMR',
xl('Application name used throughout the user interface.')
),
'display_main_menu_logo' => [
xl('Display main menu logo'),
'bool',
'1',
xl('Dislay main menu logo'),
],
'online_support_link' => array(
xl('Online Support Link'),
'text', // data type
'http:https://open-emr.org/',
xl('URL to a support page.')
),
'user_manual_link' => [
xl('User Manual Link Override'),
'text',
'',
xl("Point to a custom user manual. Leave blank for the default, auto-generated URL for specific version of application"),
],
'support_phone_number' => array(
xl('Support Phone Number'),
'text',
'',
xl('Phone Number for Vendor Support that Appears on the About Page.')
),
'display_acknowledgements' => [
xl('Display links to the acknowledgements page'),
'bool',
'1',
xl('Used on the login and about pages'),
],
'display_review_link' => [
xl('Display the Review link on the About page'),
'bool',
'1',
xl('Display the Review link on the About page'),
],
'display_donations_link' => [
xl('Display the Donations link on the About page'),
'bool',
'1',
xl('Display the Donations link on the About page'),
],
'show_tagline_on_login' => [
xl('Show Tagline on Login Page') . "*",
'bool',
'1',
xl('Show the tagline from the login screen'),
],
'login_tagline_text' => [
xl('Login Page Tagline') . "*",
'text',
xl("The most popular open-source Electronic Health Record and Medical Practice Management solution."),
xl("Tagline text on the login page")
],
'show_labels_on_login_form' => [
xl('Show Username and Password Labels on Login Page') . "*",
'bool',
'1',
xl('Show labels on the login form'),
],
'show_label_login' => array(
xl('Show Title on Login'),
'bool', // data type
'0', // default = false
xl('Show Title on Login')
),
'extra_logo_login' => array(
xl('Show Extra Logo on Login'),
'bool', // data type
'0', // default = false
xl('Show Extra Logo on Login')
),
'tiny_logo_1' => array(
xl('Show Mini Logo 1'),
'bool', // data type
'0', // default = false
xl('Show Mini Logo 1')
),
'tiny_logo_2' => array(
xl('Show Mini Logo 2'),
'bool', // data type
'0', // default = false
xl('Show Mini Logo 2')
),
],
// Locale Tab
//
'Locale' => array(
'language_default' => array(
xl('Default Language'),
'lang', // data type
'English (Standard)', // default = english
xl('Default language if no other is allowed or chosen.')
),
'language_menu_showall' => array(
xl('All Languages Allowed'),
'bool', // data type
'1', // default = true
xl('Allow all available languages as choices on menu at login.')
),
'language_menu_other' => array(
xl('Allowed Languages'),
'm_lang', // data type
'', // default = none
xl('Select which languages, if any, may be chosen at login. (only pertinent if above All Languages Allowed is turned off)')
),
'allow_debug_language' => array(
xl('Allow Debugging Language'),
'bool', // data type
'1', // default = true during development and false for production releases
xl('This will allow selection of the debugging (\'dummy\') language.')
),
'translate_no_safe_apostrophe' => array(
xl('Do Not Use Safe Apostrophe'),
'bool', // data type
'0', // default = false
xl('This will turn off use of safe apostrophe, which is done by converting \' and " to `.(it is highly recommended that this setting is turned off and that safe apostrophe\'s are used)')
),
'translate_layout' => array(
xl('Translate Layouts'),
'bool', // data type
'1', // default = true
xl('Is text from form layouts to be translated?')
),
'translate_lists' => array(
xl('Translate Lists'),
'bool', // data type
'1', // default = true
xl('Is text from lists to be translated?')
),
'translate_gacl_groups' => array(
xl('Translate Access Control Groups'),
'bool', // data type
'1', // default = true
xl('Are access control group names to be translated?')
),
'translate_form_titles' => array(
xl('Translate Patient Note Titles'),
'bool', // data type
'1', // default = true
xl('Are patient note titles to be translated?')
),
'translate_document_categories' => array(
xl('Translate Document Categories'),
'bool', // data type
'1', // default = true
xl('Are document category names to be translated?')
),
'translate_appt_categories' => array(
xl('Translate Appointment Categories'),
'bool', // data type
'1', // default = true
xl('Are appointment category names to be translated?')
),
'units_of_measurement' => array(
xl('Units for Visit Forms'),
array(
'1' => xl('Show both US and metric (main unit is US)'),
'2' => xl('Show both US and metric (main unit is metric)'),
'3' => xl('Show US only'),
'4' => xl('Show metric only'),
),
'1', // default = Both/US
xl('Applies to the Vitals form and Growth Chart')
),
'us_weight_format' => array(
xl('Display Format for US Weights'),
array(
'1' => xl('Show pounds as decimal value'),
'2' => xl('Show pounds and ounces')
),
'1',
xl('Applies to Vitals form')
),
'phone_country_code' => array(
xl('Telephone Country Code'),
'num',
'1', // default = North America
xl('1 = North America. See http:https://www.wtng.info/ for a list of other country codes.')
),
'date_display_format' => array(
xl('Date Display Format'),
array(
'0' => xl('YYYY-MM-DD'),
'1' => xl('MM/DD/YYYY'),
'2' => xl('DD/MM/YYYY'),
),
'0',
xl('Format used to display most dates.')
),
'time_display_format' => array(
xl('Time Display Format'),
array(
'0' => xl('24 hr'),
'1' => xl('12 hr'),
),
'0',
xl('Format used to display most times.')
),
'gbl_time_zone' => array(
xl('Time Zone'),
gblTimeZones(),
'',
xl('If unassigned will default to php.ini setting for date.timezone.')
),
'currency_decimals' => array(
xl('Currency Decimal Places'),
array(
'0' => xl('0'),
'1' => xl('1'),
'2' => xl('2'),
),
'2',
xl('Number of digits after decimal point for currency, usually 0 or 2.')
),
'currency_dec_point' => array(
xl('Currency Decimal Point Symbol'),
array(
'.' => xl('Period'),
',' => xl('Comma'),
),
'.',
xl('Symbol used as the decimal point for currency. Not used if Decimal Places is 0.')
),
'currency_thousands_sep' => array(
xl('Currency Thousands Separator'),
array(
',' => xl('Comma'),
'.' => xl('Period'),
' ' => xl('Space'),
'' => xl('None'),
),
',',
xl('Symbol used to separate thousands for currency.')
),
'gbl_currency_symbol' => array(
xl('Currency Designator'),
'text', // data type
'$', // default
xl('Code or symbol to indicate currency')
),
'age_display_format' => array(xl('Age Display Format'),
array(
'0' => xl('Years or months'),
'1' => xl('Years, months and days')
),
'0',
xl('Format for age display')
),
'age_display_limit' => array(
xl('Age in Years for Display Format Change'),
'num',
'3',
xl('If YMD is selected for age display, switch to just Years when patients older than this value in years')
),
// Reference - https://en.wikipedia.org/wiki/Workweek_and_weekend#Around_the_world
'weekend_days' => array(
xl('Your weekend days'),
array(
'6,0' => xl('Saturday') . ' - ' . xl('Sunday'),
'0' => xl('Sunday'),
'5' => xl('Friday'),
'6' => xl('Saturday'),
'5,6' => xl('Friday') . ' - ' . xl('Saturday'),
),
'6,0'
, xl('which days are your weekend days?')
)
),
// Features Tab
//
'Features' => array(
'specific_application' => array(
xl('Specific Application'),
array(
'0' => xl('None'),
'2' => xl('IPPF'),
'3' => xl('Weight loss clinic'),
),
'0', // default
xl('Indicator for specialized usage')
),
'inhouse_pharmacy' => array(
xl('Drugs and Products'),
array(
'0' => xl('Do not inventory and sell any products'),
'1' => xl('Inventory and sell drugs only'),
'2' => xl('Inventory and sell both drugs and non-drug products'),
'3' => xl('Products but no prescription drugs and no templates'),
),
'0', // default
xl('Option to support inventory and sales of products')
),
'default_visit_category' => array(
xl('Default Visit Category'),
'default_visit_category',
'_blank',
xl('Define a default visit category'),
),
'enable_follow_up_encounters' => array(
xl('Enable follow-up encounters'),
'bool',
'0',
xl('Enable follow-up encounters feature')
),
'disable_chart_tracker' => array(
xl('Disable Chart Tracker'),
'bool', // data type
'0', // default = false
xl('Removes the Chart Tracker feature')
),
'disable_immunizations' => array(
xl('Disable Immunizations'),
'bool', // data type
'0', // default = false
xl('Removes support for immunizations')
),
'disable_prescriptions' => array(
xl('Disable Prescriptions'),
'bool', // data type
'0', // default = false
xl('Removes support for prescriptions')
),
'text_templates_enabled' => array(
xl('Enable Text Templates in Encounter Forms'),
'bool', // data type
'1', // default = true
xl('Allow Double Click to select Nation Note text template from any encounter form text area')
),
'omit_employers' => array(
xl('Omit Employers'),
'bool', // data type
'0', // default = false
xl('Omit employer information in patient demographics')
),
'select_multi_providers' => array(
xl('Support Multi-Provider Events'),
'bool', // data type
'0', // default = false
xl('Support calendar events that apply to multiple providers')
),
'disable_non_default_groups' => array(
xl('Disable User Groups'),
'bool', // data type
'1', // default = true
xl('Normally this should be checked. Not related to access control.')
),
'ignore_pnotes_authorization' => array(
xl('Skip Authorization of Patient Notes'),
'bool', // data type
'1', // default = true
xl('Do not require patient notes to be authorized')
),
'support_encounter_claims' => array(
xl('Allow Encounter Claims'),
'bool', // data type
'0', // default = false
xl('Allow creation of claims containing diagnoses but not procedures or charges. Most clinics do not want this.')
),
'advance_directives_warning' => array(
xl('Advance Directives Warning'),
'bool', // data type
'0', // default = false
xl('Display advance directives in the demographics page.')
),
'configuration_import_export' => array(
xl('Configuration Export/Import'),
'bool', // data type
'0', // default = false
xl('Support export/import of configuration data via the Backup page.')
),
'restrict_user_facility' => array(
xl('Restrict Users to Facilities'),
'bool', // data type
'0', // default
xl('Restrict non-authorized users to the Schedule Facilities set in User admin.')
),
'set_facility_cookie' => array(
xl('Remember Selected Facility'),
'bool', // data type
'0', // default
xl('Set a facility cookie to remember the selected facility between logins.')
),
'login_into_facility' => array(
xl('Login Into Facility'),
'bool', // data type
'0', // default
xl('Select your current facility in the login page')
),
'receipts_by_provider' => array(
xl('Print Receipts by Provider'),
'bool',
'0', // default
xl('Causes Receipts to Print Encounter/Primary Provider Info')
),
'discount_by_money' => array(
xl('Discounts as Monetary Amounts'),
'bool', // data type
'1', // default = true
xl('Discounts at checkout time are entered as money amounts, as opposed to percentage.')
),
'gbl_visit_referral_source' => array(
xl('Referral Source for Encounters'),
'bool', // data type
'0', // default = false
xl('A referral source may be specified for each visit.')
),
'gbl_visit_onset_date' => array(
xl('Onset/Hosp Date for Encounters'),
'bool', // data type
'1', // default = true
xl('An onset/hospitalization date may be specified for each visit.')
),
'gbl_form_save_close' => array(
xl('Display Save and Close Visit button in LBFs'),
'bool', // data type
'0', // default = false
xl('This is helpful if visits usually do not have charges.')
),
'gbl_mask_patient_id' => array(
xl('Mask for Patient IDs'),
'text', // data type
'', // default
xl('Specifies formatting for the external patient ID. # = digit, @ = alpha, * = any character. Empty if not used.')
),
'gbl_mask_invoice_number' => array(
xl('Mask for Invoice Numbers'),
'text', // data type
'', // default
xl('Specifies formatting for invoice reference numbers. # = digit, @ = alpha, * = any character. Empty if not used.')
),
'gbl_mask_product_id' => array(
xl('Mask for Product IDs'),
'text', // data type
'', // default
xl('Specifies formatting for product NDC fields. # = digit, @ = alpha, * = any character. Empty if not used.')
),
'hide_billing_widget' => array(
xl('Hide Billing Widget'),
'bool', // data type
'0', // default = false
xl('This will hide the Billing Widget in the Patient Summary screen')
),
'force_billing_widget_open' => array(
xl('Force Billing Widget Open'),
'bool', // data type
'0', // default = false
xl('This will force the Billing Widget in the Patient Summary screen to always be open.')
),
'activate_ccr_ccd_report' => array(
xl('Activate CCR/CCD Reporting'),
'bool', // data type
'1', // default = true
xl('This will activate the CCR(Continuity of Care Record) and CCD(Continuity of Care Document) reporting.')
),
'drive_encryption' => array(
xl('Enable Encryption of Items Stored on Drive'),
'bool', // data type
'1', // default = true
xl('This will enable encryption of items that are stored on the drive.')
),
'couchdb_encryption' => array(
xl('Enable Encryption of Items Stored on CouchDB'),
'bool', // data type
'1', // default = true
xl('This will enable encryption of items that are stored on CouchDB.')
),
'hide_document_encryption' => array(
xl('Hide Encryption/Decryption Options In Document Management'),
'bool', // data type
'0', // default = true
xl('This will deactivate document the encryption and decryption features, and hide them in the UI.')
),
'use_custom_immun_list' => array(
xl('Use Custom Immunization List'),
'bool', // data type
'0', // default = true
xl('This will use the custom immunizations list rather than the standard CVX immunization list.')
),