You use the
visit resource, with a
patient parameter, like this:
Have you seen the REST API documentation? It's at http://demo.openmrs.org/openmrs/module/webservices/rest/apiDocs.htm (or the equivalent URL on your own server).
For some reason the API docs do not correctly describe the visit resource (e.g. they don't mention the patient or includeInactive parameters). @pascal, are there instructions anywhere that would tell a dev like me how to fix things when I notice missing documentation for REST behavior?