...
- User collects a form in the mobile app
- Mobile app syncs to the central data repositorysystem
- Central data repository system identifies that there is a referral that needs to go to the third party system
- Central data repository system creates the referral package by mapping incoming form submission fields to the output(s)
- Central data repository system sends the package(s) to the third party system
- Note: This may require creating multiple entities in the third party system and the Central data repository is responsible for orchestrating that. For example, you first need to create the patient, then the encounter, then the observations with the ability to roll back changes.
- Third party system receives the package and confirms that it was received
- Third party system parses each package and stores them in the system
- Third party system may trigger internal events based on this changing information
CommCare ↔ OpenHIM
CommCare is importing data from a DHIS2 server through an OpenHIM mediator.
Point-to-Point ↔ DHIS2 connection for Aggregate and Tracker
CommCare is responsible for collecting and sending individual transactions to DHIS2 tracker. There is also a general pattern used to send regular reports from a central system to DHIS2.