SHR Development
SHR system is setup with micro services architecture. It consists of two services :-
- SHR main service- exposes APIs to create and update encounters, get encounter per patient, per catchment and individual get of encounter. Multiple nodes of this system can be installed to handle higher loads.
It uses Cassandra database. - FreeSHR Update - used to update the patient information cached in SHR. It subscribes to an update feed in MCI to update SHR's patient cache. Only one such service should be installed.
It uses mysql database to maintain feed status, and updates the patient data in Cassandra.