I’m trying to get all the active visits and display them in a list similar to: http://demo.openmrs.org/openmrs/coreapps/activeVisits.page?app=coreapps.activeVisits How can I get all the active visits using the REST services? I’m using Ajax.
I believe you need to do:
The solution only works with bahmni?
This solution is not Bahmni-specific. It is provided by the OpenMRS web services module.
-Darius (by phone)
If GET http://demo.openmrs.org/openmrs/ws/rest/v1/visit?&includeinactive=false (with “include” I receive “”
but if get http://demo.openmrs.org/openmrs/ws/rest/v1/visit?&includeInactive=false (with "Include"it works!
Swagger documentation does not include this parameter. ¿Why?
includeinactive has to be in camel case.