Configuration items for specific openIMIS solutions/implementation

Configuration items for specific openIMIS solutions/implementation

List of UI elements that could be configured for a package.

Configuration Property

Module

Description

Example

Configuration Property

Module

Description

Example

1

App.enablePublicPage

fe-core

Controls access to the Public Page of the OpenIMIS App. When enabled, any module can contribute a Public Page using the `core.PublicPage` contribution point. The Public Page will then be accessible via the /front path. Default: false.

Moldova’s Landing: https://github.com/openimis/openimis-fe-moldova_landing_js

2

showJournalSidebar

fe-core

Determines whether to render the Journal sidebar or not. IMPORTANT: The Journal provides crucial information about the state of mutations, including whether they succeeded or failed. If you choose to hide it, you must ensure the user is informed of the mutation outcome - consider using toast notifications. Default: true.

Moldova’s Voucher Management System

3

Input.disabledVisibilityBoost

fe-core

This setting enhances the visibility of disabled input fields (e.g., text/number inputs, date pickers). When enabled, the label color changes to `#181716`, and the input value color to `#5E5B50`. Default: false.

Moldova’s Voucher Management System

image-20241204-081500.png

4

isWorker

fe-core(Moldova Specific)

Specifies whether the individual should be classified and managed as a worker or a standard insuree. In Moldova, the Insuree entity is also used to represent workers. When set to true, the system displays 'Workers and Vouchers' menu instead of the default 'Insurees and Policies', aligning the interface with the specific needs of worker representation. Default: false.

Moldova’s Voucher Management System

image-20241204-082408.png

5

menuLeft

fe-core

Determines how to display the navigation. If set to true, the menu looks like Sidebar and is aligned to the left. Default: false.

CoreMIS

 

image-20241204-082719.png
6

redirectToCoreMISConfluenceUrl

fe-core (CoreMIS Specific)

If enabled, clicking on question mark icon will take you to coreMIS confluence page. Default: false.

CoreMIS

7

AmountInput.currencyPosition

fe-core

Position of the currency for the AmountInput. Choices are `start` and `end`. By default: start.

-

8

AutoSuggestion.limitDisplay

fe-core

Threshold to limit the number of items in the auto suggestions (adding 'more options...' message). By default: 10.

-

9

theme.name

fe-core

Optional name identifier for the theme

 

10

theme.primaryColor

fe-core

Main brand color used in headers, buttons, text, etc.. If no 'theme' in config - the default openIMIS theme is loaded

Moldova implementation:

Screenshot from 2024-10-25 10-05-10.png

custom (based on experiment on local environment):

Screenshot from 2025-05-06 11-23-16.png
Screenshot from 2025-05-07 13-07-28.png

 

Screenshot from 2025-05-07 13-08-50.png
Screenshot from 2025-05-07 13-19-16.png

 

11

theme.errorColor

fe-core

Used to highlight errors or critical UI elements

like above in 10th position

12

theme.whiteColor

fe-core

Used for contrasting text and background elements

like above in 10th position

13

theme.backgroundColor

fe-core

General background color for the app

like above in 10th position

14

theme.headerColor

fe-core

Header background color

like above in 10th position

15

theme.greyColor

fe-core

Used for subdued UI elements (e.g., disabled text)

like above in 10th position

16

theme.selectedTableRowColor

fe-core

Background for selected table rows

like above in 10th position

17

theme.hoveredTableRowColor

fe-core

Background for hovered table rows

like above in 10th position

18

theme.toggledButtonColor

fe-core

Background for toggled/active state buttons

like above in 10th position

19

theme.lockedBackgroundPattern

fe-core

Background pattern used for locked (readonly) UI elements

like above in 10th position

20

logo.value

fe-core

Base64-encoded string of the main logo. If no 'logo' in config - the default openIMIS logo is loaded

Moldova implementation:

Screenshot from 2024-10-25 10-04-54.png

coreMIS:

Screenshot from 2025-05-08 12-41-20.png

 

21

logo.disableTextLogo

fe-core

(Optional) Do not show openIMIS text next to logo: true or false. By default false

Screenshot from 2025-05-08 12-41-20.png

coreMIS: true

Screenshot from 2024-10-25 10-04-54.png
Moldova implementation: true
22

App.economicUnitConfig

fe-core(Moldova Specific)

In the specified configuration, when the parameter is set to true, it necessitates that users are associated with an Economic Unit. If a user lacks this association, a modal will be displayed to prompt them to establish it. Until the user is linked to a unit, their only authorized action is to log out. By default: false.

Moldova’s Voucher Management System

23

LogoutButton.showMPassProvider

fe-core(Moldova Specific)

When activated, routes the user to the SAML logout page for secure session termination. By default: false.

Moldova’s Voucher Management System

24

LoginPage.showMPassProvider

fe-core (Moldova Specific)

If enabled, redirects users to the saml login page, facilitating access to mPass-protected resources. By default: false.

Moldova’s Voucher Management System

25

journalDrawer.pageSize

fe-core

Page size when loading (historical) mutations. By default: 5.

 

image-20241204-083457.png

 

26

core.JournalDrawer.pollInterval

fe-core

Poll interval (in ms) to check for mutation status once submitted .By default: 2000.

-

27

core.KeepLegacyAlive.pollInterval

fe-core

Poll interval (in ms) to send the ping to legacy openIMIS (to prevent session timeout). By default: 300000.

-

28

useDynPermalinks

fe-core

Use ?dyn=<Base64-URL> when opening in new tab (prevent sending client-side routes to server while). Default: false.

-

29

calendarSwitch

fe-core (Nepal Specific)

Enable calendar switcher toggle on the navbar of the webpage. Currently supports nepali calendar. Default false.

Nepali Instance

30

secondCalendarFormatting

fe-core (Nepal Specific)

Formatting options for second calendar (both picker and display), default: DD-MM-YYYY.

Nepali Instance

31

secondCalendarFormattingLang

fe-core (Nepal Specific)

Formatting language for second calendar (when displayed as saved data, not in pickers), default: en.

Nepali Instance

32

secondCalendarType

fe-core (Nepal Specific)

Type of secondary calendar picker (if enabled), default nepali.

Nepali Instance

33

secondCalendarLocale

fe-core (Nepal Specific)

Locale for secondary calendar picker (if enabled). By default: nepali_en.

Nepali Instance

34

passwordGeneratorOptions

fe-admin

Array with possible configuration options for password generator, default: { length: 10, isNumberRequired: true, isLowerCaseRequired: true, isUpperCaseRequired: true, isSpecialSymbolRequired: true }

-

35

debounceTime

fe-admin

Determines the debounce time. By default: 200-500.

-

36

usersMinCharLookup

fe-admin

Determines how many chars do we need to enter to invoke query (Autocomplete). By default: 2.

-

37

debounceTime

fe-claim_batch

Determines the debounce time. By default: 400.

-

38

claim_batchFilter.rowsPerPageOptions

fe-claim_batch

Pagination page size options in Batch Searcher component. By default: [10, 20, 50, 100].

-

39

claim_batchFilter.defaultPageSize

fe-claim_batch

Pagination pre-selected page size options in Batch Searcher component. By default: 10.

-

40

debounceTime

fe-claim

Debounce time (ms) before triggering search in ClaimFilter. By default: 800.

-

41

newClaim.visitType

fe-claim

Default (pre-selected) visity type when creating a claim. By default: 'O' - Other.

-

42

newClaim.status

fe-claim

Default (pre-selected) status when creating a claim. By default: 2

-

43

claim.CreateClaim.feedbackStatus

fe-claim

Value set to feedback status when creating a claim. By default: 1 .

-

44

claim.CreateClaim.reviewStatus

fe-claim

Value set to review status when creating a claim. By default: 1 .

-

45

claimFilter.rowsPerPageOptions

fe-claim

Pagination page size options in Claim Searcher component. By default: [10, 20, 50, 100] .

-

46

claimFilter.defaultPageSize

fe-claim

Pagination pre-selected page size options in Claim Searcher component. By default: 10 .

-

47

claimFilter.highlightAmount

fe-claim

Amount triggering the primary highligh (default bold) for claims in claim searcher result. By default: 0, meaning no highlight threshold.

-

48

claimFilter.highlightAltInsurees

fe-claim

Boolean to trigger the secondary highligh (default italic) for claims of the same insuree. By default: true.

-

49

claimForm.codeMaxLength

fe-claim

The max size of a claim code (id). By default: 8 .

-

50

claimForm.fixedPricesAtEnter

fe-claim

Boolean to prevent user to adapt prices at claim entry (fixed to price list). By default: false (user can change the price).

-

51

claimForm.fixedPricesAtReview

fe-claim

Boolean to prevent user to adapt prices at claim review (fixed to price list). By default: false (user can change the price).

-

52

claim.ReviewsPage.initState

fe-claim

Init state when reviewing claim. By default:

{ random: 5, value: 0, variance: 10, }

-

53

claimForm.showJustificationAtEnter

fe-claim

Boolean to display justification field(s) for items and services at claim entry. By default: false .

-

54

claimForm.showAdjustmentAtEnter

fe-claim

Boolean to display adjustment field at claim entry. By default: false .

-

55

claimForm.insureePicker

fe-claim

the insuree picker to use when filling a claim. Default insuree.InsureeChfIdPicker (the exact chfid entry picker). Other pre-canned option (from insuree reference module): insuree.InsureePicker (dialog picker with search on chfid, last name and other names)

-

56

canSaveClaimWithoutServiceNorItem

fe-claim

Wherever user can save a claim without service nor item. By default: true .

-

57

canSubmitClaimWithZero

fe-claim

Wherever user can submit with 0 as claimed amount (probably a claim without service/item). By default: false .

-

58

claimAttachments

fe-claim

Boolean to enable/disable claim attachments. By default: true .

-

59

claimForm.isReferHFMandatory

fe-claim

Boolean to make referal HF mandatory when visit type = Referal. By default: false .

-

60

claimForm.claimTypeReferSymbol

fe-claim

Used for checking referHF option, indicate which letter represents referal. By default: R .

-

61

claimForm.guaranteeIdMaxLength

fe-claim

Limits the guaranteeId length. By default: 50.

-

62

claimForm.autoGenerateClaimCode

Did you encounter a problem or do you have a suggestion?

Please contact our Service Desk



This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. https://creativecommons.org/licenses/by-sa/4.0/