Automating data exchange workflows between DHIS2
, OpenMRS
, and Open Concept Lab (OCL)
.
Note that commits to main
will be auto-deployed to the connected project configuration hosted on OpenFn.org. Always work on a branch and submit a pull request when ready to release!
/tmp
folder locally with a state.json
file that you don't commit to githubTo prototype automated data exchange workflows between MSF's global DHIS2 system and locally-deployed OpenMRS instances, we implemented the OpenFn DPG for this prototype--specifically the platform v1
hosted on OpenFn.org.
If MSF hopes to pilot this solution with real-world sites, then it may choose to locally deloy the v2
of the OpenFn platform--OpenFn/Lightning. See below for what the proposed architecture might look like for this solution running at scale.
For the LIME-Project
, two workflows were prototyped. These workflows leverage the OpenFn dhis2
, openmrs
, and ocl
adaptors (see OpenFn/Docs), and connect with demo instances of the target systems.
This workflow #1 is powered by by the following OpenFn jobs:
dhis
adaptor)openmrs
adaptor)dhis2
adaptor)See the WF 1 technical diagrams for documentation on the specific API endpoints and operations automated in the job code.
This workflow #2 is powered by by the following OpenFn jobs:
openmrs
adaptor)dhis
adaptor)openmrs
adaptor)ocl
adaptor)dhis
adaptor)See the WF 2 technical diagram for documentation on the specific API endpoints and operations automated in the job code.
In Workflow 2, there is a step to dynamically export mapping specifications from OCL via its API.
Entry triage color
and Final diagnosis
(data that is collected when new OMRS encounters
are created). Contact support@openfn.org for questions or help.