Trunk3967

I have built a new funciton to search voided patients since old function didn't have the feature for the same.
It's error free as seen but it behaves same as the old function i.e. it doesn't give voided patients. I have included a flag for the same(includeVoided) but still it is not solved.
Kindly look into it and suggest reviews.