Closed aleksa-krolls closed 1 year ago
@mtuchi this is the spec for the OpenHIE demo. Please review and discuss with @taylordowns2000 today in standup. Afterwards, please let me know if I can assist and/or if a call would be helpful to discuss. FYI, for additional background reading on HAPI FHIR - check this out: https://hapifhir.io/#:~:text=HAPI%20FHIR%20is%20a%20complete,friendly%20Apache%20Software%20License%202.0.
Background
In 2021, OpenFn configured a demo Instant OpenHIE workflow using OpenFn/microservice that connected with Instant OpenHIE. Read more about it on this repo's README and on Docs: https://docs.openfn.org/documentation/instant-openhie
Now, we want to configure a similar workflow, but to demonstrate Lightning
Request
Please advise if this should go on this repository, if we should transfer it to another.
Deliver a new demo workflow on Lightning (instead of microservice). See this workflow configured on the Lightning project
openhie-2023
.expression
We will need 3 new jobs:
state
For the initial state, use this demo CommCare submission: https://github.com/OpenFn/instant-demo/blob/main/fixtures/commcare_sample.json
For FHIR credentials, use the FHIR demo server: https://hapi.fhir.org/
For DHIS2, use DHIS2 play instance: https://play.dhis2.org/
Output
If this workflow runs successfully, we expect a (1) successful response validating the payload sent to the HAPI FHIR server, and (2) new TrackedEntityInstance created in DHIS2.