judywawira / grandchallenges

shared repo for grand challenges TB shredder project
0 stars 1 forks source link

Get Patrick started on OMRS #2

Open judywawira opened 11 years ago

judywawira commented 11 years ago

aim is to have patrick learn basic elements on OMRS.

  1. Assumes that he has deployed a local instance of OMRS
  2. has mysql workbench installed

Judy will explain the data model, and data capture

judywawira commented 11 years ago

please join the developers and implementers mailing list openmrs.org

judywawira commented 11 years ago

review the Managing forms/ Xforms for OMRS

Getting started on youtube : http://www.youtube.com/watch?v=r7-dVV5K4kI

General OMRS links and university here::: http://www.youtube.com/user/OpenMRS?feature=watch

outcome is to design the sputum form in xforms and JSON

https://wiki.openmrs.org/display/docs/XForms+Module+User+Guide

https://github.com/PIH/openmrs-module-haitimobileclinic-tools/blob/master/openmrs-forms/tb-results.xml

omiltoro commented 11 years ago

Milestones achieved 1.I have joined the developers model 2,Have gone through the several youtube links and openmrs wiki 3, Experimented in creating and designing Xforms on Openmrs( with success though i have few queries )

Next step Complete the Xform design for the sputum form

omiltoro commented 11 years ago

Sample design for labtest https://github.com/omiltoro/Muzima-TB-Mobile-and-Opennmrs-/blob/master/labtbtest.html

omiltoro commented 11 years ago

Milestone The Tb sputum labtest form can be rendered on android device. https://github.com/omiltoro/Tbshredder.git

Next step is to develop the application futher to connect to local server(openmrs)

omiltoro commented 11 years ago

https://github.com/omiltoro/Muzima-TB-Mobile-and-Opennmrs-/blob/master/tbform%20json%20payload%20specification

There are still minor changes before we use the form

omiltoro commented 11 years ago

Tested rest post web service using chrome to post tb data for one observation

and everything works well. Here is the payload:

{ "dataSource": "954b9e59-eba0-4679-afbb-2878580c054d", "discriminator": "encounter", "payload": { "person": { "person.uuid": "269857b6-f0b9-4c93-af4a-f18293679e89" }, "encounter": { "form.uuid": "fe9fc58f-d196-46cb-956d-f46445f558d9", "encounterType.uuid": "bdb58960-4d91-4ca7-a27a-8dabde40ec12", "provider.uuid": "3c023ab8-82ff-11e2-96ef-f0def12f7061", "location.uuid": "e1b1d9eb-69a2-4843-bccc-e73e33c70e4c", "datetime": "2013-06-12 00:00:00" }, "obs": [ { "uuid": "1076AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "type": "coded", "value": "" } ]

omiltoro commented 11 years ago

Form submission can now be done from device to muzima queuedata

https://github.com/omiltoro/Dashboard/blob/master/FormSubmission