Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Integration Architecture

The following integration architecture will be implemented in Moldova.

...

System

Objective

System description

More information

MPass

Authenticate employers

https://mpass.gov.md/?lang=en

MPay

Manage vouchers payment

MNotify

Send notification to workers on vouchers assignments

https://mnotify.gov.md/#/en/home

MConnect

Mediators

https://mconnect.gov.md/#/

MCabinet

Get information about employers and workers

MLog (optional)

Log actions

Software Architecture

This is the links between the entities in the worker voucher scheme in Moldova that have to be managed through openIMIS.

...

The project is covering only the payment for vouchers by the employer, the invoice part. The payment to government accounts, bills, are not in the scope of the project.

Data models

Location

Location setup is not used in this instance but is one of the main configuration which everything depends on. This means the implementation will require to have at least one Village level location. The following configuration will be done and applied to all entities linked to Location:

Region

District

Municipality

Village

Moldova Regiune

Moldova Raion

Moldova Municipiu

Moldova Oras/Sat

User

Users are created automatically based on the MPass authentication. The first time a user connects to openIMIS through MPass authentication, the user account is created. Roles are created manually in openIMIS and must match the roles assigned in MPass so they can be automatically assigned to the created users. Roles and user information must be checked at every authentication/connection so the user details are updated, especially the roles the user has attached (to prohibit or allow access to features).

Field openIMIS

Mandatory in openIMIS?

Data MD

Mandatory/Optional/Hidden

Default value

Comments

login_name

Status
colourGreen
titleYES

NameIdentifier

mandatory

  • unique

  • expected to be IDNP

last_name

Status
colourGreen
titleYES

LastName

optional

other_names

Status
colourGreen
titleYES

FirstName

optional

phone

Status
colourRed
titleNO

MobilePhone

optional

email

Status
colourGreen
titleYES

EmailAddress

mandatory

language

Status
colourGreen
titleYES

Language

mandatory

  • one of “ro”, “ru”, “en”

  • language pack required

User Roles

Status
colourGreen
titleYES

mandatory

  • different table

  • custom field to be specified in the integration request

User Districts

Status
colourGreen
titleYES

mandatory

Moldova

  • different table

  • not available in the MPass payload so default district level

PolicyHolder (Employer)

The insuree information will be automatically filled from MPass authentication reply. We assume the AdministeredLegalEntity will contain both Legal Entity Name and IDNO. Separate IDNO and CompanyName is assumed not available.

Field openIMIS

Mandatory in openIMIS?

Data MD

Mandatory/Optional/Hidden

Default value

Comments

code

Status
colourGreen
titleYES

IDNO (from AdministeredLegalEntity)

mandatory

unique

trade_name

Status
colourGreen
titleYES

Legal Entity Name (from AdministeredLegalEntity)

optional

location

Status
colourGreen
titleYES
location

optional

Moldova

not available in the MPass payload so default village level

address

Status
colourRed
titleNO

hidden

phone

Status
colourRed
titleNO

hidden

fax

Status
colourRed
titleNO

hidden

email

Status
colourRed
titleNO

hidden

contact_name

Status
colourRed
titleNO

hidden

legal_form

Status
colourRed
titleNO

hidden

activity_code

Status
colourRed
titleNO

hidden

accountancy_account

Status
colourRed
titleNO

hidden

bank_account

Status
colourRed
titleNO

hidden

payment_reference

Status
colourRed
titleNO

hidden

Insuree (Worker)

The insuree information will be automatically filled from MConnect (https://semantic.gov.md/en/assets/details/399a1038-c457-47ef-8a48-531c897d1d1a ). Only Insuree number will be editable field.

Field openIMIS

Mandatory in openIMIS?

Data MD

Mandatory/Optional/Hidden

Default value

Comments

chf_id

Status
colourGreen
titleYES

IDNP

mandatory

unique with validation on the length

last_name

Status
colourGreen
titleYES

FamilyName

mandatory

other_names

Status
colourGreen
titleYES

GivenName

mandatory

gender

Status
colourGreen
titleYES

Sex

???

Sex code (contains values from the sex classifier CF 37603221.0037.01)

dob

Status
colourGreen
titleYES

DateOfBirth

???

marital

Status
colourRed
titleNO

hidden

marital status

passport

Status
colourRed
titleNO

hidden

not useful because chf_id is national ID

type_of_id

Status
colourRed
titleNO

hidden

phone

Status
colourRed
titleNO

mandatory

to send QR code by MMS

email

Status
colourRed
titleNO

optional

to send QR code by email

current_address

Status
colourRed
titleNO

hidden

geolocation

Status
colourRed
titleNO

hidden

current_village

Status
colourRed
titleNO

hidden

village level

photo

Status
colourRed
titleNO

hidden

photo_date

Status
colourRed
titleNO

hidden

card_issued

Status
colourRed
titleNO

hidden

relationship

Status
colourRed
titleNO

hidden

profession

Status
colourRed
titleNO

hidden

education

Status
colourRed
titleNO

hidden

Voucher

This consists in a new module that will handle the creation, payment and assignment of vouchers. It’s inherit the HistoryModel

Field openIMIS

Mandatory

Type

Default value

Comments

code

Status
colourGreen
titleYES

string

unique and autogenerated

issue_date

Status
colourGreen
titleYES

date

today

expiry_date

Status
colourGreen
titleYES

date

paid_invoice_date

Status
colourRed
titleNO

date

policy_holder

Status
colourRed
titleNO

FK PolicyHolder

price

Status
colourGreen
titleYES

decimal

25

configurable value

status

Status
colourGreen
titleYES

select

created

Options:

  • CREATED: when is first created but not paid yet

  • PAID: when it is paid

  • ASSIGNED: when assigned to an insuree

  • USED: after the day of use

  • CLOSED (optional)

insuree

Status
colourRed
titleNO

FK Insuree

assigned_date

Status
colourRed
titleNO

date

...

Not required modules / entities

The following modules should be desactivated (if possible):

Module

UI

Family

Family Menu

Contribution

Contribution Menu

Payments

Payments Menu

Claim

Claim menu

Claim-Batch

Claim menu

Requirements

Mandatory fields:

  • Employer

    • Tax number

    • Name (Optional)

    • Location (Optional)

  • Worker

    • National ID

    • Name

    • Last Name

  • Voucher

    • Issue date

    • Expiry date

    • Price

...