When I tried: http://localhost:8080/openmrs/ws/rest/v1/person?q=john
it only searched through patients that have a given name "john" . I wanted to also get people with the middle name or last name of "Johnson" Would anybody know how to make the webservices do that? I then tried: http://localhost:8080/openmrs/ws/rest/v1/person?q=john_smith it now searched through patients that have a given name "john" while the middle name or last name is "smith." Is it possible to make this to return a patient named "smith Johnson"? For the identifier I tried: http://localhost:8080/openmrs/ws/rest/v1/person?q=123 I have a patient with an id of "123" but it did not search for it. Would I need to change the q to something else? On Mon, Apr 16, 2012 at 9:39 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) < [email protected]> wrote: > the q parameter will search both name and ID. i would search on id and > then verify that the name returned is the one expected.**** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Jonathan Galingan > *Sent:* Sunday, April 15, 2012 8:46 PM > *To:* [email protected] > *Subject:* [OPENMRS-IMPLEMENTERS] Help with webservices**** > > ** ** > > Hi, I'm trying to replicate the patient search box of OpenMRS in OpenERP > to integrate the two. **** > > ** ** > > Would anybody know how a complete name with identifier could be searched > through the webservices?**** > > > > -- > Jonathan D. Galingan, MD**** > > Project Manager for Computerization**** > > Philippine General Hospital**** > > ** ** > ------------------------------ > > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > **** > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > -- Jonathan D. Galingan, MD Project Manager for Computerization Philippine General Hospital _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

