This document summarizes the openIMIS features provided by the Policies module.

The module features are, among others, used within the scope of Beneficiary Enrollment business processes.

Business definition of the policy dates

Enrolment date: Date when the insuree takes the insurance (not to be mixed up with registration date, where a person gets its insuree number)

Start date: contract start date

Effective date: coverage start date

Expiry date: date of the coverage and contract.

in the default enrollment:

  1. For free enrolment: Start Date = Enrolment Date + Administration Period, Effective Date = Max( Start Date, date of full payment of contributions), Expiry Date=Start Date + Insurance Period

  2. For Fixed enrolment: Start Date = the nearest start of the fixed cycle (Nearest Cycle) provided the full payment of contributions occurs within the Grace Period Payment,, Effective Date = Max(Nearest Cycle, date of fullpayment of contributions), Expiry Date = Start Date +Insurance Period. I don’t go into details with determination of Nearest Cycle-Grace Period Enrolment/Renewal play the role in it.

You see that the rules shows compatibility between free enrolment and fixed enrolment.

Business rationale for the rules is that if an insuree pays later his/her effective duration of coverage shortens. It reduces potential of a moral hazard on the side of the insuree who may speculate and sign his/her policy and pay just before he/she needs health care. He/she still can do it but he/she will penalized by shotening of the coverage (for the full contribution).

There is no coverage in the interval <Start Date, Effective Date|) of course. Potential claims will be rejected. It is the actual consequence of the rules.

Access Rights

There is no straight link between a Policy and a Location. However, a Policy is linked to a Family, which in turn is attached to a location. Besides role-based feature access control (cf. Actors and Roles here below), all policy management actions (querying, entering, ...) are limited by user’s location(s) scope: users can only access/manage policies of families listed for his registered health facilities.

Actors & Rights

Health Facilities staff

Receptionist:

//note: does not have write permission!

Scheme administrator & district Staff

Clerck & Enrolment Officer:

Accountant:

//note: does not have write permission!

 

NOTE:

The other profiles are NOT allowed to search (see the details of) policies: Claim Administrator, Claim Contributor,…

Other IT System (API calls)

Policy Management Features

Find Policy

Classical search/result panel page, with classical search criteria (enrollment date, family name,…).

Notes:

Note about the ‘historical’ checkbox:

The search in ‘historical’ values makes the assumption that archiving is performed “in live table”. This mechanism is under review (for performance reasons). This criteria may not be available anymore (depending on the new archiving mechanism chosen).

Adding a Policy

Simple link to a ‘blank’ Policy Page (here under).

Editing a Policy

Simple link from Find Policy result table to the Policy Page (here under).

Policy Page

Policy form, screen mock:

Remarks:

once expiry date over, the policy switches to ‘Expired’ (via the policy renewal batch).

An Idle or Active policy can be switched to ‘Suspended’ via the ‘pause’ action button, for “Expired” or “Suspended” policies, the ‘pause’ button is replaced by a ‘renew’ button:

Deleting a Policy

Simple delete (logical, by adding the validity_to date), with confirmation dialog.

Eligibility Check

The (medical) Service and Item eligibilty check, contributed in Insuree Enquiry screen are part of (calculated from) the policy module and, in legacy openIMIS, implemented via the uspServiceItemEnquiry stored procedure. This stored procedure was migrated to a python service in openimis-be-policy_py module.

See details in Service or Item Eligibility

Note: the service is already existing (bridging to the stored procedure) and used from the current enquiry screen, but also the FHIR API.

Policy renewal batch (scheduled process)

Policy renewals … in “tools” menu + separate https://github.com/openimis/policy_renewal_service_vb

Batch launch screen mock:

Remark:

Actions on the top right (in the order): Update, Send SMS, Preview… and “update” is in fact “launch”… so should we use the ‘launch’ icon (as for claim batches?)

Current process

1. policy renewal inserts

Go through policies, families, insurees, products, villages, wards, districts, officer
where valid, policy status is active or expired, expiring within reminding interval, expiring within date range

For each of those policies:

2. update

One simple query to set policy status = expired on all expired policies

3. send sms

The Windows service provides the stored procedure with the XML template to use for sending SMS and returns the filled-in messages.

Go through tblPolicyRenewals with the substitution officer/product/etc

Composing the SMS message has a lot of:
SET @SMSHeader = '--Renewal--' + char(10) + CONVERT(nvarchar(20),@RenewalDate,103) + char(10) + @CHFIDPhoto + char(10) + @InsLastNamePhoto + ' ' + @InsOtherNamesPhoto + char(10) + @DistrictName + char(10) + @WardName + char(10) + @VillageName + char(10) + @ProductCode + '-' + @ProductName + char(10)

SET @NewFamilyMessage = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(@FamilyMessage, '@@InsuranceID', @CHFID), '@@LastName', @InsLastName), '@@OtherNames', @InsOtherNames), '@@ProductCode', @ProductCode), '@@ProductName', @ProductName), '@@ExpiryDate', FORMAT(@ExpiryDate,'dd MMM yyyy'))

=> Generate SMS XML message based on all that.

Then, the Windows Service takes these XML files and HTTP posts them to the SMS gateway, one by one. This is in fact the only time consuming task as the others are pretty quick to execute.

⚠️ There is no feedback from the SMS submission in the database ! The Windows Service only writes the response of the gateway into the Windows Event Log.

Many SMS gateways use asynchronous callbacks to notify delivery failures. We did not find any evidence of this being handled in the existing code.