";
}
if($hasWriteAccess )
{
$edit_link="";
}
if($hasExecuteAccess)
{
$delete_link="";
}
$emp_code=getTableFieldValue("patient_master","emp_code","id",$row1['doctor_emp_id']);
$space=" ";
$links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link;
$data['rows'][] = array(
'id' => $row1['doctor_id'],
'cell' => array($count++,$row1['doctor_name'],$emp_code, $row1['doctor_desc'], $links));
}
$data['rows'][] = array(
'id' => $row['filterkey'],
'cell' => array('', "", "", '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
);
echo json_encode($data);
?>