Added Reminder Model and dummy call
This commit is contained in:
@@ -38,10 +38,9 @@ class Patient extends Provider_Controller {
|
|||||||
$out = array();
|
$out = array();
|
||||||
$ret = $this->mermsemr_api($data, $out);
|
$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>";
|
$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>";
|
$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);
|
$this->renderProviderSecurePage('patient/newpatient', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function selectPatient(){
|
public function selectPatient() {
|
||||||
if ($this->uri->segment(3) === FALSE) {
|
if ($this->uri->segment(3) === FALSE) {
|
||||||
$patient_id = 0;
|
$patient_id = 0;
|
||||||
} else {
|
} else {
|
||||||
$patient_id = $this->uri->segment(3);
|
$patient_id = $this->uri->segment(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
// echo $patient_id;
|
// echo $patient_id;
|
||||||
$this->selectedPatientView($patient_id);
|
$this->selectedPatientView($patient_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function findpatient(){
|
public function findpatient() {
|
||||||
$out = array();
|
$out = array();
|
||||||
$out = $this->getPatientList();
|
$out = $this->getPatientList();
|
||||||
$data["patient_list"] = $out["patient_list"];
|
$data["patient_list"] = $out["patient_list"];
|
||||||
$this->renderProviderSecurePage('patient/findpatient', $data);
|
$this->renderProviderSecurePage('patient/findpatient', $data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function patientView() {
|
public function patientView() {
|
||||||
@@ -78,20 +76,19 @@ class Patient extends Provider_Controller {
|
|||||||
$this->selectedPatientView($data['patient_id']);
|
$this->selectedPatientView($data['patient_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function selectedPatientView($patient_id){
|
private function selectedPatientView($patient_id) {
|
||||||
$data=[];
|
$data = [];
|
||||||
$data['patient_id'] =$patient_id;
|
$data['patient_id'] = $patient_id;
|
||||||
$this->load->model('patient_model');
|
$this->load->model('patient_model');
|
||||||
$out = $this->patient_model->LoadPatient($_SESSION['practice_id'], $data['patient_id']);
|
$out = $this->patient_model->LoadPatient($_SESSION['practice_id'], $data['patient_id']);
|
||||||
|
|
||||||
// print_r($out);
|
// print_r($out);
|
||||||
$data['firstname'] = $out["patient_return"][0]->firstname;
|
$data['firstname'] = $out["patient_return"][0]->firstname;
|
||||||
$data['lastname'] = $out["patient_return"][0]->lastname;
|
$data['lastname'] = $out["patient_return"][0]->lastname;
|
||||||
$data['email'] = $out["patient_return"][0]->email;
|
$data['email'] = $out["patient_return"][0]->email;
|
||||||
|
|
||||||
$this->renderProviderSecurePage('patient/thispatient', $data);
|
$this->renderProviderSecurePage('patient/thispatient', $data);
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private function getPatientList() {
|
private function getPatientList() {
|
||||||
|
|
||||||
@@ -106,6 +103,38 @@ $data=[];
|
|||||||
return $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() {
|
public function report() {
|
||||||
$data = array();
|
$data = array();
|
||||||
$this->renderProviderSecurePage('patient/patientreport', $data);
|
$this->renderProviderSecurePage('patient/patientreport', $data);
|
||||||
@@ -134,12 +163,12 @@ $data=[];
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function linkpatient(){
|
public function linkpatient() {
|
||||||
// echo 'Ameye';
|
// echo 'Ameye';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($_GET) {
|
if ($_GET) {
|
||||||
$data['patient_link_id'] = trim($this->input->get('patient_link_id'));
|
$data['patient_link_id'] = trim($this->input->get('patient_link_id'));
|
||||||
$data['practice_id'] = $_SESSION['practice_id'];
|
$data['practice_id'] = $_SESSION['practice_id'];
|
||||||
$data['practice_user_id'] = $_SESSION['practice_id'];
|
$data['practice_user_id'] = $_SESSION['practice_id'];
|
||||||
@@ -150,16 +179,9 @@ $data=[];
|
|||||||
$ret = $this->mermsemr_api($data, $out);
|
$ret = $this->mermsemr_api($data, $out);
|
||||||
//$data["account_message"] = "This is the return " . $ret;
|
//$data["account_message"] = "This is the return " . $ret;
|
||||||
echo $out["message"];
|
echo $out["message"];
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
echo 'Invalid call...';
|
echo 'Invalid call...';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,13 +6,14 @@ class Chart_model extends CI_Model {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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 "
|
$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";
|
. " FROM patients p LEFT JOIN members m ON m.id=p.member_id ORDER BY p.added DESC";
|
||||||
$query = $this->db->query($mysql);
|
$query = $this->db->query($mysql);
|
||||||
$num = $query->num_rows();
|
$num = $query->num_rows();
|
||||||
$data["patient_list"] = $query->result();
|
$data["patient_list"] = $query->result();
|
||||||
return $data;
|
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">
|
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<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">
|
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||||
<option selected>Select</option>
|
<option selected>Select</option>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-row">
|
<!-- div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputEmail4">Email</label>
|
<label for="inputEmail4">Email</label>
|
||||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||||
@@ -74,7 +74,13 @@
|
|||||||
<label for="inputPassword4">Password</label>
|
<label for="inputPassword4">Password</label>
|
||||||
<input type="password" class="form-control" id="password" value="<?= $password ?>" placeholder="Password">
|
<input type="password" class="form-control" id="password" value="<?= $password ?>" placeholder="Password">
|
||||||
</div>
|
</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>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputAddress">Address</label>
|
<label for="inputAddress">Address</label>
|
||||||
<input type="text" class="form-control" id="street1" name="street1" value="<?= $street1 ?>" placeholder="1234 Main St">
|
<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-group">
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<label class="form-check-label">
|
<label class="form-check-label">
|
||||||
<?= $account_message ?>
|
<?= $account_message ?>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</!-->
|
</!-->
|
||||||
@@ -115,7 +121,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-3">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@@ -148,7 +154,7 @@
|
|||||||
<div id="link_result">[]</div>
|
<div id="link_result">[]</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</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 -->
|
<!-- end app-header -->
|
||||||
<!-- begin app-container -->
|
<!-- 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">
|
<div class="app-container">
|
||||||
<!-- begin app-nabar -->
|
<!-- begin app-nabar -->
|
||||||
<aside class="app-navbar">
|
<aside class="app-navbar">
|
||||||
@@ -14,13 +14,13 @@
|
|||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<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">
|
<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
|
RECORD: <strong><?= $firstname ?> <?= $lastname ?> </strong> some other small info like phone number
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end row -->
|
<!-- end row -->
|
||||||
<!-- begin row -->
|
<!-- begin row -->
|
||||||
|
|
||||||
|
|
||||||
@@ -29,108 +29,114 @@
|
|||||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
<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-header d-flex justify-content-between">
|
||||||
<div class="card-heading">
|
<div class="card-heading">
|
||||||
<h4 class="card-title"><?=$firstname?> <?=$lastname?></h4>
|
<h4 class="card-title"><?= $firstname ?> <?= $lastname ?></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<!-- a class="btn btn-round btn-inverse-primary btn-xs" href="#">View all </a -->
|
<!-- 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 ?>, '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 ?>, '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 ?>, 'CHARTS');" class="btn btn-info btn-sm">Charts</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<form method="POST" action="/patient/updatepatient">
|
<form method="POST" action="/patient/updatepatient">
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputEmail4">Firstname</label>
|
<label for="inputEmail4">Firstname</label>
|
||||||
<input type="text" class="form-control" id="firstname" name="firstname" value="<?= $firstname ?>" placeholder="Firstname">
|
<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>
|
</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 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>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputEmail4">Email</label>
|
<label for="inputEmail4">DOB</label>
|
||||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||||
</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>
|
||||||
<div class="form-group">
|
<div class="form-group col-md-6">
|
||||||
<label for="inputAddress">Address</label>
|
<label for="inputPassword4">Gender</label>
|
||||||
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
|
||||||
|
<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>
|
||||||
<div class="form-group">
|
</div>
|
||||||
<label for="inputAddress2">Address 2</label>
|
|
||||||
<input type="text" class="form-control" id="street2" name="street2" value="" placeholder="Apartment, studio, or floor">
|
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
<div class="form-row">
|
<div class="form-group col-md-6">
|
||||||
<div class="form-group col-md-6">
|
<label for="inputPassword4">Password</label>
|
||||||
<label for="inputCity">City</label>
|
<input type="password" class="form-control" id="password" value="" placeholder="Password">
|
||||||
<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>
|
||||||
|
</div -->
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-group">
|
||||||
<div class="form-group col-md-9">
|
<label for="inputAddress">Email</label>
|
||||||
|
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
<div class="form-group">
|
||||||
<div class="form-group col-md-3">
|
<label for="inputAddress">Address</label>
|
||||||
<button type="submit" class="btn btn-danger btn-block">Update</button>
|
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
||||||
</div>
|
</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>
|
||||||
|
<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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -148,11 +154,14 @@
|
|||||||
|
|
||||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
<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 id="action_detail">
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="card card-statistics h-100 mb-0">
|
</div>
|
||||||
|
|
||||||
|
<!-- div class="card card-statistics h-100 mb-0">
|
||||||
<div class="card-header d-flex justify-content-between">
|
<div class="card-header d-flex justify-content-between">
|
||||||
<div class="card-heading">
|
<div class="card-heading">
|
||||||
<h4 class="card-title">Reminders</h4>
|
<h4 class="card-title">Reminders</h4>
|
||||||
@@ -229,7 +238,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</!-- -->
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -292,7 +301,7 @@
|
|||||||
<h4 class="card-title">Recent Encounters</h4>
|
<h4 class="card-title">Recent Encounters</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown">
|
<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>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
@@ -401,16 +410,16 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
function selectPatienFetures(patient_id,patient_action) {
|
function selectPatienFetures(patient_id, patient_action) {
|
||||||
// alert(pending_practice_id);
|
// alert(pending_practice_id);
|
||||||
|
|
||||||
$('#action_detail').html('Processing...');
|
$('#action_detail').html('Processing...');
|
||||||
// $('#acc' + pending_practice_id).prop('disabled', true);
|
// $('#acc' + pending_practice_id).prop('disabled', true);
|
||||||
$.ajax({
|
$.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) {
|
}).done(function (data) {
|
||||||
$('#action_detail').html(data);
|
$('#action_detail').html(data);
|
||||||
// $('#acc' + pending_practice_id).prop('disabled', false);
|
// $('#acc' + pending_practice_id).prop('disabled', false);
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user