OpenEMR REST API

jitendrasbhati wrote on Wednesday, June 25, 2014:

Hi,

I have created a simple PHR application in android. I want to use OpenEMR in this android app so that I can store data on openemr.

My Query:
[1] How can I use openemr in my android app?
[2] Do I need to use REST API of OpenEMR for the same?
[3] If yes, where can I find sample code and APIs for the same?

fsgl wrote on Wednesday, June 25, 2014:

Wiki article.

jitendrasbhati wrote on Thursday, June 26, 2014:

Thanks fsgl.

The link given by you is of openemr api in php. My app is an android app. I need webservices (REST) api to use openmrs in my android app.

visolveemr wrote on Thursday, June 26, 2014:

Hello

Currently there is no API in OpenEMR to do this. But Certainly this is possible, you can wtite your own API in OpenEMR & call that from your android App with suitable parameters. There is no restriction of the web services you use for this purpose.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com
Demo’s @ ViSolve Demo Library

jitendrasbhati wrote on Friday, June 27, 2014:

Thanks ViSolve. How can I write my won API in OpenEMR? Are there any examples which I can refer?

fsgl wrote on Monday, June 30, 2014:

Found this discussion.