Getting active visits using REST

Tags: #<Tag:0x00007f07696b8e98> #<Tag:0x00007f07696b8d08>

I’m trying to get all the active visits and display them in a list similar to: How can I get all the active visits using the REST services? I’m using Ajax.

I believe you need to do:

GET .../visit?patient=(uuid)&includeinactive=false
1 Like


The solution only works with bahmni?


This solution is not Bahmni-specific. It is provided by the OpenMRS web services module.

-Darius (by phone)

1 Like


If GET (with “include” I receive “[]”

but if get (with "Include"it works!

Swagger documentation does not include this parameter. ¿Why?

includeinactive has to be in camel case.

GET …/visit?patient=(uuid)&includeInactive=false

would work

1 Like