RESTWS: There should be a way to create a patient in a single call

0 views
Skip to first unread message

Owais Ahmed

unread,
Mar 22, 2013, 10:50:45 AM3/22/13
to d...@openmrs.org
Hi all,

I have been discussing this on an email thread. While implementing RESTWS for our Android client, I found out that to create a Patient, you first have to create a person, retrieve the UUID of newly created person and use it to create new Patient. However, this is not an efficient way as we'll be making 3 server calls. Plus, there are chances that a person with same name, gender, age already exist, which will make it even harder to depict which UUID we need to attach to the next call.

I tried a lot to get this done via a single call but to no avail. If there is a way to do so, please guide me. If there isn't please consider including this feature...

Owais Ahmed

unread,
Mar 22, 2013, 10:53:38 AM3/22/13
to d...@openmrs.org

Darius Jazayeri

unread,
Mar 22, 2013, 11:36:47 AM3/22/13
to dev
Hi Owais,

Please create a ticket for this at https://tickets.openmrs.org.

-Darius


--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/
 
 

Reply all
Reply to author
Forward
0 new messages