Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Gsoc Introduction

70 views
Skip to first unread message

dhritiman hazarika

unread,
Mar 9, 2014, 11:38:19 AM3/9/14
to raxa-jss-em...@googlegroups.com
Hello,

My name is Dhritiman Hazarika and I am an Information Technology student from India . I have been following this group as a step for preparing  for this year Gsoc, in which i intent to apply to Raxa. As mentioned as the prerequisites, I have been learning Sencha but I am facing one problem when I am dealing with Openmrs . The rest api doesn't seem to be working in the standalone version. Is it preinstalled in the standalone version ie the rest api or I will have to install the module separately to openmrs. My OS is windows 8.1 pro and I have a running Ubuntu12.04 in Vbox. 

Best,
Dhritiman

ravi garg

unread,
Mar 9, 2014, 12:08:00 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hi Dhritiman,

Check Managing Modules section in the Administration tab of our OpenMRS installation to see if you have the rest module installed or not. I guess its pre-installed in 2.0 but you have to install it in 1.9.7

Regards,
Ravi


--
You received this message because you are subscribed to the Google Groups "Raxa JSS EMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raxa-jss-emr-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ravi Garg
4th Year
MSc (hons) Biological Sciences
B.E (hons) Computer Science and Engineering
BITS Pilani KK Birla Goa Campus

dhritiman hazarika

unread,
Mar 9, 2014, 1:21:38 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hi Ravi,

Thanks for that quick response . I will let you know of any further advancements on my side .

Best,
Dhritiman


On Sunday, 9 March 2014 21:38:00 UTC+5:30, ravi garg wrote:
Hi Dhritiman,

Check Managing Modules section in the Administration tab of our OpenMRS installation to see if you have the rest module installed or not. I guess its pre-installed in 2.0 but you have to install it in 1.9.7

Regards,
Ravi
On Sun, Mar 9, 2014 at 9:08 PM, dhritiman hazarika <dhrit...@gmail.com> wrote:
Hello,

My name is Dhritiman Hazarika and I am an Information Technology student from India . I have been following this group as a step for preparing  for this year Gsoc, in which i intent to apply to Raxa. As mentioned as the prerequisites, I have been learning Sencha but I am facing one problem when I am dealing with Openmrs . The rest api doesn't seem to be working in the standalone version. Is it preinstalled in the standalone version ie the rest api or I will have to install the module separately to openmrs. My OS is windows 8.1 pro and I have a running Ubuntu12.04 in Vbox. 

Best,
Dhritiman

--
You received this message because you are subscribed to the Google Groups "Raxa JSS EMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raxa-jss-emr-developers+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dhritiman hazarika

unread,
Mar 9, 2014, 1:41:07 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hi ravi ,

The module is installed . But this url  " http://localhost:8081/openmrs-standalone/ws/rest/v1/patient " throws an error saying "The Resource Does not Support the Requested Operation" . Shouldn't it give me the patient data . I created a patient actually and its id is 1000U7 . 

Best,
Dhritiman

On Sunday, 9 March 2014 21:38:00 UTC+5:30, ravi garg wrote:
Hi Dhritiman,

Check Managing Modules section in the Administration tab of our OpenMRS installation to see if you have the rest module installed or not. I guess its pre-installed in 2.0 but you have to install it in 1.9.7

Regards,
Ravi
On Sun, Mar 9, 2014 at 9:08 PM, dhritiman hazarika <dhrit...@gmail.com> wrote:
Hello,

My name is Dhritiman Hazarika and I am an Information Technology student from India . I have been following this group as a step for preparing  for this year Gsoc, in which i intent to apply to Raxa. As mentioned as the prerequisites, I have been learning Sencha but I am facing one problem when I am dealing with Openmrs . The rest api doesn't seem to be working in the standalone version. Is it preinstalled in the standalone version ie the rest api or I will have to install the module separately to openmrs. My OS is windows 8.1 pro and I have a running Ubuntu12.04 in Vbox. 

Best,
Dhritiman

--
You received this message because you are subscribed to the Google Groups "Raxa JSS EMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raxa-jss-emr-developers+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

ravi garg

unread,
Mar 9, 2014, 2:04:58 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hey Dhritiman,

Take a look at this [1] . This should help you out. I believe you have to pass the uuid of the patient for that. Also the base page enlist all the Resources which you can call through the API and their respective outputs. Have fun exploring :)

[1] https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources+in+OpenMRS+1.9#RESTWebServiceResourcesinOpenMRS1.9-Patient
[2] https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources+in+OpenMRS+1.9

Regards,
Ravi


To unsubscribe from this group and stop receiving emails from it, send an email to raxa-jss-emr-deve...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dhritiman hazarika

unread,
Mar 9, 2014, 2:18:52 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hi Ravi, 
Thanks for the pointers . I am going through everything I can to get it all sorted out so that I can consume the API and see the workings for myself and hence, draft a strong proposal . 

Passing the UUID gives me the error that " Object with given uuid doesn't exist " :)  Lets see I am hooked to their IRC and till now the problem is not sorted . Some one mentioned it may be a case of the same origin policy too . 

Hey , by the way are you a prospective student or a mentor here ? Just curious to know :) 

Best,
Dhritiman


You received this message because you are subscribed to a topic in the Google Groups "Raxa JSS EMR Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/raxa-jss-emr-developers/OE5gitPqeBg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to raxa-jss-emr-deve...@googlegroups.com.

ravi garg

unread,
Mar 9, 2014, 2:29:32 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hey,

I am also a prospective student :).

The error is correct, I don't think you are passing the correct uuid (I am guessing you are passing the identifier). For the uuid get Navicat explorer or some alternative to explore the database of the openMRS by connecting to the MySQL server . You will get the uuid of the patient from the patient table over there and then have a try. Do let me know if you run into any more problem. Happy to help on boring Sunday night :P

Also what project are you interested in?

Regards,
Ravi

dhritiman hazarika

unread,
Mar 9, 2014, 2:41:13 PM3/9/14
to raxa-jss-em...@googlegroups.com
Hi,

Actually I am interested in more than one of them . Location based treatment , Doctors near me and Health Device communication are the ones . So, I will have to see what interests me more and throws more challenges to me as a programmer this summer . I will fall back on my previous experiences and see what would be the most challenging and satisfying to achieve over the course of the summer . That will come when i sit down and draft a proposal to find a solution to the problem that these ideas pose .
 Of course, I have selected these ideas keeping in mind of my strong points but you see I have not had an opportunity to do bluetooth programming and I guess, the health device communication idea may just give me that challenge . So, yeah lets see .

Ok so what interests you Ravi ? 

Best,
Dhritiman

John Stoecker

unread,
Mar 10, 2014, 3:18:43 AM3/10/14
to raxa-jss-em...@googlegroups.com, raxa-gsoc
Hi Dhritiman,
Great to hear of your interest. Let me know if you run into any more problems.

While you set up OpenMRS, keep in mind that we want to see prototype/demo code/etc up and running or linked in your application. Whether this is OpenMRS REST or just simple php scripts doesn't matter, as long as it showcases your ideas.

dhritiman hazarika

unread,
Mar 10, 2014, 4:18:30 AM3/10/14
to raxa-jss-em...@googlegroups.com
Hi John , 

Thanks for that response . I was late in discovering Raxa but here is my progress so far :

1. Sorted out all problems related to OpenMrs. Their IRC helped a lot. Its up and running. Modules installed, Rest Api is working. 
2. Studied Sencha Touch . Since, i already used Backbone in another project (its an MV* js framework) , so sencha was not very hard. Made a sample hello world app using sencha touch. 
3. Added Rest capabilities to consume sample API on the web. (from the sencha documentation)

Todo for today:
1. Consume the OpenMrs Api. Just to Check it, get acquainted etc. 
2. Maybe use charts to plot data received . 

I have a question John . Does Raxa use Sencha Architect or the Sencha Touch ? Either way, its not a problem with me. And, even though I have not used Architect, it won't take me any time to learn it. Just for now, I am staying away from it and concentrating only on Touch, so that I learn the nuts and bolts of using Sencha and get a feel of it. 

Best,
Dhritiman

John Stoecker

unread,
Mar 10, 2014, 8:08:34 AM3/10/14
to raxa-jss-em...@googlegroups.com, raxa-gsoc
We use Sencha Touch itself -- Architect is just an IDE for creating Touch apps.

dhritiman hazarika

unread,
Mar 12, 2014, 11:32:44 PM3/12/14
to raxa-jss-em...@googlegroups.com
Hi John,

Developed a few Sencha apps like a basic todolist, an xml parser (static xml was used because OpenMrs xml delivered by the rest api was not well formed as of now) and finally an app that takes information from the xml (it can be rest api or a static xml) and store it and display it in a map. This is the link for the last app


I have used a static xml just to show proof of concept , but a rest api providing xml data would be just fine with the app . The code is very dirty and maybe hazardous :) . I have just done it quickly so that i can work on the proposal too , because all i have been doing these days is coding in sencha and using google maps .  

Best,
Dhritiman


Reply all
Reply to author
Forward
0 new messages