You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WF2 is supposed to sync modified patients OMRS encounters to DHIS2. It looks like it's only syncing encounters, if any patients have also been modified. We should assume that sometimes only encounters (and not patients) are modified in OMRS.
Specific request
If no updated patients are detected in OMRS, we should still check if encounters have been modified. Therefore I think we need to update the path conditions of the workflow as follows - but I need your help considering where the mapping step should belong.
Describe the bug and expected behavior
WF2 is supposed to sync modified patients OMRS encounters to DHIS2. It looks like it's only syncing encounters, if any patients have also been modified. We should assume that sometimes only encounters (and not patients) are modified in OMRS.
Specific request
If no updated patients are detected in OMRS, we should still check if
encounters
have been modified. Therefore I think we need to update the path conditions of the workflow as follows - but I need your help considering where the mapping step should belong.expression.js
Github: https://github.com/OpenFn/openfn-lime-pilot/tree/next-staging/workflows/wf2
Workflow config in app --> please sync to Github after any configuration changes are made!!
https://app.openfn.org/projects/69066751-5f2c-459c-b42e-feba1c802383/w/c886121c-0a91-45b5-ae30-7d0922b693be?v=136
state.json
MSF DHIS2 UAT - June 2024
MSF OpenMRS Demo
To test/resolve
Run wf2 with cursor
{ "lastRunDateTime": "2024-12-18T08:00:00.000Z" }
to make sure the encounters are synced over.Toggl
MSF 2024
The text was updated successfully, but these errors were encountered: