Dear community,
Last year we built a prototype FHIR module to export OpenMRS data as FHIR resources. We demonstrated its use by linking the module to the SMART Pediatric Growth Chart application[1], and showed how the SMART app could obtain OpenMRS data as FHIR resources.
Over the past few months, we've been working on making our prototype production worthy.
To do so, I've done the following,
A) Re-wrote the FHR prototype from scratch
Integreated the FHIR module with the HAPI FHIR Rest Server. This allows us to support FHIR based create, update, delete and search methods in a very standardized manner. It allows developers to focus on the underlying implementation of the resources, while
FHIR HAPI library will be responsible for managing requests, formatting and error management etc.
B) Contributions to HAPI FHIR
We're also happy to say that we've also been able to contribute back to the HAPI FHIR codebase in our own little way.
C) Demonstrated the use of the new FHIR module by once again getting it to interact with the SMART Pediatric Growth chart.
The OpenMRS FHIR SMART demo can be seen at [2]. As you will see, the SMART app displays several interactive charts on weight, height and body mass index for a given patient. It does so by querying the OpenMRS FHIR endpoint to obtain data in FHIR format, and
using this data to popuate itself.
You may also view the same SMART app by accessing it via the OpenMRS patient dashboard, as found on our demo server (You may do so by going to our demo server at [2], and clicking on the view growth chart link found on our patient dashboard) [3]
D) Current tasks
- We are currently exploring how to add oauth support to the FHIR module, and plan to work on it shortly. Stay tuned for more new and iproved updated for our FHIR work!
- Modeling new resources and completing development phases
I would like to thank you Suranga for
your immense support and guidance given to me through the past months and I will need it future as well. Thanks
to Grahame Grieve (For FHIR), James Agnew (For HAPI, and for helping us through so many of our questions) and Josh Mandel (For SMART) .
Thanks a lot for all community members who help in giving their thoughts and ideas on FHIR development.