-
Notifications
You must be signed in to change notification settings - Fork 1
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
Enable FHIR subscriptions to the HAPI FHIR starter project during deployment #29
Comments
On quick RnD, it seems like we only need to add configurations related to the enabling of subscription in the application.yml file.
|
Please test this locally then write up some documentation on the process you take. |
@rehammuzzamil you can collaborate with @lincmba on the production use case after it is working locally CC @ageryck |
@rehammuzzamil , I believe the rest endpoints for fhir work fine. What we are having trouble with is making the dhis2 fhir adapter work. Documentation can be found here on the readme https://github.com/ITINordic/dhis2-fhir-adapter. Currently the configs are set to point to the demo dhis server https://play.dhis2.org/2.37.3/ and the payload to create the subscription contains a fhir config set to any the fhir serves, I set mine to http://hapi.fhir.org/. We have two problems:
Seeing this is a POC, we are trying to address the second problem before we later make our fhir sites match the public one |
As per our pairing sessions with @lincmba , here are my thoughts:
I will resume R&D on this in the coming week. |
Updates:
To make it work, a quick solution looks like upgrading the library
|
@rehammuzzamil thanks for this feedback. Please go ahead and test the lib upgrade. Let us know incase you need any help. |
During the in-depth Rnd, I have figured out that:
|
Updates:
On the Adapter side:
But this seems to be a vague comment as subscription was already enabled at the time of creation. This requires a bit more debugging.
I will continue debugging and share my updates here. cc : @dubdabasoduba @ageryck |
Problem # 1 has been addressed and now we can create a subscription on HAPI FHIR JPA instance. The work is on local machine for now. |
@rehammuzzamil Please try using this endpoint. It points to the same database but has auth disabled. https://turn-fhir.smartregister.org/fhir/ |
Context
Work to do
The text was updated successfully, but these errors were encountered: