Push OpenEMR data to External FHIR Server

I am using OpenEMR 6.1.0, with MariaDB 10.4.
I am able to add a new patient and add relevat clinical data.
I am looking for exporting the patient data to a FHIR server, say “https://hapi.fhir.org/baseR4
I configured FHIR server address as “Site Address Override (if needed for OAuth2, FHIR or CCDA)” in Connectors Tab(under Administration->Global Settings, )
And enabled other checkboxes related to openemr and FHIR rest api.

As a next step, I was looking for “Publish” option in dashboard. It is not displayed in Dashboard tabs.
Please let me know how to publish data to FHIR server ?
Enable Oauth2 password grant is configured as “off”

I am looking for an option to export/publish data to a FHIR server via UI

@Veena_Jayan we don’t have a button from the GUI to push data to another FHIR server. Currently the $export operation is supported in OpenEMR but there is nothing on the GUI that allows you to do this.

If you have development skills or want to contract a developer to do this, you can build your own SMART on FHIR app to accomplish this functionality using either the $export operation or just iterating through all of the OpenEMR supported resources and using HAPI’s POST/PUT operations to export your data.

Thanks @adunsulag .I can explore the proposed option of iterating through the resources and posting to Hapi FHIR server.
I guess the api documentation is available at https://github.com/openemr/openemr/blob/master/FHIR_README.md#bulk-fhir-exports
Let me explore and get back.

@Veena_Jayan I have exported data to FHIR for the one of the client using two way crone job and writing separate API for this to end point and that code doing the authentication into OpenEMR and process FHIR on daily basis

1 Like