public function processDistrict($patientquery, $visitquery, $value, $title = "")
 {
     if ($value != "all") {
         $title .= District::find($value)->district . " District ";
         $patientquery->whereIn('id', PatientReport::where('district', $value)->get()->lists('patient_id') + array('0'));
         $visitquery->whereIn('id', PatientInfo::where('district', $value)->get()->lists('visit_id') + array('0'));
     }
     return array($patientquery, $visitquery, $title);
 }