OPENMRS - ODKxxxxxx

Hi,

We are trying to interface ODKxxxxxx with OpenMRS to be able to
download patient information and forms, and upload patient data and
forms.

However, we have been unable todate to get any ODK product; ODKclinic,
ODKcollect, or ODKcollect interface with OpenMRS to work. Can someone
please, please, assist us.

Our experience todate:

1: ODKcollect with OpenMRS interface: This product was abandoned in
February 2010 http://code.google.com/p/odk-collect-openmrs/ Could not
find a download for this product. There is a youtube demo of
http://www.youtube.com/watch?v=4JTJ_KM4puQ for ODKcollect with OpenMRS
interface.

2: ODKclinic: This product is used for data delivery from OpenMRS to a
mobile phone. http://code.google.com/p/opendatakit/wiki/ODKClinic “To
this end, Clinic provides patient demographic and encounter history
download.”. There is nothing written about uploading forms. We
downloaded ver 1.0.software and installed on Androids and Google
emulator. Appears as version 0.0.1. Linked to pre-installed url/pw/
user - downloaded 2 cohorts 30s and Pregnant. Selcted Pregnant and
downloaded patients. When we try to access ANY patient with Android or
emulator, program crashes with message, "Application ODK Clinic
(process org.odk.clinic.android) has stopped unexpectedly. Please try
again.We have not been able to get past this point.

3: ODKcollect: This product is represented to deliver forms to
ODKagregate http://opendatakit.org/use/collect/ but there is no
mention of OpenMRS or substituting OpenMRS for ODKagregate. Yaw
confirmed "odk collect v1.1.x can still send xform data to openmrs
through the xforms module", But there is no apparent facility for
directing to OpenMRS. The progam links to a default server with
default user/pw. 1.1.7 will not run on our androids, so installed
1.1.5.We can download 4 forms, complete them and resubmit - but no
reference to patient ID. When we try to change server to OpenMRS, URL
can be accessed but not the user/pw.

We note from your discussion forum that many of these questions have
arisen before - but we are unable to discern what direction to go.

We have not attempted to link to our own OpenMRS servers in order to
avoid introducing red-herrings with OpenMRS versions.

Many thanks in anticipation of your assistance.

Regards
Terry

PS: We are probably doing something silly but it is not so obvious to
us.

hi terry,

my responses are inline.

1: ODKcollect with OpenMRS interface: This product was abandoned in
February 2010 http://code.google.com/p/odk-collect-openmrs/ Could not
find a download for this product. There is a youtube demo of
http://www.youtube.com/watch?v=4JTJ_KM4puQ for ODKcollect with OpenMRS
interface.

this was a student project. when the class was over, we transitioned
the code to odk clinic. it states this on the website. i welcome ideas
on how we can make this clearer...

2: ODKclinic: This product is used for data delivery from OpenMRS to a
mobile phone. http://code.google.com/p/opendatakit/wiki/ODKClinic “To
this end, Clinic provides patient demographic and encounter history
download.”. There is nothing written about uploading forms. We
downloaded ver 1.0.software and installed on Androids and Google
emulator. Appears as version 0.0.1. Linked to pre-installed url/pw/
user - downloaded 2 cohorts 30s and Pregnant. Selcted Pregnant and
downloaded patients. When we try to access ANY patient with Android or
emulator, program crashes with message, "Application ODK Clinic
(process org.odk.clinic.android) has stopped unexpectedly. Please try
again.We have not been able to get past this point.

bug filed at http://code.google.com/p/opendatakit/issues/detail?id=248.
if you can install
https://market.android.com/details?id=org.jtb.alogcat, try again and
attach a crash log to the bug report, it'd be useful.

3: ODKcollect: This product is represented to deliver forms to
ODKagregate http://opendatakit.org/use/collect/ but there is no
mention of OpenMRS or substituting OpenMRS for ODKagregate. Yaw
confirmed "odk collect v1.1.x can still send xform data to openmrs
through the xforms module", But there is no apparent facility for
directing to OpenMRS. The progam links to a default server with
default user/pw. 1.1.7 will not run on our androids, so installed
1.1.5.We can download 4 forms, complete them and resubmit - but no
reference to patient ID. When we try to change server to OpenMRS, URL
can be accessed but not the user/pw.

there is no mention of openmrs support because it's considered third
party. we don't have the cycles to document every potential link from
odk -- especially since our core team didn't write the backend piece.
perhaps you can create a page on the openmrs wiki with this
information?

it's been a year since i looked at the odk 1.1.x connection to
openmrs. i just took a closer look and sam had to make some code
changes to 1.1.4 to make it a bit more openmrs friendly (and he also
added username/password support). you can try the apk and module at
http://code.google.com/p/ampath-odk/downloads/list. can you try that
build quickly? very sorry about the confusion there...

finally, please note that that sam's fork is already out of date. we
are porting those changes over to 1.1.7 because the auth framework
will work much better with openmrs. openmrs support is done an purely
volunteer basis so it will likely take a few weeks before that work is
done. can you let me know what devices you are using? 1.1.7 should run
on every android 1.5 or greater device...