Added Reminder Model and dummy call
This commit is contained in:
@@ -38,10 +38,9 @@ class Patient extends Provider_Controller {
|
||||
$out = array();
|
||||
$ret = $this->mermsemr_api($data, $out);
|
||||
|
||||
if ($ret==0 && $out["member_id"]>0){
|
||||
if ($ret == 0 && $out["member_id"] > 0) {
|
||||
$data["account_message"] = "<span style='color:green; font-size:12px;'>New patient added </span>";
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$data["account_message"] = "<span style='color:red; font-size:12px;'>Error adding new patient </span>";
|
||||
}
|
||||
}
|
||||
@@ -54,23 +53,22 @@ class Patient extends Provider_Controller {
|
||||
$this->renderProviderSecurePage('patient/newpatient', $data);
|
||||
}
|
||||
|
||||
public function selectPatient(){
|
||||
public function selectPatient() {
|
||||
if ($this->uri->segment(3) === FALSE) {
|
||||
$patient_id = 0;
|
||||
} else {
|
||||
$patient_id = $this->uri->segment(3);
|
||||
}
|
||||
|
||||
// echo $patient_id;
|
||||
$this->selectedPatientView($patient_id);
|
||||
// echo $patient_id;
|
||||
$this->selectedPatientView($patient_id);
|
||||
}
|
||||
|
||||
public function findpatient(){
|
||||
$out = array();
|
||||
|
||||
public function findpatient() {
|
||||
$out = array();
|
||||
$out = $this->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('patient/findpatient', $data);
|
||||
|
||||
$this->renderProviderSecurePage('patient/findpatient', $data);
|
||||
}
|
||||
|
||||
public function patientView() {
|
||||
@@ -78,20 +76,19 @@ class Patient extends Provider_Controller {
|
||||
$this->selectedPatientView($data['patient_id']);
|
||||
}
|
||||
|
||||
private function selectedPatientView($patient_id){
|
||||
$data=[];
|
||||
$data['patient_id'] =$patient_id;
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->LoadPatient($_SESSION['practice_id'], $data['patient_id']);
|
||||
private function selectedPatientView($patient_id) {
|
||||
$data = [];
|
||||
$data['patient_id'] = $patient_id;
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->LoadPatient($_SESSION['practice_id'], $data['patient_id']);
|
||||
|
||||
// print_r($out);
|
||||
$data['firstname'] = $out["patient_return"][0]->firstname;
|
||||
$data['lastname'] = $out["patient_return"][0]->lastname;
|
||||
$data['email'] = $out["patient_return"][0]->email;
|
||||
// print_r($out);
|
||||
$data['firstname'] = $out["patient_return"][0]->firstname;
|
||||
$data['lastname'] = $out["patient_return"][0]->lastname;
|
||||
$data['email'] = $out["patient_return"][0]->email;
|
||||
|
||||
$this->renderProviderSecurePage('patient/thispatient', $data);
|
||||
|
||||
}
|
||||
$this->renderProviderSecurePage('patient/thispatient', $data);
|
||||
}
|
||||
|
||||
private function getPatientList() {
|
||||
|
||||
@@ -106,6 +103,38 @@ $data=[];
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function selectPatienFetures() {
|
||||
|
||||
$patient_action = $data['patient_action'] = trim($this->input->get('patient_action'));
|
||||
$data['patient_id'] = trim($this->input->get('patient_id'));
|
||||
|
||||
/*
|
||||
create mode 100644 providerwww/application/views/provider/patient/patientActions/view_chart_action.php
|
||||
create mode 100644 providerwww/application/views/provider/patient/patientActions/view_reminder_action.php
|
||||
create mode 100644 providerwww/application/views/provider/patient/patientActions/view_tracking_action.php
|
||||
*/
|
||||
//SELECT description, start_date,end_date WHERE member_id =1 AND practice_id = 0 AND status = 1 ORDER BY added DESC
|
||||
|
||||
|
||||
|
||||
switch ($patient_action) {
|
||||
case "REMINDERS":
|
||||
//Reminder_model
|
||||
$this->load->model('reminder_model');
|
||||
$out = $this->reminder_model->getPatientReminderList($_SESSION['practice_id'], $data['patient_id']);
|
||||
$data["patient_reminder_list"] = $out["patient_reminder_list"];
|
||||
|
||||
$this->load->view('provider/patient/patientActions/view_reminder_action',$data);
|
||||
break;
|
||||
case "TRACKING":
|
||||
$this->load->view('provider/patient/patientActions/view_tracking_action');
|
||||
break;
|
||||
case "CHARTS":
|
||||
$this->load->view('provider/patient/patientActions/view_chart_action');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public function report() {
|
||||
$data = array();
|
||||
$this->renderProviderSecurePage('patient/patientreport', $data);
|
||||
@@ -133,33 +162,26 @@ $data=[];
|
||||
$this->renderProviderSecurePage('patient/thispatientChart', $data);
|
||||
}
|
||||
}
|
||||
|
||||
public function linkpatient(){
|
||||
// echo 'Ameye';
|
||||
|
||||
|
||||
|
||||
if ($_GET) {
|
||||
|
||||
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['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 $out["message"];
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
echo 'Invalid call...';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,16 +3,17 @@
|
||||
class Chart_model extends CI_Model {
|
||||
|
||||
function __construct() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function getPatientList(){
|
||||
public function getPatientList() {
|
||||
|
||||
$mysql = "SELECT p.practice_id,p.id AS patient_id,p.member_id,p.long_id,m.firstname,m.lastname,m.phone,p.added "
|
||||
." FROM patients p LEFT JOIN members m ON m.id=p.member_id ORDER BY p.added DESC";
|
||||
$query = $this->db->query($mysql);
|
||||
. " FROM patients p LEFT JOIN members m ON m.id=p.member_id ORDER BY p.added DESC";
|
||||
$query = $this->db->query($mysql);
|
||||
$num = $query->num_rows();
|
||||
$data["patient_list"] = $query->result();
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class Reminder_model extends CI_Model {
|
||||
|
||||
function __construct() {
|
||||
|
||||
}
|
||||
|
||||
public function getPatientReminderList($practice_id, $patient_id) {
|
||||
|
||||
$mysql = "SELECT description, start_date,end_date FROM members_reminders WHERE member_id =1 AND practice_id = 0 AND status = 1 ORDER BY added DESC LIMIT 5";
|
||||
$query = $this->db->query($mysql);
|
||||
$num = $query->num_rows();
|
||||
$data["patient_reminder_list"] = $query->result();
|
||||
return $data;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -51,7 +51,7 @@
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gendar</label>
|
||||
<label for="inputPassword4">Gender</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<!-- div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
@@ -74,7 +74,13 @@
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="<?= $password ?>" placeholder="Password">
|
||||
</div>
|
||||
</div -->
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" name ="email" placeholder="Email">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="<?= $street1 ?>" placeholder="1234 Main St">
|
||||
@@ -105,7 +111,7 @@
|
||||
<!-- div class="form-group">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label">
|
||||
<?= $account_message ?>
|
||||
<?= $account_message ?>
|
||||
</label>
|
||||
</div>
|
||||
</!-->
|
||||
@@ -115,7 +121,7 @@
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-primary">Add Patient</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Add Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -148,7 +154,7 @@
|
||||
<div id="link_result">[]</div>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<button type="submit" id="link_submit" class="btn btn-primary btn-block" onclick="return connectLinkID()">Link Patient</button>
|
||||
<button type="submit" id="link_submit" class="btn btn-primary btn-block btn-sm" onclick="return connectLinkID()">Link Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Charts</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
|
||||
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Reminders</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<form method="POST" action="/patient/">
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12">
|
||||
<textarea name="reminder_text" class="form-control" id="remindr_text" placeholder="Reminder Text"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Start Date</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="startdate">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">End Date</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="enddate">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="sel1">Select Reminder:</label>
|
||||
<select class="form-control" id="sel1" name="reminder_type">
|
||||
<option value='0'>Email</option>
|
||||
<option value='1' selected>Email + Notification</option>
|
||||
<option value='2'>Email</option>
|
||||
<option value='3'>SMS Notification</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-sm">Set Reminder</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<hr size="1">
|
||||
|
||||
<ul class="activity">
|
||||
|
||||
<?
|
||||
// print_r($patient_reminder_list[0]);
|
||||
foreach ($patient_reminder_list as $prm) {
|
||||
?>
|
||||
|
||||
<li class="activity-item info">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"><?= $prm->description ?></h5>
|
||||
<span><?= $prm->start_date ?> to <?= $prm->end_date ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Tracking</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!-- end app-header -->
|
||||
<!-- begin app-container -->
|
||||
<input type="hidden" name="patient_id" value="<?=$patient_id?>">
|
||||
<input type="hidden" name="patient_id" value="<?= $patient_id ?>">
|
||||
<div class="app-container">
|
||||
<!-- begin app-nabar -->
|
||||
<aside class="app-navbar">
|
||||
@@ -14,145 +14,154 @@
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="alert border-0 alert-primary bg-gradient m-b-30 alert-dismissible fade show border-radius-none" role="alert">
|
||||
RECORD: <strong><?=$firstname?> <?=$lastname?> </strong> some other small info like phone number
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
<div class="col-md-12">
|
||||
<div class="alert border-0 alert-primary bg-gradient m-b-30 alert-dismissible fade show border-radius-none" role="alert">
|
||||
RECORD: <strong><?= $firstname ?> <?= $lastname ?> </strong> some other small info like phone number
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
<!-- begin row -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
||||
|
||||
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
|
||||
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title"><?=$firstname?> <?=$lastname?></h4>
|
||||
<h4 class="card-title"><?= $firstname ?> <?= $lastname ?></h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<!-- a class="btn btn-round btn-inverse-primary btn-xs" href="#">View all </a -->
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'REMIDERS');" class="btn btn-primary btn-sm">Reminders</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'TRACKING');" class="btn btn-outline-primary btn-sm">Tracking</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'CHARTS');" class="btn btn-info btn-sm">Charts</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'REMINDERS');" class="btn btn-primary btn-sm">Reminders</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'TRACKING');" class="btn btn-outline-primary btn-sm">Tracking</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'CHARTS');" class="btn btn-info btn-sm">Charts</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="/patient/updatepatient">
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="/patient/updatepatient">
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Firstname</label>
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" value="<?= $firstname ?>" placeholder="Firstname">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Lastname</label>
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" value="<?= $lastname ?>" placeholder="Lastname">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Firstname</label>
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" value="<?= $firstname ?>" placeholder="Firstname">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">DOB</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gendar</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
<option value="M">Male</option>
|
||||
<option value="F">Female</option>
|
||||
<option value="U">Unknown</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Lastname</label>
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" value="<?= $lastname ?>" placeholder="Lastname">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="" placeholder="Password">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">DOB</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress2">Address 2</label>
|
||||
<input type="text" class="form-control" id="street2" name="street2" value="" placeholder="Apartment, studio, or floor">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputCity">City</label>
|
||||
<input type="text" class="form-control" id="city" name="city" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="inputState">State</label>
|
||||
<select id="inputState" class="form-control" name="state">
|
||||
<option selected>Select State</option>
|
||||
<option value="OGUN">Ogun</option>
|
||||
<option value="OYO">Oyo</option>
|
||||
<option value="OSUN" selected>Osun</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputZip">Zip</label>
|
||||
<input type="text" class="form-control" id="zipcode" name="zipcode" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-9">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gender</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
<option value="M">Male</option>
|
||||
<option value="F">Female</option>
|
||||
<option value="U">Unknown</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-danger btn-block">Update</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="" placeholder="Password">
|
||||
</div>
|
||||
</div -->
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress2">Address 2</label>
|
||||
<input type="text" class="form-control" id="street2" name="street2" value="" placeholder="Apartment, studio, or floor">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputCity">City</label>
|
||||
<input type="text" class="form-control" id="city" name="city" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="inputState">State</label>
|
||||
<select id="inputState" class="form-control" name="state">
|
||||
<option selected>Select State</option>
|
||||
<option value="OGUN">Ogun</option>
|
||||
<option value="OYO">Oyo</option>
|
||||
<option value="OSUN" selected>Osun</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputZip">Zip</label>
|
||||
<input type="text" class="form-control" id="zipcode" name="zipcode" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-9">
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-danger btn-block btn-sm">Update</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
||||
|
||||
<div id="action_detail">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div id="action_detail">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- div class="card card-statistics h-100 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Reminders</h4>
|
||||
@@ -229,18 +238,18 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</!-- -->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card card-statistics h-30 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
@@ -284,15 +293,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card card-statistics h-50 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Recent Encounters</h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/chart/<?=$patient_id?>">Encounters</a>
|
||||
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/chart/<?= $patient_id ?>">Encounters</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -343,9 +352,9 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -401,16 +410,16 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function selectPatienFetures(patient_id,patient_action) {
|
||||
// alert(pending_practice_id);
|
||||
|
||||
function selectPatienFetures(patient_id, patient_action) {
|
||||
// alert(pending_practice_id);
|
||||
|
||||
$('#action_detail').html('Processing...');
|
||||
// $('#acc' + pending_practice_id).prop('disabled', true);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/practice/selectPatienFetures?proc=PROCESS&patient_id=" + patient_id + "&patient_action=" +patient_action
|
||||
url: "/patient/selectPatienFetures?proc=PROCESS&patient_id=" + patient_id + "&patient_action=" + patient_action
|
||||
}).done(function (data) {
|
||||
$('#action_detail').html(data);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', false);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user