More clarification Needed on Adding Search for Living Patients

AM doing work on this Ticket which requires adding a parameter to include or exclude the dead patients. I would want to know ,which exact rest-call were you currently implementing that included the dead patients. The issue is i want to build the parameter on top of the existing rest call that was being implemented , to avoid placing the parameter(filter) on allPatients()

i have done some work here , but am currently placing the parameter(filter) on allPatients which i want to avoid. refer to REST Search for Alive Patients .cc @ningosi @pascal @darius

How about just adding that parameter to this resource? openmrs/ws/rest/v1/patient?q=searchPhrase

1 Like

so that it becomes somehting like

openmrs/ws/rest/v1/patient?q=searchPhrase&includeDead=true ??

Some body should be able to optionally supply that parameter.

1 Like

Alryt . let me do that