Dear all,

We're running a clinical trial in South Africa, using SMS to support
patients with hypertension. The study is using bi-directional SMS to remind
patients of their appointment days and if needs be, change their
appointment date via SMS.

We've engaged a SMS gateway that can callback a URL on our server when an
incoming SMS is received. What I want to know is how to extend the REST
module to handle an incoming json call from a 3rd party.

Something along the lines of
http://ourserver/openmrs/moduleServlet/restmodule/json/obs?pCellNo=patientCellNo&sText=smsText

We'd then search our database to find the patient and then proceed along a
communication protocol as needs be (flagging them, sending them a reply SMS
etc.)

Any tips, hints or insights you could offer would be appreciated.

-- 
BEng, DPhil (Oxon)
Wellcome Trust/EPSRC Research Assistant
Institute of Biomedical Engineering, University of Oxford
c/o Dept of Medicine, Old Main Building, Groote Schuur Hospital
T: +27 (0)21 406 6820 F: +27 (0)21 406 6513
C: +27 (0)76 388 2579 S: 'tombombadl'

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to