Backend Service
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -160,7 +160,9 @@
|
||||
|
||||
function connectLinkID() {
|
||||
var patient_link_id = document.linkform.patient_link_id.value;
|
||||
if (patient_link_id === '' || )) {
|
||||
// alert(patient_link_id);
|
||||
|
||||
if (patient_link_id === '' ) {
|
||||
alert('You must enter valid linkID to continue!');
|
||||
return false;
|
||||
}
|
||||
@@ -177,10 +179,6 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// -->
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user