In some context internet access is either not reliable or not available therefore “offline mode“ is often require for enrollment or claiming.

So far the scheme management, claim review and health financing should be done on the master server for a given area. In most of the case it it better to define the central server as master server to be able to manage cross area (Claim from area 2 HF for an insuree from area 1 )

In Legacy there were 3 offline entry points:

An ideal solution

Must:

Should

Can

Technical approach:

The propose technical approach is based on FHIR

the resource have an Identifier section which is a list of identifier object

the identifier object has a system parameter, and a code

the proposal is to enable the definition of the system (does not have to be resolvable) naming convention to be defined ? use of apikey name ?

all the references inside FHIR payload should use the system like system/resource/id

Sync steps:

2- generate a new id (UUID) if conflict and new matching identifier (system = FGQN of the TO server) will be added on the resource identifier list

3- upon saving, the reference should be translated to ID of the main server (based on the identifier with the remote system )

Sync Back steps

When loading the data, the local server will do the same as the main server (same resource will have different id on different server) BUT the search should enable the usage if the system

task to do:

for the next