/** * Patient Search * * @param: Patient Info * */ public function PatientSearch($query) { $client = new SoapClient($this->wsdl, $this->connection); $response = $client->PatientSearch($query); $responsearray = json_decode(json_encode($response), true); return $responsearray; }