Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the DHIS2 connectors to read & map OpenSRP locations to DHIS2 locations #1026

Open
2 tasks
dubdabasoduba opened this issue Dec 8, 2021 · 0 comments
Open
2 tasks
Assignees

Comments

@dubdabasoduba
Copy link
Member

Context

  • The current DHIS2 connectors have the code written to read the OpenMRS location object. This is used to map the locations to the DHIS2 locations.
  • After moving to the OpenSRP server location storage we need to add the capability for the DHIS2 connectors to understand the OpenSRP location object.

Implementation plan

  • Update the DHIS2 connectors location mapping pieces to understand the location object from OpenSRP. Inside the location object, we have an attribute named externalID this should hold the location Id/uuid from DHIS2.
  • This update should be made configurable i.e if we have an env variable that tells the code which pieces it should run. We need to support both OpenMRS and OpenSRP object locations.

How to test

  • Using the in-app reporting module on the ZEIR app submit a report to DHIS2
  • If the reports are submitted to the correct locations on DHIS2 then the fix works correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants