Backend Service

This commit is contained in:
2019-04-07 19:10:36 +00:00
parent f1a004d2d0
commit 53545a5ae7
5 changed files with 32 additions and 36 deletions
@@ -101,6 +101,29 @@ class Patient extends Provider_Controller {
public function linkpatient(){
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["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 :";
}
else
{
echo 'Invalid call...';
}
}
}