At the center of version 2.0 release is the change of the current data model to a common data model. During the March 2016 sprint held in Nairobi, it was agreed that a data model change was necessary so that OpenSRP app could start supporting cohort syncing, two way sync between OpenSRP and OpenMRS and facilitate easier adoption of the app by third parties.  It was agreed that the app would switch to Event/Client data model (EC model). Due to this change, a couple of new functionalities have to be implemented and existing ones changed in both the client  and server applications.

The table below lists the new features, improvements and fixes to be included in v2.0 release.

FeatureSpec LinkStatus (Client)

Status (Server)

Notes
Break down form submissions to clients and eventsFormsubmissions Breakdown

The client functionality basically uses the classes as they are in the server side
Add relationship mappings between entitiesEntities Relationship Mappings

This involves adding a person relationship field in the xlsforms (subforms) so that this field is dynamically populated with the parent entity_id as a way to show how two entities are related. This is done on the client side pending more tests in all forms
Break down EC model data to  case modelEC to Case Model Breakdown

 

This is about breaking down EC data to the data format being used by the current registers
Process events with cross-cutting effectEvents Processing

 
Process schedules and alerts using EC dataSchedules and Alerts Processing Using EC Data

 
Data migration of existing formsubmissions to EC dataData Migration

 
Sync alerts using cloudantSyncing Data

 
Sync EC data between client and server using cloudantSyncing Data

 
Sync EC data between OpenSRP and OpenMRS using OpenMRS AtomFeed moduleAtomFeed Module Integration

This is a two way link between the two servers (OpenMRS and OpenSRP ). The link from OpenSRP to OpenMRS is already working but needs to be checked to confirm if the change of data model to EC affects the link
Unit and Functional Tests