/** * Patient Get Note By Key * * @param: BrightreeID of the Note * */ public function PatientNoteFetchByKey($id) { $client = new SoapClient($this->wsdl, $this->connection); $response = $client->PatientNoteFetchByKey(array('brightreeID' => $id)); $responsearray = json_decode(json_encode($response), true); return $responsearray; }