Backend Service

This commit is contained in:
2019-04-07 22:14:29 +00:00
parent 32fe842765
commit 54980cee87
4 changed files with 70 additions and 11 deletions
@@ -100,20 +100,21 @@ class Patient extends Provider_Controller {
}
public function linkpatient(){
echo 'Ameye';
// echo 'Ameye';
if ($_GET) {
$data['patient_link_id'] = trim($this->input->get('patient_link_id'));
$data['practice_id'] = $_SESSION['practice_id'];
$data['practice_user_id'] = $_SESSION['practice_id'];
$data['practice_user_id'] = $_SESSION['practice_id'];
$data["loc"] = $_SERVER["REMOTE_ADDR"];
$data["action"] = MERMS_PROVIDERS_LINKMEMBER;
$out = array();
$ret = $this->mermsemr_api($data, $out);
$data["account_message"] = "This is the return " . $ret;
echo "Linked Result :";
//$data["account_message"] = "This is the return " . $ret;
echo $out["message"];
}
else
{