cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Store responses from outbound push tasks in couch

Open michaelkohn opened this issue 5 years ago • 1 comments

As a system admin, I want to see the API responses for an outbound push task in couch so I can monitor (and potentially action upon*) the results of certain tasks.

An example use case for this is pushing dataSets to DHIS2. Even when the transmission is successful, the response gives us useful information about things like how many values were overwritten, if values were ignored, etc...

Another use case for this might be creating person and patient records in OpenMRS, whereby the response to the API call will include (amongst other things) the OpenMRS ID of the created person or patient.

*When I say “action upon”, an example would be to store the returned OpenMRS Patient ID against the user in the CHT.

michaelkohn avatar Dec 04 '19 18:12 michaelkohn

Related to #6158 in terms of decisions around extending outbound push functionality

SCdF avatar Dec 05 '19 09:12 SCdF